| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
mcp 2.0.0 removes mcp.server.fastmcp; the replacement mcp.server.mcpserver.MCPServer has an identical API for this project's usage (tool decorator, instructions, run(transport='stdio')). All 8 tools register and all 67 tests pass against mcp 2.0.0. Require mcp>=2,<3 since the code now uses the v2-only module; keep uv.lock in sync.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: bfc73e28-c69c-4873-81af-fdf6981c5427 📥 CommitsReviewing files that changed from the base of the PR and between c4be16d and e150df6. ⛔ Files ignored due to path filters (1)
📝 Walkthrough WalkthroughThe project now requires MCP v2. The server imports and instantiates MCPServer instead of FastMCP. ChangesMCP v2 migration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #27 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 203 203
=========================================
Hits 203 203 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes the CI failure on #25 (ModuleNotFoundError: No module named 'mcp.server.fastmcp').
Root cause: dependabot PR #25 relaxes the mcp constraint to allow 2.x, and mcp 2.0.0 removes mcp.server.fastmcp — the module this server imports. All four test jobs (3.10–3.13) fail at collection.
Fix: migrate to the v2 API. mcp 2.0.0 replaced FastMCP with mcp.server.mcpserver.MCPServer, whose API is identical for this project's usage:
Verified MCPServer.tool(), MCPServer.run(transport="stdio") and the instructions kwarg have the same signatures in 1.x/2.x.
Changes
Validation
Supersedes #25 (close #25 after merging this).
Summary by CodeRabbit
New Features
Bug Fixes