PipeCD MCP server

Connects Claude to PipeCD's continuous delivery platform, enabling monitoring of Kubernetes application deployments, configurations, and status without leaving the conversation context.
Back to servers
Setup instructions
Provider
Warashi
Release date
Mar 20, 2025
Language
Go
Stats
4 stars

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.

Installation

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).

Configuration

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 Key
  • PIPECD_INSECURE: Set to true if you want to connect to the control plane without SSL/TLS

Client Configuration Example

When 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:

  1. Update the command path to match your installation location
  2. Set the correct PIPECD_HOST for your environment
  3. Create and specify the path to your API key file
  4. Configure the PIPECD_INSECURE setting based on your security requirements

Usage

After 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.

How to install this MCP server

For Claude Code

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.

For Cursor

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.

Adding an MCP server to Cursor globally

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"
            }
        }
    }
}

Adding an MCP server to a project

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.

How to use the MCP server

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.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.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

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later