Skip to content
Grok

Cycles — Budget Authority for AI Agents for Grok

io.github.runcycles/cycles-mcp-server

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

client:Grok transport:stdio runtime:npm

Install Cycles — Budget Authority for AI Agents in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "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>",
        "CYCLES_MOCK": "<CYCLES_MOCK>",
        "CYCLES_DEFAULT_TENANT": "<CYCLES_DEFAULT_TENANT>",
        "CYCLES_DEFAULT_WORKSPACE": "<CYCLES_DEFAULT_WORKSPACE>",
        "CYCLES_DEFAULT_APP": "<CYCLES_DEFAULT_APP>",
        "CYCLES_DEFAULT_WORKFLOW": "<CYCLES_DEFAULT_WORKFLOW>",
        "CYCLES_DEFAULT_AGENT": "<CYCLES_DEFAULT_AGENT>",
        "CYCLES_DEFAULT_TOOLSET": "<CYCLES_DEFAULT_TOOLSET>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Cycles — Budget Authority for AI Agents in other clients