1C Debug MCP Server

An MCP debug server for 1C over the HTTP Debug Protocol: breakpoints, step execution, variables and call stack

MCP server

Medium risk

We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.

Why this level

  • Gives access to variables and code execution inside a debug session on a live or test database
  • Breakpoints can pause work for users on the connected database
All reasons and checks
Russian stack

pavredalex/1c-debug-mcp

Install

Manual install

cd 1c-debug-mcp/go
go build -o dist/1c-debug-mcp.exe ./cmd/1c-debug-mcp/

Builds the Go-based version 2.0; needs Go 1.23+ and Windows to run dbgs.exe.

This is third-party code. Review the repository files before installing.

What it does

The server connects to the 1C:Enterprise dbgs.exe debug server and lets the agent drive debugging: set breakpoints in configuration, extension and external processing modules, step through code, pause execution, read local variables, evaluate BSL expressions at a breakpoint, and inspect the call stack. Module objectID is auto-resolved from metadata by module name, and metadata is cached for a fast start on large configurations. Version 2.0 is rewritten in Go as a single dependency-free binary; the earlier TypeScript version is still in the repository.

Who it is for. For 1C developers who want an agent to set breakpoints and dig into failures itself instead of manual work in the debugger.

Good fit when

  • You want the agent to reproduce a 1C bug through step debugging, not just code reading
  • You work in Kiro or another client with stdio MCP support on Windows
  • You need fast attach on large configurations thanks to metadata caching

Not a fit when

  • The dbgs.exe debug server is unavailable or debugging is against policy on this database
  • You need cross-platform config without Windows-specific paths
  • The agent must not be allowed to read variable values from a live session

Example request

Set a breakpoint in the Order document posting module and show the variable values when it stops

Limitations

It needs a running 1C debug server (dbgs.exe) and 1C:Enterprise 8.3. Building from source needs Go 1.23+, and the example configs use Windows-style paths. Global and local env blocks in Kiro config do not merge, so parameters must be duplicated in the local file.

How to disable. Disable the 1c-debug server in the client's MCP Servers panel, or remove its block from .kiro/settings/mcp.json.

MCP

Transport
stdio
Authentication
not required
Environment variables
Environment variables
ONEC_DEBUG_URL
required
1C dbgs.exe debug server URL
ONEC_INFOBASE_ALIAS
required
Infobase alias for the debug connection
ONEC_DEBUG_PASSWORD
secret
Debug server password, if one is set
ONEC_CF_PATH
Path to the exported configuration for module mapping

Security check

  • Gives access to variables and code execution inside a debug session on a live or test database
  • Breakpoints can pause work for users on the connected database

README in short

The Russian README describes the Go-based version 2.0: connecting to dbgs.exe, breakpoints, objectID auto-resolution, metadata caching, step execution and expression evaluation. It gives a table of ONEC_* config parameters for .kiro/settings/mcp.json and lists tools such as attach, detach, force_detach, get_targets and set_breakpoints with example parameters and responses. It also points to separate ARCHITECTURE, CACHE, PERFORMANCE and FAQ documents.

FAQ

Do I need Node.js for version 2.0?

No, version 2.0 is rewritten in Go and builds into a single dependency-free binary.

What if I hit an ibInDebug error or a stuck session?

Call the force_detach tool, which forcibly stops the ping loop and clears the session.

Editors’ pick

A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review

PluginMedium riskNo VPN needed292.5KRepository stars
Editors’ pick

Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture

SkillLow risk271.4KRepository stars
Editors’ pick

GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation

CLIMedium riskNo VPN needed139.3KRepository stars

Reference MCP servers

Model Context Protocol servers

Official

Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything

MCP serverMedium risk90.6KRepository stars
Foxx AI1C Debug MCP Server

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.