gocd

v0.1.2
io.github.Sahilll15/gocd Checked 3 hours ago Published 3 months ago

MCP server for GoCD: dashboard, pipelines, artifacts, agents.

Has high-severity static-analysis findings pending human review.

Values you need

VariableWhat it is
GOCD_BASE_URLrequired GoCD base host, e.g. https://gocd.example.com (no trailing /go)
GOCD_ACCESS_TOKENrequired secret GoCD personal access token

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add gocd -e 'GOCD_ACCESS_TOKEN=<GOCD_ACCESS_TOKEN>' -e 'GOCD_BASE_URL=<GOCD_BASE_URL>' -- npx -y gocd-mcp@0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "gocd": {
      "args": [
        "-y",
        "gocd-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>",
        "GOCD_BASE_URL": "<GOCD_BASE_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "gocd": {
      "args": [
        "-y",
        "gocd-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>",
        "GOCD_BASE_URL": "<GOCD_BASE_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GOCD_ACCESS_TOKEN",
      "id": "gocd-access-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GOCD_BASE_URL",
      "id": "gocd-base-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "gocd": {
      "args": [
        "-y",
        "gocd-mcp@0.1.2"
      ],
      "command": "npx",
      "env": {
        "GOCD_ACCESS_TOKEN": "${input:gocd-access-token}",
        "GOCD_BASE_URL": "${input:gocd-base-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.gocd]
command = "npx"
args = ["-y", "gocd-mcp@0.1.2"]
env = { "GOCD_ACCESS_TOKEN" = "<GOCD_ACCESS_TOKEN>", "GOCD_BASE_URL" = "<GOCD_BASE_URL>" }

For AI agents

  1. Ask the user for: GOCD_BASE_URL, GOCD_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: gocd_dashboard, gocd_list_agents, gocd_pipeline_status, gocd_pipeline_history, gocd_pipeline_instance, gocd_stage_instance, gocd_stage_history, gocd_get_agent, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json