MCP Server
The CI/CD Watch MCP server lets AI assistants query your pipeline data directly. Ask questions like “which pipelines are slowest?” or “what are my DORA metrics?” and get answers grounded in your real CI/CD data.
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external data sources. When you add the CI/CD Watch MCP server, your assistant gains access to tools for querying pipeline runs, metrics, and costs.
Supported Clients
Any MCP-compatible client works, including:
- Claude Desktop and Claude Code
- Cursor
- Windsurf
- Any client that supports MCP HTTP transport
Setup
1. Create an API key
Go to Settings > API Keys and create a key with readscope. Copy the key — you'll need it in the next step.
2. Add to your MCP client
Add the following to your MCP client configuration. The exact location depends on your client:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Code:
~/.claude.jsonor project.mcp.json - Cursor:
.cursor/mcp.jsonin your project
{
"mcpServers": {
"cicd-watch": {
"type": "http",
"url": "https://mcp.cicd.watch",
"headers": {
"Authorization": "Bearer cw_your_key_here"
}
}
}
}Replace cw_your_key_here with your API key. Nothing to install — the MCP server runs on our infrastructure.
Available Tools
Once connected, your AI assistant can use these tools:
| Tool | Description |
|---|---|
| list-runs | List recent pipeline runs, optionally filtered by time period |
| list-connections | List all CI/CD provider connections |
| get-dora-metrics | Get DORA metrics (Deployment Frequency, Lead Time, Change Failure Rate, MTTR) |
| get-costs | Get cost breakdown including compute costs, wait time, and waste analysis |
| get-performance | Get pipeline performance analysis with duration stats, trends, and suggestions |
All tools accept an optional periodDaysparameter (1–365) to control the lookback window. Defaults to 30 days for metrics tools.
Example Prompts
Once configured, try asking your AI assistant:
- >“What are my DORA metrics for the last 30 days?”
- >“Which pipelines are the most expensive?”
- >“Show me recent failed builds”
- >“How is our deployment frequency trending?”
- >“What optimization opportunities do we have?”