[CHORE]: url_to_markdown_server — migrate from standalone fastmcp to mcp>=2,<3 MCPServer
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
- backend-api-design, devtools
Research direction
Start in mcp-servers/python/url_to_markdown_server/ and inspect server_fastmcp.py plus pyproject.toml, including the project scripts entry point. Check the existing tests and run the full test suite after migrating the dependency and imports; done means no remaining fastmcp imports, all tests pass against MCP SDK v2, and CI is green.
Written by the indexing model from the issue text.
Description
Summary
After the server has been moved to this repository (tracked in #30), update mcp-servers/python/url_to_markdown_server/ to migrate from the standalone fastmcp package to the MCP SDK v2 MCPServer.
Changes required
1. Dependency swap
# Before
fastmcp>=3.4.4
# After
mcp>=2,<3
2. FastMCP → MCPServer rename
# Before (standalone fastmcp package)
from fastmcp import FastMCP
app = FastMCP('url-to-markdown-server')
# After (MCP SDK v2)
from mcp.server import MCPServer
app = MCPServer('url-to-markdown-server')
Note: If the server uses standalone
fastmcp-specific APIs with no equivalent inmcp.server.MCPServer, document the gap and decide whether to keepfastmcpas an explicit dependency instead.
3. Rename entry-point module (optional)
Consider renaming server_fastmcp.py → server.py and updating pyproject.toml [project.scripts] accordingly.
Acceptance criteria
-
fastmcpdependency replaced withmcp>=2,<3 - No remaining
fastmcpimports - All tests pass against MCP SDK v2
- CI green
References
- Depends on: #30 (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