[CHORE]: data_analysis_server — bump mcp to >=2,<3 and resolve requirements.txt conflict
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
Research direction
Start in mcp-servers/python/data_analysis_server/ by comparing pyproject.toml and requirements.txt, then read the linked MCP SDK v2 migration guide. Review the server's transport call sites and sync handlers for the listed API changes, run all available tests, and confirm CI is green with both dependency constraints aligned to >=2,<3.
Written by the indexing model from the issue text.
Description
Summary
After the server has been moved to this repository (tracked in #25), update mcp-servers/python/data_analysis_server/ to target MCP SDK v2 and resolve the version conflict between pyproject.toml and requirements.txt.
Changes required
1. MCP SDK version bump
# pyproject.toml — Before
mcp>=1.28.1,<2
# pyproject.toml — After
mcp>=2,<3
2. Resolve requirements.txt conflict
requirements.txt currently declares mcp>=2.0.0 while pyproject.toml declares mcp>=1.28.1,<2 — these are contradictory. After the pyproject.toml bump to >=2,<3, align requirements.txt to match:
# requirements.txt — After
mcp>=2,<3
3. API changes required by MCP SDK v2
Per the MCP SDK v2 migration guide:
- Protocol type aliases using camelCase have been removed; use snake_case equivalents.
- Review any transport constructor parameters — these may need to move to
run()/appcall sites. - Validate that sync handler functions do not call
asyncio.get_running_loop().
Acceptance criteria
-
mcpconstraint updated to>=2,<3inpyproject.toml -
requirements.txtaligned withpyproject.toml - All tests pass against MCP SDK v2
- CI green
References
- Depends on: #25 (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
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
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