This tutorial covers how to add [Cloudflare's MCP Servers](https://github.com/cloudflare/mcp-server-cloudflare) as goose extensions to manage your Cloudflare infrastructure, debug applications, analyze traffic, and more using natural language.
Cloudflare provides multiple specialized MCP servers for different aspects of their platform, allowing you to interact with Workers, DNS, security features, analytics, and development tools.
[Launch the installer](goose://extension?cmd=npx&arg=mcp-remote&arg=https%3A%2F%2Fobservability.mcp.cloudflare.com%2Fmcp&id=cloudflare-observability&name=Cloudflare%20Observability&description=Debug%20and%20get%20insight%20into%20your%20application%27s%20logs%20and%20analytics&env=CLOUDFLARE_API_TOKEN%3DCloudflare%20API%20Token)
CLOUDFLARE_API_TOKEN: Your Cloudflare API token with appropriate permissions
```
:::
## Available Cloudflare MCP Servers
Cloudflare provides multiple specialized MCP servers for different use cases:
| Server | Description | Use Cases |
|--------|-------------|-----------|
| **Documentation** | Get up-to-date reference information on Cloudflare | API reference, feature documentation, troubleshooting guides |
| **Workers Bindings** | Build Workers applications with storage, AI, and compute primitives | KV storage, R2 buckets, AI models, Durable Objects |
| **Workers Builds** | Get insights and manage your Cloudflare Workers builds | Deployment status, build logs, version management |
| **Observability** | Debug and get insight into your application's logs and analytics | Error tracking, performance monitoring, request analysis |
| **Radar** | Global Internet traffic insights, trends, URL scans, and utilities | Traffic analysis, threat intelligence, URL scanning |
| **Container** | Spin up sandbox development environments | Isolated testing, development containers |
| **Browser Rendering** | Fetch web pages, convert to markdown, take screenshots | Web scraping, content analysis, visual testing |
| **Logpush** | Get quick summaries for Logpush job health | Log management, data pipeline monitoring |
| **AI Gateway** | Search logs, get details about prompts and responses | AI usage analytics, prompt optimization |
| **AutoRAG** | List and search documents on your AutoRAGs | Document retrieval, knowledge base management |
| **Audit Logs** | Query audit logs and generate reports for review | Security monitoring, compliance reporting |
| **DNS Analytics** | Optimize DNS performance and debug issues | DNS troubleshooting, performance optimization |
| **Digital Experience Monitoring** | Get insight on critical applications for your organization | Application performance, user experience monitoring |
| **Cloudflare One CASB** | Identify security misconfigurations for SaaS applications | Security posture, compliance checking |
| **GraphQL** | Get analytics data using Cloudflare's GraphQL API | Custom analytics, data visualization |
## Prerequisites
- A [Cloudflare account](https://dash.cloudflare.com/sign-up)
- [Cloudflare API Token](https://dash.cloudflare.com/profile/api-tokens) with appropriate permissions
- Node.js installed (for `npx` command)
## Configuration
### Step 1: Create API Token
1. Go to [Cloudflare API Tokens](https://dash.cloudflare.com/profile/api-tokens)
2. Click **"Create Token"**
3. Choose **"Custom token"** for specific permissions or **"Global API Key"** for full access
4. Configure permissions based on which MCP servers you plan to use:
- **Zone:Read** - For DNS, analytics, and general zone information
- **Zone:Edit** - For making configuration changes
- **Account:Read** - For account-level resources
- **Workers:Read/Edit** - For Workers-related servers
- **Logs:Read** - For observability and audit logs
1. [Launch the installer](goose://extension?cmd=npx&arg=mcp-remote&arg=https%3A%2F%2Fobservability.mcp.cloudflare.com%2Fsse&id=cloudflare-observability&name=Cloudflare%20Observability&description=Debug%20and%20get%20insight%20into%20your%20application%27s%20logs%20and%20analytics&env=CLOUDFLARE_API_TOKEN%3DCloudflare%20API%20Token)
2. Press `Yes` to confirm the installation
3. Enter your Cloudflare API Token
4. Click `Save Configuration`
5. Scroll to the top and click `Exit` from the upper left corner
[Launch the installer](goose://extension?cmd=npx&arg=mcp-remote&arg=https%3A%2F%2Fbindings.mcp.cloudflare.com%2Fmcp&id=cloudflare-bindings&name=Cloudflare%20Workers%20Bindings&description=Build%20Workers%20applications%20with%20storage%2C%20AI%2C%20and%20compute%20primitives&env=CLOUDFLARE_API_TOKEN%3DCloudflare%20API%20Token)
[Launch the installer](goose://extension?cmd=npx&arg=mcp-remote&arg=https%3A%2F%2Fradar.mcp.cloudflare.com%2Fmcp&id=cloudflare-radar&name=Cloudflare%20Radar&description=Get%20global%20Internet%20traffic%20insights%2C%20trends%2C%20URL%20scans%2C%20and%20other%20utilities&env=CLOUDFLARE_API_TOKEN%3DCloudflare%20API%20Token)