MCP 1C
MCP server for 1C:Enterprise — AI assistant sees your configuration and generates accurate BSL code. One binary, zero dependencies, 9 tools.
What is MCP 1C?
MCP 1C is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for 1c:enterprise — ai assistant sees your configuration and generates accurate bsl code. one binary, zero dependencies, 9 tools.
MCP server for 1C:Enterprise — AI assistant sees your configuration and generates accurate BSL code. One binary, zero dependencies, 9 tools.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for 1C:Enterprise — AI assistant sees your config
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-1cConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP 1C
MCP 1C is a single-binary MCP server written in Go that gives AI assistants direct access to a 1C:Enterprise configuration, enabling them to read the metadata tree, inspect object and form structures, search BSL source code, execute and validate queries, retrieve event logs, and look up built-in function syntax. Because the server ships as one self-contained binary with zero runtime dependencies, it integrates cleanly into any 1C development workflow without a Node.js or Python runtime on the developer's machine. It is most useful for 1C developers who want Claude or another AI to understand their specific configuration and generate accurate, context-aware BSL code rather than generic examples.
Prerequisites
- A running 1C:Enterprise installation (file-based or client-server mode)
- The mcp-1c binary downloaded from GitHub Releases (Windows, macOS, or Linux)
- A 1C HTTP service endpoint reachable at a known URL (default: http://localhost:8080/hs/mcp-1c)
- An MCP-compatible client such as Claude Desktop or Cursor
Download the mcp-1c binary
Go to the GitHub Releases page for feenlace/mcp-1c and download the pre-built binary for your operating system. No Go installation is required.
# Example for Linux/macOS
curl -L https://github.com/feenlace/mcp-1c/releases/latest/download/mcp-1c-linux-amd64 -o mcp-1c
chmod +x mcp-1cInstall into your 1C configuration (file-based)
Run the --install flag pointing to your 1C infobase path. This registers the HTTP service that the binary will communicate with.
# macOS/Linux file-based infobase
./mcp-1c --install ~/Documents/InfoBase
# Windows file-based infobase
mcp-1c.exe --install "C:\path\to\base"Or install for a client-server infobase
For client-server mode, provide the server path and database credentials.
./mcp-1c --install "srv-1c\buh_prod" --server --db-user Admin --db-password yourpasswordConfigure environment variables (optional)
You can override defaults using environment variables instead of command-line flags. Set MCP_1C_BASE_URL if the HTTP service runs on a non-default address.
export MCP_1C_BASE_URL=http://localhost:8080/hs/mcp-1c
export MCP_1C_USER=ServiceUser
export MCP_1C_PASSWORD=ServicePasswordAdd the server to your MCP client configuration
Register the binary as an MCP server in your client's config file using the absolute path to the binary.
{
"mcpServers": {
"1c": {
"command": "/path/to/mcp-1c",
"args": ["--base", "http://localhost:8080/hs/mcp-1c"]
}
}
}MCP 1C Examples
Client configuration
Minimal MCP client config pointing to the mcp-1c binary with a custom base URL.
{
"mcpServers": {
"1c": {
"command": "/usr/local/bin/mcp-1c",
"args": ["--base", "http://localhost:8080/hs/mcp-1c"],
"env": {
"MCP_1C_USER": "ServiceUser",
"MCP_1C_PASSWORD": "ServicePassword"
}
}
}
}Prompts to try
Example prompts that exercise all nine tools exposed by the server.
- "Show me the full metadata tree of my 1C configuration"
- "What are the attributes and tabular sections of the Catalog.Counterparties object?"
- "Find all places in the code where the StrFind function is used"
- "Show the main form layout for Document.SalesOrder"
- "Execute a SELECT query: SELECT TOP 10 Ref, Description FROM Catalog.Counterparties"
- "Get the last 50 error events from the event log"
- "What is the correct syntax for the Format built-in BSL function?"Troubleshooting MCP 1C
Connection refused to http://localhost:8080/hs/mcp-1c
The 1C:Enterprise HTTP service must be running before the MCP binary can connect. Start your 1C infobase in server mode and verify the HTTP service is published. Use MCP_1C_BASE_URL if the service runs on a different host or port.
MCP_1C_MAX_RESPONSE_SIZE exceeded for large configurations
Set MCP_1C_MAX_RESPONSE_SIZE to a larger value (in MiB) as an environment variable, e.g., export MCP_1C_MAX_RESPONSE_SIZE=512. The default is 128 MiB.
Tool calls time out on slow 1C servers
Increase the request timeout via MCP_1C_REQUEST_TIMEOUT (in seconds). The default is 300 seconds. For very large metadata trees, set it to 600 or higher.
Frequently Asked Questions about MCP 1C
What is MCP 1C?
MCP 1C is a Model Context Protocol (MCP) server that mcp server for 1c:enterprise — ai assistant sees your configuration and generates accurate bsl code. one binary, zero dependencies, 9 tools. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP 1C?
Follow the installation instructions on the MCP 1C GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP 1C?
MCP 1C works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP 1C free to use?
Yes, MCP 1C is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP 1C Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP 1C? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP 1C in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP 1C?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.