Skip to content
VS Code

gocd for VS Code

io.github.sahilll15/gocd

MCP server for GoCD: dashboard, pipelines, artifacts, agents. Context-lean output.

client:VS Code transport:stdio runtime:npm

Install gocd in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gocd-base-url",
      "description": "GOCD_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gocd-access-token",
      "description": "GOCD_ACCESS_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "gocd": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "${input:gocd-base-url}",
        "GOCD_ACCESS_TOKEN": "${input:gocd-access-token}"
      }
    }
  }
}

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

gocd in other clients