OAuth-enabled Cloudflare MCP servers
## Cloudflare Agents MCP Platform: Edge Computing Agents The **Cloudflare Agents MCP Platform** integrates Cloudflare Workers and edge computing into Google Antigravity, enabling AI-assisted deployment and management of serverless functions at the edge. ### Why Cloudflare Agents MCP? - **Global Edge**: Deploy to 300+ data centers worldwide for minimal latency - **Serverless**: No servers to manage with automatic scaling - **Workers AI**: Access AI models directly at the edge - **KV Storage**: Distributed key-value storage for state management - **Durable Objects**: Strongly consistent edge storage for coordination ### Key Features #### 1. Worker Deployment ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Deploy a Cloudflare Worker that handles API requests with caching" }] ) ``` #### 2. Edge Functions ```python # Create functions response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create edge function for image optimization and geo-routing" }] ) ``` #### 3. KV Management ```python # Manage storage response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Set up KV namespace for session storage with TTL configuration" }] ) ``` #### 4. Analytics ```python # View metrics response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show Worker analytics including requests, errors, and CPU time" }] ) ``` ### Configuration ```json { "mcpServers": { "cloudflare-agents": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-cloudflare-agents"], "env": { "CLOUDFLARE_API_TOKEN": "your-api-token", "CLOUDFLARE_ACCOUNT_ID": "your-account-id" } } } } ``` ### Use Cases **Edge Computing**: Deploy serverless functions globally at the edge. **API Gateway**: Build fast, scalable API endpoints. **Content Delivery**: Optimize and transform content at the edge. **AI at Edge**: Run AI inference close to users for low latency. The Cloudflare Agents MCP brings edge computing power into your workflow.
{
"mcpServers": {
"cloudflare-agents": {
"mcpServers": {
"cloudflare-agents": {
"url": "https://mcp.cloudflare.com",
"type": "streamable-http"
}
}
}
}
}