Summary
After the template has been moved to this repository (tracked in #31), update the Python cookiecutter template's default pyproject.toml to target MCP SDK v2 and align its minimum version constraint with the live servers.
Changes required
1. MCP SDK version bump
# Before
mcp>=1.0.0,<2
# After
mcp>=2,<3
The current lower bound (1.0.0) is significantly behind what the live servers use (1.28.1). The bump to >=2,<3 brings the template in line with current practice and eliminates the drift.
2. Dev dependency alignment (optional)
Consider aligning the template's dev dependency pins (pytest, ruff, mypy, black) with the versions used in the live servers, so generated projects start from a current baseline.
3. Template documentation
Update the template README and any scaffold generation instructions to reflect the MCP SDK v2 API — particularly the MCPServer class name and any changed import paths.
Acceptance criteria
References
Summary
After the template has been moved to this repository (tracked in #31), update the Python cookiecutter template's default
pyproject.tomlto target MCP SDK v2 and align its minimum version constraint with the live servers.Changes required
1. MCP SDK version bump
The current lower bound (
1.0.0) is significantly behind what the live servers use (1.28.1). The bump to>=2,<3brings the template in line with current practice and eliminates the drift.2. Dev dependency alignment (optional)
Consider aligning the template's dev dependency pins (pytest, ruff, mypy, black) with the versions used in the live servers, so generated projects start from a current baseline.
3. Template documentation
Update the template README and any scaffold generation instructions to reflect the MCP SDK v2 API — particularly the
MCPServerclass name and any changed import paths.Acceptance criteria
mcpconstraint updated to>=2,<3in templatepyproject.tomlReferences