hostproto-dap-debugpy
Provides debugging for Python programs through a debugpy session, including launching a Python program, setting breakpoints, stepping, continuing, pausing, evaluating expressions, and inspecting frames, scopes, and variables.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hostproto-dap-debugpyStart a debug session for main.py and pause at the first line."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hostproto-dap-debugpy
The HostProto DAP adapter (hostproto-semantics plan, step 5): a debugpy
session exposed through MCP 2026-07-28, pinned. Semantics come from
hostproto-semantics,
the same eleven bundles the browser adapter pins; this repository owns only
the DAP client, the thread/target registry, validation, and its own tests.
It is the runtime the step-3 spike (docs/DAP_SPIKE.md) asked for. Since
hostproto-semantics ADR-0012 it is a binding: src/binding.ts supplies
how debugpy is started and what its launch says;
hostproto-dap-core
(pinned by commit) computes every HostProto semantic and serves MCP.
What it does
MCP surface | HostProto object |
|
|
|
|
|
|
| host-side wait: |
|
|
|
|
| subscribable state; the evidence log |
Frames, scopes and variables are target-ref/v1 scoped to the revision they
were observed at. A variablesReference from before a resume is refused as
target_invalidated with host_invoked: false before anything is sent
— the rule step 3 asked step 5 to prove on a real debugger. Frames while
running are omitted, not lost: bounded.omitted counts them, lossy
stays false, a deviation says why.
A runInTerminal reverse request is a host request behind a decision token,
the same shape as a browser script dialog: handles come back first
(creating), the client observes host_requests, resolves with
allow | deny, and the entry stop follows.
Related MCP server: vibe-debug
Run
npm ci
python3 -m venv .venv && .venv/bin/pip install debugpy==1.8.21 # or HOSTPROTO_PYTHON=/path/to/python with debugpy
npm test # real client ↔ real server over stdio ↔ real debugpy ↔ real Python
npm start # stdio serverThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to perform interactive Python debugging with breakpoints, step execution, and variable inspection using the Debug Adapter Protocol (DAP) through an MCP server interface.81MIT
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to use a real debugger (Python via debugpy) for launching, attaching, setting breakpoints, stepping through code, inspecting stack frames, and evaluating expressions through MCP tools.27MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to inspect debug state, control execution, and set breakpoints in VS Code by exposing the Debug Adapter Protocol as an MCP server.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceExposes VS Code's Debug Adapter Protocol as MCP tools, enabling AI coding agents to set breakpoints, step through code, inspect variables, and read exceptions in a real debug session.GPL 3.0
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
Agent Replay Debugger MCP — record every agent step + deterministic replay. Step-debugger for
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bayleafwalker/hostproto-dap-debugpy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server