1C Templates MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@1C Templates MCP Serverнайди шаблон для модуля печатной формы"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP сервер шаблонов 1С
MCP-сервер для хранения и поиска шаблонов BSL-кода. Управление шаблонами — через веб-интерфейс с BSL Console (подсветка синтаксиса 1С).
Запуск
run.batСкрипт собирает Docker-образ и запускает контейнер с маппингом data/templates/ на хост.
Или вручную:
docker build -t mcp-templates .
docker run -d --name mcp-templates -p 8023:8023 \
-v "$(pwd)/data/templates:/app/data/templates" \
-e TEMPLATES_DIR=/app/data/templates \
--restart unless-stopped mcp-templatesRelated MCP server: 1C_MCP_SERVER_OWN
Веб-интерфейс
Откройте в браузере: http://localhost:8023
Список шаблонов с поиском (по названию, описанию, тегам)
Создание и редактирование шаблонов в BSL Console (подсветка синтаксиса 1С)
Удаление шаблонов
Подключение в Cursor / Claude Code
Сервер использует транспорт Streamable HTTP. В настройках MCP укажите:
{
"mcpServers": {
"1c-templates": {
"type": "streamableHttp",
"url": "http://localhost:8023/mcp"
}
}
}MCP-инструменты
Инструмент | Описание |
| Список всех шаблонов (id, name, description, tags) |
| Полный шаблон с кодом по id |
| Поиск по подстроке в названии, описании и тегах |
Поиск нечёткий: регистр и ё/е игнорируются, для слов длиннее 4 символов работает префиксный поиск (находит падежи).
Пример использования в Cursor
В чате напишите:
Найди шаблон для работы с Excel и вставь код в текущий модуль
Cursor через MCP вызовет search_templates("excel"), получит id шаблона, затем get_template(id) — и вернёт BSL-код.
Хранилище шаблонов
Шаблоны хранятся в data/templates/ (Docker volume, данные сохраняются при пересборке):
index.json— метаданные всех шаблонов (id, name, description, tags)<id>.bsl— BSL-код каждого шаблона
Добавление шаблона вручную
Создайте файл data/templates/my_template.bsl с кодом, а в index.json добавьте запись:
{
"my_template": {
"id": "my_template",
"name": "Мой шаблон",
"description": "Описание",
"tags": ["тег1", "тег2"]
}
}Новые .bsl-файлы без записи в index.json подхватываются автоматически при следующем обращении к списку.
Структура проекта
.
├── Dockerfile
├── run.bat # Сборка и запуск контейнера
├── app/
│ ├── main.py # HTTP-сервер + MCP (stdlib Python, без зависимостей)
│ └── storage.py # CRUD: index.json + .bsl файлы
└── data/
└── templates/ # Шаблоны (volume, ~30 шаблонов в комплекте)
├── index.json
└── *.bslСервер написан на чистом stdlib Python — никакого pip, виртуальных окружений или сторонних пакетов.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceProvides a RAG-based search system for 1C:Enterprise platform documentation using hybrid BM25 and semantic search across multiple versions. It enables developers to retrieve API signatures, methods, and usage examples directly within IDEs or through a REST API.Last updated22MIT
- Flicense-qualityDmaintenanceEnables AI agents to interact with 1C:Enterprise databases through natural language, providing metadata retrieval, configuration analysis, and code generation.Last updated9
- Flicense-qualityDmaintenanceMCP server for semantic search of 1C (BSL) code templates with 2262+ community templates, CRUD web interface, and ChromaDB + embeddings for meaning-based search.Last updated25
- Alicense-qualityAmaintenanceEnables searching through 1C:Enterprise configuration source code (XML+BSL) with full-text indexing, providing tools to find code, metadata objects, procedures, and modules.Last updatedMIT
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alonehobo/1c_templates_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server