Controlflare
Hard monthly budget cap for Cloudflare Workers: read spend, pause and resume Workers
Controlflare is an MCP server for cloud and infrastructure. It runs as a hosted remote server, so there is nothing to install locally.
- Platforms
- API, Web
- Runs
- Remotely
- What it can do
- Can change data (2 tools)
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http controlflare https://app.controlflare.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"controlflare": {
"type": "http",
"url": "https://app.controlflare.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://app.controlflare.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"controlflare": {
"url": "https://app.controlflare.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"controlflare": {
"type": "http",
"url": "https://app.controlflare.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://app.controlflare.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add controlflare --url https://app.controlflare.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.controlflare]
url = "https://app.controlflare.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://app.controlflare.com/mcpEnter a Name (for example "Controlflare"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"controlflare": {
"type": "http",
"url": "https://app.controlflare.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "controlflare": { "httpUrl": "https://app.controlflare.com/mcp" } } }Or run: gemini mcp add -s user --transport http controlflare https://app.controlflare.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "controlflare": { "serverUrl": "https://app.controlflare.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "controlflare": { "url": "https://app.controlflare.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "controlflare": { "type": "streamableHttp", "url": "https://app.controlflare.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "controlflare": { "url": "https://app.controlflare.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "controlflare": { "url": "https://app.controlflare.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "controlflare": { "url": "https://app.controlflare.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "controlflare": { "url": "https://app.controlflare.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Controlflare
Controlflare's MCP server hands an agent the same controls the dashboard offers for keeping a Cloudflare bill in check. It has twelve tools in three groups: five that only read, three that change a setting, and four that stop production traffic. The vendor tells readers to take the last group seriously before connecting.
Spend figures are estimates built from Cloudflare usage analytics and list prices, covering Workers, D1, R2, KV and Durable Object requests, with products it cannot measure shown as unavailable instead of zero. Setting a cap at or below current spend pauses every running Worker within about five minutes, so even a settings change can take a site down.
Pausing removes routes, detaches custom domains, disables the workers.dev URL and clears cron triggers, each stored first so a resume restores them. Sign-in uses OAuth with Cloudflare requesting only user details, and agent actions appear in the same activity log as dashboard actions.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 12 tools change data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_cloudflare_accountsName suggests: reads
- Connected accounts with cap, enforcement state and latest estimated spend
- get_accountName suggests: reads
- One account in detail plus its workloads
- get_estimated_spendName suggests: reads
- Current-period estimated USD with per-product split
- list_workloadsName suggests: reads
- Scripts with status and restore summary
- list_eventsName suggests: reads
- Recent activity, newest first
- set_billing_capName suggests: changes
- Set or clear the hard monthly cap
- set_enforcementName suggests: changes
- Turn automatic pausing on or off
- sync_account
- Refresh workloads and take a usage snapshot
- pause_workload
- Pause one Worker and stop its production traffic
- resume_workload
- Restore one Worker's routes, domains and schedules
- pause_all_workloads
- Pause every running Worker on the account
- resume_all_workloads
- Resume every paused Worker on the account
What it does
- Spend estimate
- Reads current-period USD with a per-product split for Workers, D1, R2, KV and Durable Objects.
- Hard billing cap
- Sets or clears a monthly cap that pauses Workers when exceeded.
- Pause and resume
- Stops or restores one Worker or every Worker on the account.
- OAuth sign-in
- Signs in with Cloudflare, with no API keys to paste.
- Shared activity log
- Agent actions are logged like dashboard actions.
- Claude Code plugin
- A marketplace plugin wires up the hosted endpoint.
Good for
- Ask an agent how much a Cloudflare account is estimated to have spent
- Set a monthly cap to avoid a surprise bill
- Pause a runaway Worker during an incident
- Resume Workers after a cap is lifted
- Review recent cap and pause events
Pricing
Pricing unknown
Pricing not published
Prices change. Check controlflare.com before you buy.
Controlflare FAQ
Which tools can stop production traffic?
pause_workload, resume_workload, pause_all_workloads and resume_all_workloads are marked destructive.
Is the spend figure an invoice?
No. It is an estimate from usage analytics and list prices and does not cover the whole Cloudflare bill.
How does authentication work?
OAuth 2.1 with Cloudflare; the client registers itself and you approve on a consent page.
Can a cap pause my Workers?
Yes. A cap at or below current spend pauses all running Workers within about five minutes.
How do I add Controlflare to Claude Code?
Run this command in your terminal: claude mcp add --transport http controlflare https://app.controlflare.com/mcp
What are the best alternatives to Controlflare?
The closest alternatives to Controlflare are workerfuse, Costory FinOps MCP, Costfluent, CloudCostAI and CloudQuell.
Where this comes from
- Description: written from the project's website.
- Install steps: from the official MCP Registry entry.
