1C AI Workbench

1C AI Workbench

A local read-only AI workbench for navigating, auditing, and analyzing 1C:Enterprise 8.3 configurations via MCP-compatible clients.

Category
Visit Server

README

1C AI Workbench

release license reuse

Локальный read-only AI workbench для навигации, аудита и анализа конфигураций 1C:Enterprise 8.3 через MCP-совместимые клиенты.

Workbench зеркалирует XML-выгрузку 1С, локально индексирует BSL-код и метаданные, а затем отдаёт структурированные MCP-инструменты в opencode, Cursor, VS Code, desktop MCP client или любой клиент, поддерживающий stdio MCP-серверы.

Prebuilt bsl-indexer.exe публикуется на каждый тег v* в разделе Releases.

Текущий статус

Workbench готов для локального read-only использования.

Метрика Цель Факт
scripts/06_healthcheck.ps1 6/6 Ready 6/6 Ready
python -m pytest -q all green 62/62 passed
scripts/22_run_e2e_smoke.ps1 all green 9/9 PASS
bsl-indexer.exe (Rust) built & in release 25.6 MB

Что решает

Командам 1С часто нужны быстрые ответы на вопросы:

  • где записывается этот регистр;
  • какому объекту принадлежит форма или модуль;
  • какие процедуры экспортирует модуль;
  • какие объекты метаданных дублируются, пустые или подозрительные;
  • что изменилось между двумя выгрузками конфигурации;
  • где разработчику вручную проверить найденное место.

1C AI Workbench даёт внешнему клиенту локальные доказательства, а не заставляет внешний сервис угадывать по обрывкам кода.

Архитектура

XML-выгрузка 1С
  C:\1c-ai-client\dump
        |
        | read-only зеркало
        v
source mirror
  generated\index\source-mirror
        |
        | индексируется bsl-indexer
        v
code-index-mcp
  Rust MCP server + SQLite index
        |
        +--> skills-bridge       Python/FastMCP, read-only 1C skills
        +--> prompt-gallery      Python/FastMCP, callable prompts
        +--> help-index-mcp      Python/FastMCP, local .hbk help search
        +--> ibcmd-bridge        Python/FastMCP, Phase B, disabled by default
        |
        v
MCP client
  opencode / Cursor / VS Code / desktop MCP client

Все дефолтные сценарии работают с экспортированными файлами или с generated mirror. Исходная выгрузка не изменяется, live write path не включается автоматически.

Требования

  • Windows 10/11.
  • PowerShell 5.1+.
  • Rust toolchain с cargo и rustc для сборки bsl-indexer.
  • Python 3.10+ для Python MCP bridges.
  • Файлы выгрузки конфигурации 1С в C:\1c-ai-client\dump.

Зависимости bridge-серверов:

pip install -r tools\skills-bridge\requirements.txt
pip install -r tools\prompt-gallery\requirements.txt
pip install -r tools\ibcmd-bridge\requirements.txt
pip install -r tools\help-index-mcp\requirements.txt

Быстрый старт

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
cd C:\1c-ai-workbench
.\START_HERE.ps1

Ручной путь:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
cd C:\1c-ai-workbench
.\scripts\01_check_env.ps1
.\scripts\02_clone_repos.ps1
.\scripts\03_build_bsl_indexer.ps1
.\scripts\04_index_1c_dump.ps1 -DumpRoot "C:\1c-ai-client\dump" -Force
.\scripts\06_healthcheck.ps1

MCP-серверы

1c-code-index

Основной Rust MCP-сервер. Индексирует и отдаёт BSL/code metadata.

.\tools\code-index-mcp\target\release\bsl-indexer.exe serve --path onec=.\generated\index\source-mirror --transport stdio

1c-skills

Python FastMCP bridge для read-only 1C-specific skills: 16 инструментов (meta_info, form_info, skd_info, role_info, cf_info, и др.).

.\scripts\16_check_skills_bridge.ps1

1c-prompt-gallery

Python FastMCP bridge, публикующий каждый prompts/*.md как callable MCP-инструмент. Публичные prompts: explain-module, find-object, review-bsl, trace-flow.

.\scripts\18_check_prompt_gallery.ps1

1c-help-index

Python FastMCP bridge для локальной справки 1С. Индексирует .hbk файлы из установленной платформы 1С в SQLite FTS5.

1c-ibcmd

Экспериментальный Phase B bridge для утилиты ibcmd. По умолчанию выключен. Write operations заблокированы без IBCMD_ALLOW_WRITE=1 и confirm_replace=true.

.\scripts\17_check_ibcmd_bridge.ps1

Проверка

.\scripts\16_check_skills_bridge.ps1
.\scripts\17_check_ibcmd_bridge.ps1
.\scripts\18_check_prompt_gallery.ps1
.\scripts\06_healthcheck.ps1

Контракт ответа AI

Хороший ответ должен содержать:

  1. короткий вывод;
  2. имя и тип объекта 1С;
  3. путь к файлу внутри generated\index\source-mirror;
  4. модуль, процедуру или функцию, если найдены;
  5. evidence snippet;
  6. уровень уверенности;
  7. шаги ручной проверки в Конфигураторе или EDT.

Демо

.\scripts\11_open_demo_showcase.ps1

Демо-материалы: demo-showcase\index.html, demo-questions\questions_basic.md.

Модель безопасности

  • Дефолтный режим локальный и read-only.
  • Source dump зеркалируется перед индексацией.
  • Generated indexes и logs остаются внутри локальной папки workbench.
  • API keys принадлежат клиенту/оператору и настраиваются ими.
  • Проприетарные бинарники 1С не бандлятся.
  • ibcmd live/write flows выключены по умолчанию.

Лицензии и атрибуция

Репозиторий распространяется под MIT (см. LICENSE). Атрибуция и границы заимствований описаны в docs/legal/BORROWING_MAP.md.

Ключевые источники:

  • cc-1c-skills от Nikolay-Shirokov, MIT
  • BSL Language Server
  • OneScript
  • Vanessa Runner

Commercial

Commercial pilots (premium prompts, golden answers, enterprise playbook, named support) are available from the maintainer. See docs/COMMERCIAL.md or contact the maintainer directly.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured