mcp 2.0.0 renamed McpError to MCPError and replaced the low-level Server decorators with constructor handlers. The three servers had no upper bound, so a fresh uvx install has resolved 2.0.0 since 2026-07-28 and failed to start: fetch and time raise ImportError on the McpError import, git raises AttributeError on server.list_tools(). The floor moves to 1.29.0, the last 1.x release. The previous floors (1.0.0 for git, 1.1.3 for fetch, 1.23.0 for time) resolved versions affected by GHSA-vj7q-gjh5-988w, GHSA-jpw9-pfvf-9f58, and GHSA-hvrp-rf83-w775. Porting to the v2 SDK is tracked separately. Closes #4560 Closes #4570 Closes #4580 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[project]
|
|
name = "mcp-server-time"
|
|
version = "0.6.2"
|
|
description = "A Model Context Protocol server providing tools for time queries and timezone conversions for LLMs"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{ name = "Mariusz 'maledorak' Korzekwa", email = "mariusz@korzekwa.dev" },
|
|
]
|
|
keywords = ["time", "timezone", "mcp", "llm"]
|
|
license = { text = "MIT" }
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
]
|
|
dependencies = [
|
|
"mcp>=1.29.0,<2",
|
|
"pydantic>=2.0.0",
|
|
"tzdata>=2024.2",
|
|
"tzlocal>=5.3.1",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/modelcontextprotocol/servers/tree/main/src/time"
|
|
Issues = "https://github.com/modelcontextprotocol/servers/issues"
|
|
|
|
[project.scripts]
|
|
mcp-server-time = "mcp_server_time:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"freezegun>=1.5.1",
|
|
"pyright>=1.1.389",
|
|
"pytest>=8.3.3",
|
|
"ruff>=0.8.1",
|
|
]
|