================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-server-cloudflare
by cloudflare
Monorepo that hosts Cloudflare-maintained Model Context Protocol (MCP) servers. Each app exposes Cloudflare services (Workers bindings, observability, browser rendering, etc.) to any MCP-compatible client so developers can programmatically inspect or modify their Cloudflare account via natural-language tool calls.
2.8k
232
EnterpriseInstallation
1. Clone the repository
git clone https://github.com/cloudflare/mcp-server-cloudflare.git && cd mcp-server-cloudflare
2. Install dependencies (Node 18+ recommended)
npm install
3. Build the worker
npm run build # invokes tsc / esbuild as defined in package.json
4. Test locally (optional)
npx wrangler dev # serves the MCP server at http://localhost:8787
5. Configure Cloudflare credentials
• Create an API token with “Workers Deployment” permissions
• Export it as an environment variable or place it in ~/.config/wrangler.toml
CF_API_TOKEN="<your-token>"
6. Deploy to your Cloudflare account
npx wrangler deploy # publishes the worker and returns the public URL
7. (Optional) Custom settings
• Adjust wrangler.toml for account_id, zone_id and routes
• Use environment variables for secrets (e.g., MCP_AUTH_KEY, LOG_LEVEL)
Documentation
License: Apache License 2.0
Updated 7/30/2025