What is Mcp 1c?
Mcp 1c is an MCP (Model Context Protocol) server that integrates AI assistants with 1C:Enterprise. It allows AI models to see the metadata of your 1C configuration and generate accurate BSL (1C’s built-in language) code. The server works with any MCP-compatible client, including local models (Ollama, LM Studio), cloud services (Claude, GPT, YandexGPT), and AI-powered IDEs (Cursor, VS Code, JetBrains). It is designed for 1C developers who want to use AI to analyze, query, and modify their live 1C database.
How to use Mcp 1c?
Download the binary for your OS from Releases. Run mcp-1c --install "path-to-base" to automatically set up the required extension in your 1C database. Then start the 1C HTTP service (recommended via Apache/IIS, or use /HTTPPort for quick testing on Windows). Finally, configure your AI client with a JSON block specifying the command and arguments (e.g., --base http://localhost:8080/hs/mcp). The server exposes nine tools for the free version, with fifteen additional tools available in the paid beta.
Key features of Mcp 1c
- One binary, zero dependencies (written in Go).
- 9 tools for live 1C database work.
- Full-text search (smart BM25, regex, exact) with BSL synonym support.
- Sharded indexing (~7 sec for 13,000+ modules) with disk cache.
- Non‑blocking start – server is available immediately.
- Works with any MCP‑compatible client and any AI model.
Use cases of Mcp 1c
- Inspect metadata tree (directories, documents, registers) of your 1C configuration.
- Retrieve object structure (props, tabular sections, dimensions).
- Execute SELECT queries on live data with parameters.
- Search code across all modules with smart ranking or regex.
- Read event log filtered by date, level, and user.
- Get BSL syntax help for built‑in functions and types.
评论