Niels Kaspers
81f8301cd2
feat(time): add tool annotations to get_current_time and convert_time ( #3574 ) ( #3581 )
...
feat(time): add tool annotations
Adds MCP ToolAnnotations to both time server tools (get_current_time, convert_time). Both are read-only, non-destructive, idempotent, and closed-world.
Fixes #3574
2026-03-15 08:51:02 -07:00
dependabot[bot]
e3ea3c8b7f
Bump the uv group across 3 directories with 1 update
...
Bumps the uv group with 1 update in the /src/fetch directory: [cryptography](https://github.com/pyca/cryptography ).
Bumps the uv group with 1 update in the /src/git directory: [cryptography](https://github.com/pyca/cryptography ).
Bumps the uv group with 1 update in the /src/time directory: [cryptography](https://github.com/pyca/cryptography ).
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
Updates `cryptography` from 46.0.3 to 46.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.3...46.0.5 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
- dependency-name: cryptography
dependency-version: 46.0.5
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-11 02:51:37 +00:00
Shubham Shukla
26c0d57d57
docs(time): add explicit uvx command to installation section
...
The uv installation section mentioned using uvx but didn't show the
actual command, unlike the PIP section which shows both install and run
commands. This adds the missing `uvx mcp-server-time` command.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-08 22:23:30 -08:00
dependabot[bot]
a1f9dfa470
Bump the uv group across 3 directories with 1 update
...
Bumps the uv group with 1 update in the /src/fetch directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Bumps the uv group with 1 update in the /src/git directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Bumps the uv group with 1 update in the /src/time directory: [python-multipart](https://github.com/Kludex/python-multipart ).
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
Updates `python-multipart` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/Kludex/python-multipart/releases )
- [Changelog](https://github.com/Kludex/python-multipart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kludex/python-multipart/compare/0.0.21...0.0.22 )
---
updated-dependencies:
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
- dependency-name: python-multipart
dependency-version: 0.0.22
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-26 23:57:45 +00:00
dependabot[bot]
b906f726fa
Bump the uv group across 3 directories with 5 updates
...
Bumps the uv group with 5 updates in the /src/fetch directory:
| Package | From | To |
| --- | --- | --- |
| [mcp](https://github.com/modelcontextprotocol/python-sdk ) | `1.2.0` | `1.23.0` |
| [requests](https://github.com/psf/requests ) | `2.32.3` | `2.32.4` |
| [h11](https://github.com/python-hyper/h11 ) | `0.14.0` | `0.16.0` |
| [starlette](https://github.com/Kludex/starlette ) | `0.41.2` | `0.49.1` |
| [urllib3](https://github.com/urllib3/urllib3 ) | `2.2.3` | `2.6.3` |
Bumps the uv group with 3 updates in the /src/git directory: [mcp](https://github.com/modelcontextprotocol/python-sdk ), [h11](https://github.com/python-hyper/h11 ) and [starlette](https://github.com/Kludex/starlette ).
Bumps the uv group with 2 updates in the /src/time directory: [h11](https://github.com/python-hyper/h11 ) and [starlette](https://github.com/Kludex/starlette ).
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `requests` from 2.32.3 to 2.32.4
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `urllib3` from 2.2.3 to 2.6.3
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.3...2.6.3 )
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.2.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.2 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `mcp` from 1.1.0 to 1.23.0
- [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases )
- [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md )
- [Commits](https://github.com/modelcontextprotocol/python-sdk/compare/v1.2.0...v1.23.0 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
Updates `h11` from 0.14.0 to 0.16.0
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
Updates `starlette` from 0.41.3 to 0.49.1
- [Release notes](https://github.com/Kludex/starlette/releases )
- [Changelog](https://github.com/Kludex/starlette/blob/main/docs/release-notes.md )
- [Commits](https://github.com/Kludex/starlette/compare/0.41.2...0.49.1 )
---
updated-dependencies:
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: requests
dependency-version: 2.32.4
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: urllib3
dependency-version: 2.6.3
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: mcp
dependency-version: 1.23.0
dependency-type: direct:production
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: indirect
dependency-group: uv
- dependency-name: starlette
dependency-version: 0.49.1
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-17 18:03:32 +00:00
Koichi ITO
9c9813d9dc
fix(time): Fix McpError constructor usage in time server
...
Fixes CI failures in PR #3220 .
PR #3220 updated `mcp` library from 1.0.0 to 1.23.0, which caused test
failures due to a breaking change in `McpError` constructor API.
The `McpError` constructor now expects an `ErrorData` object instead of
a plain string message. This commit fixes the usage in `get_zoneinfo()`
function to use `ErrorData(code=INVALID_PARAMS, message=...)`.
```console
Error before fix:
AttributeError: 'str' object has no attribute 'message'
```
Also updates `mcp` dependency to >=1.23.0 in pyproject.toml to ensure
compatibility with the new API.
2026-01-17 23:12:04 +09:00
adam jones
d9929014d5
Add mcpName and repository fields for MCP registry ( #3068 )
...
Adds metadata required for registering servers in the MCP registry:
- NPM servers (everything, filesystem, memory, sequentialthinking):
Added mcpName and repository fields to package.json
- PyPI servers (fetch, git, time):
Added mcp-name comment to README.md
Part of #3047
2025-11-26 14:29:36 +00:00
Eugene Mwangi
9758f34d36
chore(uv): Prefer --locked for dependency sync ( #1852 )
...
Adopt uv best practice for dependency synchronization.
[Note]
- (uv sync --frozen) proceeds with an out-dated lockfile.
This could lead to inconsistencies.
[Docs]
See: https://docs.astral.sh/uv/concepts/projects/sync/#locking-and-syncing
2025-11-25 21:36:35 +00:00
adam jones
28427d8cd1
Fix time server to default to UTC when tzinfo is unavailable ( #2738 )
...
When get_localzone_name() returns None, the server now defaults to UTC
instead of raising an error. This makes the server more robust in
environments where the local timezone cannot be determined.
2025-09-22 21:09:58 -07:00
Zehra Nur Olgun
60eb7c28ad
feat: add day of week to time result ( #2580 )
2025-08-22 03:48:39 +01:00
Adam Jones
2b041eef88
time: Add tests for local timezone detection and handling in get_local_tz function
2025-08-01 19:08:14 +01:00
S1M0N38
8c1ed8c07b
Merge branch 'main' into feat-configurable-timezone
2025-07-18 19:09:17 +02:00
Vibor Cipan
b64c0b2926
docs: Adds Zencoder instructions for the Time and git MCP Server ( #2337 )
...
* docs: Adds Zencoder instructions for the Time MCP Server
* docs: Adds Zencoder instructions for the git MCP Server
2025-07-14 13:59:54 +01:00
Frederick Ros
cd88954e18
fix: resolve ZoneInfo error by using IANA-compliant local timezone
...
Replaced local timezone detection using tzinfo string (e.g. "CEST")
with tzlocal.get_localzone_name() to ensure a valid IANA time zone
(e.g. "Europe/Paris") is passed to ZoneInfo. This avoids runtime
errors on macOS and other systems that return non-IANA tz abbreviations.
2025-05-13 18:53:03 +02:00
Ola Hungerford
6c9246468f
Merge pull request #1527 from czy88840616/patch-1
...
Docs: wrap mcpServers config in complete JSON for better IDE support
2025-04-23 08:08:29 -07:00
Harry Chen
0a7c7c18f8
docs: Update server README.md
2025-04-22 12:03:01 +08:00
Burke Holland
090b6b7c1a
Move VS Code below Claude
2025-04-10 12:10:02 -05:00
S1M0N38
f35f57c333
fix: add back the __init__.py in mcp_server_tim
2025-02-20 00:59:00 +01:00
S1M0N38
f3e14698c9
feat: configurable timezone for docker in time server
...
Fixes #639
Add support for configurable timezone in Docker for `time` server.
* Update `src/time/Dockerfile` to include `LOCAL_TIMEZONE` environment variable.
* Set default timezone to "UTC" in `src/time/Dockerfile`.
* Modify `ENTRYPOINT` in `src/time/Dockerfile` to include `--local-timezone` argument.
* Update `src/time/README.md` to include instructions on setting the timezone using `LOCAL_TIMEZONE` environment variable.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/modelcontextprotocol/servers/issues/639?shareId=XXXX-XXXX-XXXX-XXXX ).
2025-02-20 00:51:50 +01:00
Jim Clark
621919a954
Switch to uv-less final stages
2024-12-19 17:13:21 -08:00
colinmcneil
49044156e3
Update readmes to use new mcp namespace
2024-12-19 13:11:36 -08:00
Jim Clark
368e3b23ca
Add Dockerfiles for the 17 sample MCP servers
...
* add Dockerfiles and update README.md definitions
2024-12-19 13:11:34 -08:00
David Soria Parra
e7e1c85058
python servers 0.6.2
2024-12-04 15:57:31 +00:00
David Soria Parra
2578d6f668
python servers 0.6.1
2024-11-29 18:00:23 +00:00
David Soria Parra
f86486984c
python servers 0.6.0
2024-11-29 17:54:40 +00:00
David Soria Parra
bccd33f7a1
fix time server
2024-11-29 11:29:23 +00:00
Mariusz Korzekwa
d37ce3cc51
Fix uv lock for time-server, update Readme
2024-11-28 22:18:40 +01:00
Mariusz Korzekwa
774cd0bd8e
Add time server tests
2024-11-28 22:12:09 +01:00
Mariusz Korzekwa
740b744ea8
Clean time server implementation
2024-11-28 22:12:09 +01:00
Mariusz Korzekwa
122ca1aaa5
Update pyproject of time server, remove time server temporary files
2024-11-28 22:12:09 +01:00
Mariusz Korzekwa
b7ca691573
Add initial time server
2024-11-28 22:12:09 +01:00