MCP для команд 1c-platform-tools. Нужно расширение 1c-platform-tools с включённым IPC.
MCP-сервер предоставляет инструменты Model Context Protocol для запуска команд расширения 1c-platform-tools через агентов Cursor/VS Code.
1c-platform-tools.ipc.enabled = true.packagedef).В VS Code дополнительная настройка не нужна: расширение само регистрирует MCP. Достаточно установить оба расширения и включить IPC.
В Cursor расширение не может прописать MCP в настройки, поэтому конфиг нужно добавить вручную. Варианты:
- подставит в mcp.json конфиг как в примере ниже (хост 127.0.0.1, порт 40241, токен пустой).Конфиг можно положить в проект (только для этого проекта) или глобально (для всех проектов).
В проекте (рекомендуется):
packagedef) создайте папку .cursor, если её нет..cursor/mcp.json в этом корне.env — порт и токен из настроек 1c-platform-tools).Пример для проекта (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" (подставьте версию).
Вместо файла в проекте можно использовать один конфиг для всех проектов:
%USERPROFILE%\.cursor\mcp.json~/.cursor/mcp.jsonСтруктура mcpServers та же. После изменений перезагрузите окно Cursor.
Убедитесь, что расширение 1c-platform-tools установлено, IPC включён (1c-platform-tools.ipc.enabled = true) и в настройках указаны те же порт и токен, что в env конфига MCP.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y mcp-1c-platform-toolsMerge 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.
{
"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 referencemcp-1c-platform-toolsnpmio.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.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..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.