Back to Directory/Developer Tools

io.github.yellow-hammer/mcp-1c-platform-tools

MCP для команд 1c-platform-tools. Нужно расширение 1c-platform-tools с включённым IPC.

Developer ToolsTypeScriptv0.1.5

1C: Platform Tools MCP

OpenYellow telegram chat Ask Devin

MCP-сервер предоставляет инструменты Model Context Protocol для запуска команд расширения 1c-platform-tools через агентов Cursor/VS Code.

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

  1. Установите расширение 1c-platform-tools и расширение 1C: Platform Tools MCP.
  2. Включите IPC: настройка 1c-platform-tools.ipc.enabled = true.
  3. Откройте проект 1С (папка с packagedef).

В VS Code дополнительная настройка не нужна: расширение само регистрирует MCP. Достаточно установить оба расширения и включить IPC.

В Cursor расширение не может прописать MCP в настройки, поэтому конфиг нужно добавить вручную. Варианты:

  • Кнопка: Add 1C: Platform Tools MCP to Cursor - подставит в mcp.json конфиг как в примере ниже (хост 127.0.0.1, порт 40241, токен пустой).
  • Вручную: см. конфиг ниже.

Конфиг для Cursor (ручная настройка)

Конфиг можно положить в проект (только для этого проекта) или глобально (для всех проектов).

В проекте (рекомендуется):

  1. В корне проекта 1С (папка с packagedef) создайте папку .cursor, если её нет.
  2. Создайте или откройте файл .cursor/mcp.json в этом корне.
  3. Вставьте конфиг ниже (в пути — версия расширения, в env — порт и токен из настроек 1c-platform-tools).
  4. Перезагрузите окно (Ctrl+Shift+P → «Developer: Reload Window»).

Пример для проекта (Windows):

{
  "mcpServers": {
    "mcp-1c-platform-tools": {
      "command": "node",
      "args": ["${env:USERPROFILE}\\.cursor\\extensions\\yellow-hammer.mcp-1c-platform-tools-0.1.5\\out\\src\\index.js"],
      "env": {
        "ONEC_IPC_HOST": "127.0.0.1",
        "ONEC_IPC_PORT": "40241",
        "ONEC_IPC_TOKEN": ""
      }
    }
  }
}

macOS/Linux: в args — "${env:HOME}/.cursor/extensions/yellow-hammer.mcp-1c-platform-tools-0.1.5/out/src/index.js" (подставьте версию).

Глобальный файл

Вместо файла в проекте можно использовать один конфиг для всех проектов:

  • Windows: %USERPROFILE%\.cursor\mcp.json
  • macOS/Linux: ~/.cursor/mcp.json

Структура mcpServers та же. После изменений перезагрузите окно Cursor.


Убедитесь, что расширение 1c-platform-tools установлено, IPC включён (1c-platform-tools.ipc.enabled = true) и в настройках указаны те же порт и токен, что в env конфига MCP.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y mcp-1c-platform-tools

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-yellow-hammer-mcp-1c-platform-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-1c-platform-tools"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-1c-platform-toolsnpm

Compatible MCP Clients

io.github.yellow-hammer/mcp-1c-platform-tools works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More