[CHORE]: Python server template — bump mcp to >=2,<3 and align minimum with live servers
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- developer-experience, documentation
Research direction
Start with the Python cookiecutter template's default pyproject.toml and locate the MCP dependency constraint. Review the template README and scaffold generation instructions for SDK v2 API references, including MCPServer and changed imports. Generate a project, verify the v2 patterns and dependency constraint, then run the repository CI checks.
Written by the indexing model from the issue text.
Description
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
-
mcpconstraint updated to>=2,<3in templatepyproject.toml - Generated project uses SDK v2 API patterns
- Template README reflects v2 usage
- CI green
References
- Depends on: #31 (move issue)
- MCP SDK v2 migration epic: IBM/mcp-context-forge#6218
- Step 10 (mcp-servers update): IBM/mcp-context-forge#6228
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- Avg merge
- 4h 29m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IBM/contextforge-examples
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
IBM/contextforge-examples#29 ·
-
security
Difficulty 3/5 1-2 days Newbie friendliness 62/100
IBM/contextforge-examples#39 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
IBM/contextforge-examples#37 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
IBM/contextforge-examples#38 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
IBM/contextforge-examples#32 ·
All issues in IBM/contextforge-examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100