Bsl Platform Context

Developer tools

MCP сервер для AI-ассистентов (справка по синтаксису и объектной модели 1С:Предприятие).

Your AI app calls the Bsl Platform Context MCP server, which does the developer tools work and sends the result back to the chat.

About Bsl Platform Context

Bsl Platform Context is a community MCP server from alkoleft, filed in our directory under developer tools. MCP сервер для AI-ассистентов (справка по синтаксису и объектной модели 1С:Предприятие).

The README for Bsl Platform Context lists tools such as search and info, which your AI app can call once the server is connected.

At a glance

Publisher
alkoleft (community)
Runs
See the README for setup
Written in
Kotlin
License
MIT
GitHub stars
216

Tools Bsl Platform Context gives your AI app

  • searchПоиск по API платформы 1С Предприятие.
  • infoПолучение детальной информации об элементе API.

Tool names as the Bsl Platform Context README lists them. Your AI app shows the live list once Bsl Platform Context is connected.

How to set up Bsl Platform Context

  1. Follow the install steps in the Bsl Platform Context README; it is written in Kotlin, so have that toolchain ready.
  2. Check the Bsl Platform Context README for keys or settings; the registry lists none that Bsl Platform Context requires.
  3. Add Bsl Platform Context to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Bsl Platform Context tools to confirm the connection.
  5. Run one read-only task with Bsl Platform Context first, such as a call to search, before you allow anything that writes or sends.

Bsl Platform Context compared with similar servers

  • Agent Vscreen by kilolonion has fewer GitHub stars than Bsl Platform Context (215 against 216); both are community servers, and both run locally.
  • Opennutrition by deadletterq has more GitHub stars than Bsl Platform Context (217 against 216); both are community servers, and both run locally.
  • Dsh Nekowhale Stickers by Loping151 has fewer GitHub stars than Bsl Platform Context (215 against 216); both are community servers, and both run locally.

Before you connect Bsl Platform Context

  • Give Bsl Platform Context its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Bsl Platform Context tool call until you trust what it does with them.
  • Treat text that Bsl Platform Context fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Bsl Platform Context on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Bsl Platform Context

How marketing and sales teams put Bsl Platform Context to work, by company size. Pick the size closest to yours and start Bsl Platform Context on one use case.

Small business

  • A small business with a developer can use Bsl Platform Context to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Bsl Platform Context to explain and fix a marketing site issue without context switching between tools.
  • Bsl Platform Context runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Bsl Platform Context to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Bsl Platform Context to keep scripts and automations documented and versioned as they change.
  • Start with search and info, the tools Bsl Platform Context lists first, and add more once the team trusts the results.

Enterprise

  • Enterprise engineering teams can roll out Bsl Platform Context with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Bsl Platform Context so web and marketing engineering share one reviewed way of working with AI.
  • Bsl Platform Context is a community server, so have security review the code and pin a version before Bsl Platform Context touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Bsl Platform Context README

From alkoleft/mcp-bsl-platform-context on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCP сервер для AI-ассистентов (справка по синтаксису и объектной модели 1С:Предприятие)

MCP (Model Context Protocol) сервер, это инструмент для интеграции с AI-ассистентами (например, Claude Desktop, Cursor IDE), предоставляющий быстрый и стандартизированный доступ к справочной информации по встроенным функциям, типам данных, методам и свойствам платформы 1С:Предприятие. MCP сервер позволяет AI-ассистентам работать с "Синтаксис-помощником" 1С в интерактивном режиме.

Обзор

Приложение mcp-bsl-context предназначено исключительно для интеграции с AI-ассистентами, чтобы они могли выполнять поиск по справке платформы 1С:Предприятие и получать детальную информацию о встроенных функциях, типах, методах и свойствах (аналогично работе с "Синтаксис-помощником" или официальной документацией 1С).

🤖 Возможности MCP сервера
  • Поиск по справке платформы 1С, нечеткий поиск по встроенным функциям, методам, свойствам и типам данных
  • Детальная справка, получение подробной информации о функциях, методах, свойствах и типах, включая сигнатуры и описания
  • Навигация по объектной модели, просмотр методов и свойств конкретных типов данных
  • Информация о конструкторах, способы создания объектов платформы 1С
  • Интеграция с AI, стандартизированный протокол MCP для взаимодействия с AI-ассистентами
  • Два режима работы, STDIO для локальной разработки и SSE для сетевого доступа

