Skip to content
VS Code

Cycles — Budget Authority for AI Agents for VS Code

io.github.runcycles/cycles-mcp-server

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

client:VS Code transport:stdio runtime:npm

Install Cycles — Budget Authority for AI Agents in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cycles-api-key",
      "description": "CYCLES_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-base-url",
      "description": "CYCLES_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-mock",
      "description": "CYCLES_MOCK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-tenant",
      "description": "CYCLES_DEFAULT_TENANT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-workspace",
      "description": "CYCLES_DEFAULT_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-app",
      "description": "CYCLES_DEFAULT_APP",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-workflow",
      "description": "CYCLES_DEFAULT_WORKFLOW",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-agent",
      "description": "CYCLES_DEFAULT_AGENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cycles-default-toolset",
      "description": "CYCLES_DEFAULT_TOOLSET",
      "password": true
    }
  ],
  "servers": {
    "cycles-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@runcycles/mcp-server"
      ],
      "env": {
        "CYCLES_API_KEY": "${input:cycles-api-key}",
        "CYCLES_BASE_URL": "${input:cycles-base-url}",
        "CYCLES_MOCK": "${input:cycles-mock}",
        "CYCLES_DEFAULT_TENANT": "${input:cycles-default-tenant}",
        "CYCLES_DEFAULT_WORKSPACE": "${input:cycles-default-workspace}",
        "CYCLES_DEFAULT_APP": "${input:cycles-default-app}",
        "CYCLES_DEFAULT_WORKFLOW": "${input:cycles-default-workflow}",
        "CYCLES_DEFAULT_AGENT": "${input:cycles-default-agent}",
        "CYCLES_DEFAULT_TOOLSET": "${input:cycles-default-toolset}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Cycles — Budget Authority for AI Agents in other clients