Skip to content
MCP server

Cycles — Budget Authority for AI Agents

Runtime budget authority for AI agents — reserve, enforce, reconcile spend across…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.6.1
Listing updated
4 days ago

About Cycles — Budget Authority for AI Agents

Cycles — Budget Authority for AI Agents is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Runtime budget authority for AI agents — reserve, enforce, reconcile spend across providers

Install

Run in a terminal

claude mcp add cycles-mcp-server --env CYCLES_API_KEY='<CYCLES_API_KEY>' --env CYCLES_BASE_URL='<CYCLES_BASE_URL>' -- npx -y @runcycles/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cycles-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "<CYCLES_API_KEY>",
        "CYCLES_BASE_URL": "<CYCLES_BASE_URL>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cycles-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "<CYCLES_API_KEY>",
        "CYCLES_BASE_URL": "<CYCLES_BASE_URL>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "cycles-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "<CYCLES_API_KEY>",
        "CYCLES_BASE_URL": "<CYCLES_BASE_URL>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cycles-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "<CYCLES_API_KEY>",
        "CYCLES_BASE_URL": "<CYCLES_BASE_URL>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cycles-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "<CYCLES_API_KEY>",
        "CYCLES_BASE_URL": "<CYCLES_BASE_URL>"
      }
    }
  }
}

Configuration

  • CYCLES_API_KEYCycles API key for authentication. Set CYCLES_MOCK=true for local development without a key.Required
  • CYCLES_BASE_URLURL of the Cycles server (e.g. https://api.runcycles.io). Required unless CYCLES_MOCK=true.Required
  • CYCLES_MOCKEnable mock mode for local development — no API key or live server required.
  • CYCLES_DEFAULT_TENANTOptional default tenant merged into any tool call that omits it (explicit fields win).
  • CYCLES_DEFAULT_WORKSPACEOptional default workspace merged into any tool call that omits it (explicit fields win).
  • CYCLES_DEFAULT_APPOptional default app merged into any tool call that omits it (explicit fields win).
  • CYCLES_DEFAULT_WORKFLOWOptional default workflow merged into any tool call that omits it (explicit fields win).
  • CYCLES_DEFAULT_AGENTOptional default agent merged into any tool call that omits it (explicit fields win).
  • CYCLES_DEFAULT_TOOLSETOptional default toolset merged into any tool call that omits it (explicit fields win).

Pricing

Open source

Prices change. Check runcycles.io before you buy.

Cycles — Budget Authority for AI Agents FAQ

Is Cycles — Budget Authority for AI Agents free?

Yes. Cycles — Budget Authority for AI Agents is open source, so you can use and self-host it for free.

How do I add Cycles — Budget Authority for AI Agents to Claude Code?

Run this command in your terminal: claude mcp add cycles-mcp-server --env CYCLES_API_KEY='<CYCLES_API_KEY>' --env CYCLES_BASE_URL='<CYCLES_BASE_URL>' -- npx -y @runcycles/mcp-server