Проект использует Spring Boot и Spring AI для создания MCP сервера на базе Kotlin.

Режимы работы

STDIO режим (по умолчанию)
  • Назначение, локальная интеграция с MCP клиентами
  • Транспорт, стандартный ввод/вывод (stdin/stdout)
  • Применение, Claude Desktop, Cursor IDE, VS Code
  • Преимущества, простота настройки, низкие накладные расходы
SSE режим (Server-Sent Events)
  • Назначение, сетевая интеграция и веб-интерфейс
  • Транспорт, HTTP с Server-Sent Events
  • Применение, веб-клиенты, удаленные подключения, REST API
  • Преимущества, сетевой доступ, встроенный веб-интерфейс, real-time коммуникация

Требования

Системные требования
  • Java: версия 17 или выше
  • Операционная система: Linux, macOS, Windows
  • Память: минимум 512 МБ RAM для работы приложения
  • Место на диске: 100 МБ для установки приложения
Для MCP сервера
  • Платформа 1С Предприятие: версия 8.3.20 или выше (рекомендуется)
  • MCP клиент: Claude Desktop, Cursor IDE или другой совместимый MCP клиент
  • Сетевое подключение: для загрузки зависимостей при первом запуске
Зависимости времени выполнения

Все необходимые зависимости включены в исполняемый JAR-файл:

  • Spring Boot 3.5.0
  • Spring AI 1.0.0
  • Jackson 2.15.2
  • Kotlin Coroutines

Сборка

Проект собирается с помощью Gradle. Для сборки выполните следующую команду в корневой директории проекта:

./gradlew build

После успешной сборки исполняемый JAR-файл будет находиться в директории build/libs/.

Использование

Запуск MCP сервера

Linux

java -jar mcp-bsl-context-<версия>.jar [опции]

Windows

java -Dfile.encoding=UTF-8 -jar mcp-bsl-context-<версия>.jar [опции]

Опции:

  • --platform-path, -p - путь к каталогу установки 1С Предприятия
  • --help, -h - показать справку по использованию
  • --verbose - включить отладочное логирование
  • --mode, -m - режим работы: sse (HTTP Server-Sent Events) или stdio (стандартный ввод/вывод) (по умолчанию stdio)
  • --port - порт для SSE сервера (по умолчанию 8080)

Примеры:

# STDIO режим (по умолчанию)
java -jar mcp-bsl-context-0.3.0.jar --platform-path "/opt/1cv8/x86_64/8.3.25.1257"

# SSE режим (HTTP Server-Sent Events)
java -jar mcp-bsl-context-0.3.0.jar --mode sse --platform-path "/opt/1cv8/x86_64/8.3.25.1257"

# SSE режим с кастомным портом
java -jar mcp-bsl-context-0.3.0.jar --mode sse --port 9000 --platform-path "/opt/1cv8/x86_64/8.3.25.1257"

# Сокращенная форма
java -jar mcp-bsl-context-0.3.0.jar -m stdio -p "/opt/1cv8/x86_64/8.3.25.1257"

# Показать справку
java -jar mcp-bsl-context-0.3.0.jar --help

Примеры запуска в Windows:

# STDIO режим (по умолчанию)
java -Dfile.encoding=UTF-8 -jar mcp-bsl-context-0.3.0.jar --platform-path "C:\Program Files\1cv8\8.3.27.1606"
Возможности MCP сервера
Инструменты (Tools) доступные через MCP:
  • search - поиск по API платформы 1С Предприятие
  • info - получение детальной информации об элементе API
  • getMember - получение информации о методе или свойстве конкретного типа
  • getMembers - получение полного списка всех методов и свойств для указанного типа
  • getConstructors - получение списка конструкторов для указанного типа

Подробная документация по использованию MCP сервера доступна в MCP_SERVER_USAGE.md.

Интеграция с AI клиентами

STDIO режим (по умолчанию)

Для локального использования с AI клиентами через stdin/stdout.

Claude Desktop - добавьте конфигурацию в claude_desktop_config.json:

{
  "mcpServers": {
    "1c-platform": {
      "command": "java",
      "args": [
        "-jar", 
        "/path/to/mcp-bsl-context.jar", 
        "--platform-path", 
        "/opt/1cv8/x86_64/8.3.25.1257"
      ]
    }
  }
}

