Repository navigation
mcp-pdb 0.8.0
Ports the server to mcp 2.x (mcp>=2.3.0,<3). This fixes fresh installs, which broke when mcp 2.0 removed mcp.server.fastmcp. Use 0.7.0 if you need mcp 1.x.
Highlights
interruptnow works during a longcontinue: it skips the session lock, so the waitingcreturns where the program stopped.- Concurrent tool calls are serialised: mcp 2.x runs tools in worker threads, so every tool holds a session lock and pipelined calls behave correctly.
- No duplicated results: results are plain text only, with no
structuredContentcopy. - Tool annotations (read-only/destructive), server
instructions, and the correct server version inserverInfo. MCP_PDB_LOG_LEVELworks again (mcp 2.x had silently overridden logging config).- Python 3.14 fix: interrupts with breakpoints set no longer stop inside
bdb.py.
Maintenance
- Dev dependencies updated (pytest 9.1.1, pyright 1.1.414, ruff 0.17.3); lock refreshed.
- Publish workflow moved to the Node 24 versions of the GitHub Actions.
- Tested on Python 3.10–3.14.
Full details: #11