1. Conduid
  2. Finance
  3. 1c Syntax Helper MCP
MCP server · Finance

1c Syntax Helper MCP

MCP сервер для поиска по синтаксису 1С

Unclaimed finance
44Fair

Scored 23 hours ago · breakdown

About 1c Syntax Helper MCP

1c Syntax Helper MCP is an MCP server published by Antonio1C in the Finance category: mCP сервер для поиска по синтаксису 1С.

The repository has 73 stars and 28 forks, with the last commit 6 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/Antonio1C/1c-syntax-helper-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about 1c Syntax Helper MCP

Powered by Claude · Grounded in docs

I know everything about 1c Syntax Helper MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 21 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.

1 check has not been run yet.

README

1C Syntax Helper MCP Server

MCP-сервер для быстрого поиска по синтаксису 1С, предоставляющий ИИ-агентам в VS Code доступ к общей документации платформы 1С:Предприятие через централизованный сервис.

📚 Документация

🚀 Быстрый старт (локальная разработка)

Системные требования

  • Windows 10/11 64-bit или Linux
  • Docker Desktop
  • 7-Zip для локального запуска Python-приложения вне Docker (в Docker-образе он уже установлен)
  • 4+ ГБ RAM
  • VS Code (опционально)

Развертывание для локального тестирования

# 1. Клонировать проект
git clone https://github.com/Antonio1C/1c-syntax-helper-mcp.git
cd 1c-syntax-helper-mcp

# 2. Скопировать shcntx_ru.hbk из установленной справки 1С
Copy-Item "C:\path\to\shcntx_ru.hbk" ".\data\hbk\shcntx_ru.hbk"

# 3. Запустить контейнеры
docker compose up -d

# 4. Проверить доступность
Invoke-RestMethod -Uri "http://localhost:8000/health"

Файл shcntx_ru.hbk не входит в репозиторий. Для Linux используйте cp /path/to/shcntx_ru.hbk data/hbk/shcntx_ru.hbk.

Для развертывания на сервер

📖 Полная инструкция: DEPLOYMENT_GUIDE.md

Краткий алгоритм:

  1. Для Windows 10/11 (AMD64) и Linux Server (AMD64)
    docker build -t help1c-mcp:amd64 .
    docker save help1c-mcp:amd64 -o help1c-mcp-amd64.tar
    

Для Windows 10/11 используйте Docker Desktop с Linux containers.

На целевой машине загрузите архив через docker load.


2. **Для Linux Server (ARM64)**
```powershell
docker buildx build --platform linux/arm64 -t help1c-mcp:arm64 -o type=docker .
docker save help1c-mcp:arm64 -o help1c-mcp-arm64.tar
# Скопировать .tar файл на сервер и загрузить через docker load

Настройка VS Code для подключения к серверу

Создайте файл .vscode/mcp.json в проекте и добавьте HTTP-конфигурацию:

{
  "servers": {
    "mcp-helper1c-http": {
      "url": "http://SERVER_IP:8000/mcp",
      "type": "http"
    }
  },
  "inputs": []
}

Замените SERVER_IP на IP-адрес сервера (например, 192.168.1.100). Для локального тестирования укажите localhost.

🔧 Основные возможности

  • Поиск глобальных функций: СтрДлина, ЧислоПрописью
  • Поиск методов объектов: ТаблицаЗначений.Добавить
  • Поиск свойств: ТаблицаЗначений.Колонки
  • Информация об объектах: получение всех методов/свойств/событий
  • Фоновая индексация: автоматическая индексация при первом запуске
  • Принудительная переиндексация: через параметр --reindex или API
  • Поддержка нескольких архитектур: AMD64 (Windows/Linux) и ARM64 (Raspberry Pi, Apple Silicon)

🔄 Переиндексация

Быстрый запуск с переиндексацией

# Windows (bat)
start_mcp_server.bat --reindex

# Windows (PowerShell)
.\start_mcp_server.ps1 --reindex

# Или через переменную окружения в .env
REINDEX_ON_STARTUP=true

Подробнее: REINDEX_GUIDE.md

🛠️ Разработка

Требования

  • Docker Engine 20.0+
  • Docker Compose 2.0+
  • Python 3.14+ (для разработки)

Локальная разработка

# Windows PowerShell
python -m venv .venv
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt

# Запустить в режиме разработки
python -m uvicorn src.main:app --reload --host 0.0.0.0 --port 8000

Для Linux используйте отдельный набор команд:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python -m uvicorn src.main:app --reload --host 0.0.0.0 --port 8000

Тестирование

# Запустить тесты
python -m pytest tests/ -v

# Проверить покрытие
python -m pytest tests/ --cov=src --cov-report=html

🔄 Обновление документации

Документация обновляется при необходимости:

# 1. Остановить сервисы
docker compose down

# 2. Заменить HBK-файл (сохраните обязательное имя)
Copy-Item "C:\path\to\shcntx_ru.hbk" "data\hbk\shcntx_ru.hbk"

# 3. Запустить и переиндексировать
docker compose up -d
Invoke-RestMethod -Uri "http://localhost:8000/index/rebuild" -Method Post

Подробнее: DEPLOYMENT_GUIDE.md

📋 MCP Protocol

Сервер реализует Model Context Protocol 2025-06-18 со следующими tools:

  • find_1c_help - поиск справки по элементам 1С
  • get_syntax_info - полная информация об элементе и его синтаксисе
  • get_quick_reference - краткая справка об элементе
  • search_by_context - поиск с фильтром по контексту
  • list_object_members - список элементов объекта

⚡ Performance

  • Время отклика поиска: < 500ms
  • Поддержка 8 одновременных пользователей
  • Размер индекса: ~32MB (80% от 40MB .hbk файла)
  • Потребление памяти: ~2GB (1GB ES + 1GB MCP сервер)

🐛 Поддержка

При возникновении проблем:

  1. Проверить логи: docker compose logs mcp-server
  2. Проверить статус Elasticsearch: Invoke-RestMethod -Uri "http://localhost:9200/_cluster/health"
  3. Проверить статус индексации: Invoke-RestMethod -Uri "http://localhost:8000/index/status"

Подробнее: DEPLOYMENT_GUIDE.md

📄 Лицензия

MIT License


Разработано для работы с документацией 1С:Предприятие 8.3.24+

README fetched from the repository 21 hours ago. The original is authoritative.

Questions

About 1c Syntax Helper MCP

How do I install 1c Syntax Helper MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is 1c Syntax Helper MCP safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). It passes 3 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is 1c Syntax Helper MCP still maintained?

Yes — the last commit was 6 days ago. The repository has 73 stars and 28 forks and 4 open issues.