Skip to main content
Glama
kpkhxlgy0

Unity Debugger Pure MCP

by kpkhxlgy0

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 uvx launcher 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: Watchtower DAP Windows Debugging

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 = false

For 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:package

The 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 initial 0.1.0 listing 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.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    4
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    27
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables 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

View all related MCP servers

Related MCP Connectors

  • The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.

  • Live browser debugging for AI assistants — DOM, console, network via MCP.

  • Agent Replay Debugger MCP — record every agent step + deterministic replay. Step-debugger for

View all MCP Connectors

Latest Blog Posts

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/kpkhxlgy0/unity-debugger-pure-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server