Skip to content

MCP Server

The Coldrune MCP server (coldrune-mcp) exposes secret management tools over the Model Context Protocol using stdio transport.

# Download the binary
curl -L -o coldrune-mcp https://github.com/user/coldrune/releases/latest/download/coldrune-mcp-linux-amd64
chmod +x coldrune-mcp
sudo mv coldrune-mcp /usr/local/bin/

Or build from source:

cd mcp
cargo build --release
# Binary at target/release/coldrune-mcp

The MCP server reads configuration from three sources (in priority order):

  1. Environment variables: COLDRUNE_SERVER_URL, COLDRUNE_API_KEY, COLDRUNE_ORG, COLDRUNE_PROJECT, COLDRUNE_ENV
  2. coldrune.yml in the working directory
  3. Tool parameters (per-call overrides)

Set COLDRUNE_API_KEY with a service account API key:

export COLDRUNE_API_KEY=cr_sa_...

Or the server falls back to the session token at ~/.config/coldrune/session.

Create a coldrune.yml in your project root so the agent doesn’t need to pass org/project/env on every call:

server_url: https://api.coldrune.com
org: my-org
project: api-backend
env: dev

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "coldrune": {
      "command": "coldrune-mcp",
      "env": {
        "COLDRUNE_SERVER_URL": "https://api.coldrune.com",
        "COLDRUNE_API_KEY": "cr_sa_..."
      }
    }
  }
}

The server exposes 15 tools. See the MCP Tools Reference for the complete list.

CategoryTools
Secretssecret_set, secret_get, secret_list, secret_delete
Projectsproject_create, project_list, project_delete
Environmentsenv_create, env_list, env_delete
Organizationorg_list, org_members_list
Access & Auditacl_list, audit_list
Healthhealth_check