# Gocd

> Gocd is an open-source MCP server. MCP server for GoCD: dashboard, pipelines, artifacts, agents. Context-lean output. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/sahilll15/gocd-mcp
- **MCP Registry name:** io.github.Sahilll15/gocd
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add gocd --env GOCD_BASE_URL='<GOCD_BASE_URL>' --env GOCD_ACCESS_TOKEN='<GOCD_ACCESS_TOKEN>' -- npx -y gocd-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "gocd": {
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "<GOCD_BASE_URL>",
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gocd": {
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "<GOCD_BASE_URL>",
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gocd": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "<GOCD_BASE_URL>",
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "gocd": {
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "<GOCD_BASE_URL>",
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "gocd": {
      "command": "npx",
      "args": [
        "-y",
        "gocd-mcp"
      ],
      "env": {
        "GOCD_BASE_URL": "<GOCD_BASE_URL>",
        "GOCD_ACCESS_TOKEN": "<GOCD_ACCESS_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Gocd free?

Yes. Gocd is open source, so you can use and self-host it for free.

### How do I add Gocd to Claude Code?

Run this command in your terminal: claude mcp add gocd --env GOCD_BASE_URL='<GOCD_BASE_URL>' --env GOCD_ACCESS_TOKEN='<GOCD_ACCESS_TOKEN>' -- npx -y gocd-mcp

---
Source: https://ai-powered.com/mcp/gocd