Пример настройки для работы в Windows

  "mcpServers": {
    "1c-platform": {
      "type": "stdio",
      "command": "java",
      "args": [
        "-Dfile.encoding=UTF-8",
        "-jar",
        "C:\\your_path\\mcp-bsl-context-0.3.0.jar",
        "--platform-path",
        "C:\\Program Files\\1cv8\\8.3.27.1606"
      ],
      "env": {
        "LOG_FILE": "C:\\cmd\\mcp-server.log"
      }
    }
}

Cursor IDE - создайте файл .cursor/mcp.json в корне проекта:

{
  "mcpServers": {
    "1c-platform": {
      "command": "java",
      "args": [
        "-jar", 
        "/path/to/mcp-bsl-context.jar", 
        "--platform-path", 
        "/opt/1cv8/x86_64/8.3.25.1257"
      ]
    }
  }
}

Пример настройки для работы в Windows

  "mcpServers": {
    "1c-platform": {
      "type": "stdio",
      "command": "java",
      "args": [
        "-Dfile.encoding=UTF-8",
        "-jar",
        "C:\\your_path\\mcp-bsl-context-0.3.0.jar",
        "--platform-path",
        "C:\\Program Files\\1cv8\\8.3.27.1606"
      ],
      "env": {
        "LOG_FILE": "C:\\cmd\\mcp-server.log"
      }
    }
}
SSE режим (HTTP Server-Sent Events)

Для сетевого доступа и веб-интерфейса.

Запуск сервера:

java -jar mcp-bsl-context.jar --mode sse --platform-path "/opt/1cv8/x86_64/8.3.25.1257"

Доступные эндпоинты:

  • http://localhost:8080/sse - SSE соединение

Подключение через URL:

{
  "mcpServers": {
    "1c-platform-sse": {
      "url": "http://localhost:8080/mcp/sse"
    }
  }
}

Пример HTTP запроса:

curl -X POST http://localhost:8080/mcp/request \
  -H "Content-Type: application/json" \
  -d '{
    "id": "req-1",
    "method": "search",
    "params": {
      "query": "СтрНайти",
      "type": "method",
      "limit": 5
    }
  }'

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

Алгоритм поиска

Поиск выполняется по принципу нечеткого соответствия с ранжированием:

  1. Точное совпадение (100 баллов) - имя полностью совпадает с запросом
  2. Префиксное совпадение (80 баллов) - имя начинается с запроса
  3. Частичное совпадение (60 баллов) - имя содержит запрос
  4. Совпадение в сигнатуре (40 баллов) - запрос найден в сигнатуре
  5. Совпадение в описании (20 баллов) - запрос найден в описании
  6. Fuzzy matching (0-50 баллов) - на основе расстояния Левенштейна

Зависимости

Основные зависимости проекта:

  • Spring Boot 3.5.0
  • Spring AI MCP Server
  • Kotlin с Coroutines
  • Jackson (для работы с JSON)
  • Logback для логирования

Использованные идеи

Алгоритм чтения справки базируется на идеях bsl-context (от 1c-syntax).

Лицензия

Этот проект распространяется под лицензией MIT. Подробную информацию смотрите в файле LICENSE.

Questions about Bsl Platform Context

What is the Bsl Platform Context MCP server?

MCP сервер для AI-ассистентов (справка по синтаксису и объектной модели 1С:Предприятие). Bsl Platform Context is maintained by alkoleft on GitHub at alkoleft/mcp-bsl-platform-context, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Bsl Platform Context MCP server?

Bsl Platform Context doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (alkoleft/mcp-bsl-platform-context). Like most servers, Bsl Platform Context ends with a command or URL you paste into your AI app's MCP config.

Does Bsl Platform Context need an API key?

The registry lists no required keys for Bsl Platform Context. Check the Bsl Platform Context README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Bsl Platform Context an official MCP server?

No. Bsl Platform Context is a community server maintained by alkoleft. Community servers can be excellent; read the code and the open issues before you give Bsl Platform Context access to company data.

What license is Bsl Platform Context under?

Bsl Platform Context is released under the MIT license, according to its GitHub repository. The license covers the code of Bsl Platform Context; the service it connects to has its own terms.