Skip to content
VS Code

mcp 1c platform tools for VS Code

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

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

client:VS Code transport:stdio runtime:npm

Install mcp 1c platform tools in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "onec-ipc-port",
      "description": "ONEC_IPC_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "onec-ipc-token",
      "description": "ONEC_IPC_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-1c-platform-tools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-1c-platform-tools"
      ],
      "env": {
        "ONEC_IPC_PORT": "${input:onec-ipc-port}",
        "ONEC_IPC_TOKEN": "${input:onec-ipc-token}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp 1c platform tools in other clients