Unity Debugger Pure MCP
Provides tools for interacting with the Unity Debugger Pure debugger, enabling management of debug sessions, breakpoints, snapshots, threads, stack frames, variables, evaluation, and step control for Unity applications.
Click on "Deploy 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., "@Unity Debugger Pure MCPlist active Unity debug sessions"
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.
Unity Debugger Pure MCP is the independent local MCP companion for
Unity Debugger Pure
0.2.0 and its public debugger API v1. It supports Windows x64, VS Code 1.101
or newer, companion version 0.1.2, and trusted workspaces. Install both VS
Code extensions and keep the matching VS Code window open: the companion
controls only debug sessions owned by that running extension host.
The companion declares kpk.unity-debugger-pure as an extension dependency.
It never imports the debugger repository's internal source and does not bundle
the Unity debugger Adapter or any Mono debugging assembly.
The client paths deliberately use the same Extension Host:
VS Code Agent uses the native provider and bridge direct mode.
Codex uses the pinned
uvxlauncher and bridge registry mode.Claude Code uses the same pinned launcher and bridge registry mode.
Starting a bridge for VS Code Agent does not block an external client. Clients connect to the same companion Host and share its session state, reference generations, breakpoint ownership, and serialized command queue. Prefer only one Agent to issue control mutations at a time so human intent remains clear.
The companion provides 19 tools in these groups:
target and session lifecycle: list, attach, status, and disconnect;
source breakpoints and exception policy;
snapshots, threads, stack frames, scopes, and variables;
safe evaluation and separately authorized explicit evaluation; and
pause, continue, step in/over/out, and normalized event waiting.
Safe evaluation uses the debugger's non-executing inspection context. Explicit
evaluation can execute target code and is accepted only when
allowSideEffects is the literal value true.
The companion sends no telemetry and opens no TCP listener. Its bundled MCP executable connects to the matching VS Code extension host through a capability-protected, current-user named pipe.
VS Code Agent
Install Unity Debugger Pure 0.2.0 and this companion VSIX, then reload the VS
Code window once. The native MCP provider starts the packaged bridge in direct
mode; no MCP configuration or Python installation is required.
Related MCP server: DebugPilot
Codex and Claude Code
External clients require uv and the published Windows launcher package. Installing the VSIX never writes external-client configuration. From a trusted local project, explicitly run one of these Command Palette commands:
Unity Debugger Pure MCP: Configure Codex
Unity Debugger Pure MCP: Configure Claude Code
Each command changes only its selected project's .codex/config.toml or
.mcp.json. Existing compatible entries must be explicitly adopted before the
extension can update or remove them. Conflicting or invalid entries are never
overwritten. Start a new client session after configuring; Claude Code still
shows and owns its normal project trust prompt.
For manual Codex setup, add this project-scoped configuration:
[mcp_servers.unity_debugger_pure]
command = "uvx"
args = [
"--from",
"unity-debugger-pure-mcp==0.1.0",
"unity-debugger-pure-mcp"
]
startup_timeout_sec = 60
tool_timeout_sec = 70
enabled = true
required = falseFor manual Claude Code setup, add this strict project-scoped .mcp.json entry:
{
"mcpServers": {
"unity_debugger_pure": {
"command": "uvx",
"args": [
"--from",
"unity-debugger-pure-mcp==0.1.0",
"unity-debugger-pure-mcp"
],
"env": {}
}
}
}No username, installation directory, environment shim, pipe name, or
capability token belongs in client configuration. The launcher uses the
client's current project directory to select one live, trusted VS Code window.
Start or reload that window before starting the external MCP client. If no
matching Host exists, tools fail closed with BRIDGE_UNAVAILABLE; after a VS
Code reload, the next call reconnects through the refreshed registration.
The earlier global-storage installer design is superseded by this versioned launcher package. The extension does not copy launchers and never edits client configuration unless the user invokes the matching project command and confirms a permitted action.
Local validation
Local Windows x64 builds support Node.js >=26.5.0 <27.0.0 and uv
>=0.12.0 <0.13.0:
npm ci
npm run typecheck
npm test
npm run package
npm run test:packageThe package command creates and audits the companion VSIX, a
py3-none-win_amd64 launcher wheel, and its source distribution. The VSIX
retains a 12-file allowlist and contains no Python launcher; the launcher
artifacts contain no Adapter, Mono runtime, Node bundle, live capability, or
machine-specific path. Each local VSIX records the Node version and SHA-256 of
its own SEA in dist/runtime-inventory.json; local packaging never rewrites
the tracked release inventory.
Public workflows remain pinned to Node.js 26.5.0 and uv 0.12.0. The
companion release additionally requires the freshly generated SEA inventory
to match the reviewed root runtime-inventory.json before uploading an
artifact.
Release channels
VS Code Marketplace: manual upload under
kpk; the initial0.1.0listing exists.Open VSX and companion GitHub Release:
companion-v<version>.PyPI and launcher GitHub Release:
launcher-v<version>.
The two automated release streams rebuild and audit only their own product. GitHub Actions never uploads to the VS Code Marketplace.
This server cannot be deployed
Maintenance
Related MCP Connectors
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables step-through debugging for C#, Node.js/TypeScript, Python, and Dart applications on Windows through a unified MCP interface. Acts as a bridge between MCP clients and various debug adapters, providing consistent debugging workflows with breakpoints, variable inspection, and process attachment capabilities.6 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables 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 gradedqualityAmaintenanceUnity Editor adapter for the DCC MCP ecosystem, providing tools to inspect and modify Unity projects, scenes, builds, and diagnostics through a WebSocket bridge.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for debugging Unity Editor managed code, supporting attach, breakpoints, stepping, call stack inspection, and read-only evaluation.2MIT