The MCP Server for PipeCD provides a Model Context Protocol server that enables integration and management of applications and deployments within PipeCD. It allows you to connect Claude or other MCP clients to your PipeCD control plane.
You can easily install the MCP server using Go:
go install github.com/Warashi/mcp-server-pipecd@latest
This will install the binary to your Go bin directory (typically ~/go/bin/mcp-server-pipecd
).
To use the MCP server, you need to configure it with the following environment variables:
PIPECD_HOST
: The host of your PipeCD control plane (e.g., demo.pipecd.dev:443
)PIPECD_API_KEY_FILE
: Full path to the file containing your PipeCD API KeyPIPECD_INSECURE
: Set to true
if you want to connect to the control plane without SSL/TLSWhen using with Claude or other MCP clients, you'll need to add the server to your client configuration:
{
"mcpServers": {
"pipecd": {
"command": "/Users/yourusername/go/bin/mcp-server-pipecd",
"args": [],
"env": {
"PIPECD_HOST": "demo.pipecd.dev:443",
"PIPECD_API_KEY_FILE": "/Users/yourusername/.config/mcp-server-pipecd/api_key",
"PIPECD_INSECURE": "false"
}
}
}
}
Make sure to:
command
path to match your installation locationPIPECD_HOST
for your environmentPIPECD_INSECURE
setting based on your security requirementsAfter configuration, the MCP server will automatically start when your MCP client (like Claude) attempts to use it. The server facilitates communication between your MCP client and PipeCD, allowing you to manage applications and deployments through the client interface.
The server handles authentication with your PipeCD control plane using the API key you've provided, so there's no additional setup needed once your configuration is in place.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "pipecd" '{"command":"/Users/sawada/go/bin/mcp-server-pipecd","args":[],"env":{"PIPECD_HOST":"demo.pipecd.dev:443","PIPECD_API_KEY_FILE":"/Users/sawada/.config/mcp-server-pipecd/api_key","PIPECD_INSECURE":"false"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"pipecd": {
"command": "/Users/sawada/go/bin/mcp-server-pipecd",
"args": [],
"env": {
"PIPECD_HOST": "demo.pipecd.dev:443",
"PIPECD_API_KEY_FILE": "/Users/sawada/.config/mcp-server-pipecd/api_key",
"PIPECD_INSECURE": "false"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"pipecd": {
"command": "/Users/sawada/go/bin/mcp-server-pipecd",
"args": [],
"env": {
"PIPECD_HOST": "demo.pipecd.dev:443",
"PIPECD_API_KEY_FILE": "/Users/sawada/.config/mcp-server-pipecd/api_key",
"PIPECD_INSECURE": "false"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect