Skip to content
VS Code

traecnclaw for VS Code

io.github.luckycat133/traecnclaw

Local persistent TraeCN coding-task gateway with a focused MCP Agent surface.

client:VS Code transport:stdio runtime:npm

Install traecnclaw in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "traecn-gateway-host",
      "description": "TRAECN_GATEWAY_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "traecn-gateway-port",
      "description": "TRAECN_GATEWAY_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "traecn-gateway-token",
      "description": "TRAECN_GATEWAY_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "traecnclaw": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@luckycat133/traecnclaw"
      ],
      "env": {
        "TRAECN_GATEWAY_HOST": "${input:traecn-gateway-host}",
        "TRAECN_GATEWAY_PORT": "${input:traecn-gateway-port}",
        "TRAECN_GATEWAY_TOKEN": "${input:traecn-gateway-token}"
      }
    }
  }
}

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

traecnclaw in other clients