Does debsecan-mcp work with the mcp 2.x SDK?
No: debsecan-mcp 0.1.5 failed at startup with the mcp 2.x Python SDK in our 2026-11-12 UTC retest, with No module named 'mcp.server.fastmcp' (SDK 2.x retest results). With mcp<2 pinned, the same version started and listed 2 tools, so the break is the SDK change, not the package itself. This is the result from that test date; a newer release may already pin or fix it.
Tested 2026-11-12 UTC
Evidence
- Error with mcp 2.x (verbatim excerpt) (2026-11-12 UTC):
initialize: eof | stderr: ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer (from mcp.server.mcpserver import MCPServer) and other APIs changed; see the migration guide at https://py.sdk.modelcontextpr - Version tested (2026-11-12 UTC):
debsecan-mcp0.1.5 (PyPI) - Retest with mcp<2 pinned (2026-11-12 UTC):
uvx --python 3.12 --with mcp<2 --from debsecan-mcp==0.1.5 debsecan-mcp: starts, 2 tools listed - PyPI downloads, last 30 days (as of the retest list) (2026-11-12 UTC): 103,313
Related
mcp Python SDK 2.x errors · MCP troubleshooting · All answers