CuratedMCP
Gemini CLI
Free

How to Install Cloudflare MCP in Gemini CLI

Official Cloudflare integration — manage Workers, KV, R2, D1, and edge infrastructure via AI

What Cloudflare MCP does

The official Cloudflare MCP server lets AI agents deploy and manage your entire Cloudflare infrastructure through natural language. From Workers to edge databases, every Cloudflare service is accessible. Features: - Deploy and manage Cloudflare Workers - Read and write KV namespace data - Manage R2 object storage buckets and objects - Query and modify D1 SQLite databases - Configure DNS records and zones - Manage Pages deployments - Monitor analytics and request metrics - Handle access policies and WAF rules Use cases: - "Deploy a new Worker that handles CORS for my API" - "Store this configuration in KV namespace my-config" - "Show me the request volume for my zone in the last 24 hours" - "Create a new D1 database called user-sessions" Built and maintained by Cloudflare. Uses OAuth for secure authentication — no API keys stored locally.

cloudflare
workers
kv
r2
d1

Installation steps

  1. 1Copy the config below
  2. 2Open ~/.gemini/settings.json
  3. 3Paste inside "mcpServers": {}
  4. 4Restart Gemini CLI

Configuration

File location: ~/.gemini/settings.json

settings.jsonjson
{
  "cloudflareMcp": {
    "command": "npx",
    "args": [
      "-y",
      "@cloudflare/mcp-server-cloudflare"
    ],
    "env": {
      "CLOUDFLARE_API_TOKEN": "your_api_token",
      "CLOUDFLARE_ACCOUNT_ID": "your_account_id"
    }
  }
}
Full server details GitHub Open Config Editor

Install in other clients

For maintainers

If you maintain Cloudflare MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://curatedmcp.com/api/badge/cloudflare-mcp)](https://curatedmcp.com/marketplace/cloudflare-mcp)