Cloudflare DNS Analytics Remote MCP Server
Cloudflare's DNS Analytics MCP (dns-analytics.mcp.cloudflare.com/mcp) exposes resolver and authoritative DNS metrics โ query volumes, top names, response codes โ for your zones.
- Provider
- Cloudflare โ
- Categories
- โ๏ธ Cloud, Infrastructure & DevOps
ไธญๆ็ฎไป
Cloudflare ๅฎๆน DNS ๅๆ MCP ๆๅกๅจใAI ไปฃ็ๅฏ้่ฟ OAuth ๆฅ่ฏข DNS ๆต้ๆฅๅใ็ญ้จๆฅ่ฏขๅๅไธ่ฎฐๅฝ็บง็ป่ฎกใ
Maintainer of Cloudflare DNS Analytics? Claim or update this listing โ
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"url": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}claude mcp add --transport http cloudflare-dns-analytics https://dns-analytics.mcp.cloudflare.com/mcp
Or add to .vscode/mcp.json:
{
"servers": {
"cloudflare-dns-analytics": {
"type": "http",
"url": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://dns-analytics.mcp.cloudflare.com/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://dns-analytics.mcp.cloudflare.com/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"serverUrl": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"url": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}Add to ~/.codex/config.toml โ Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.cloudflare-dns-analytics] url = "https://dns-analytics.mcp.cloudflare.com/mcp"
Add to cline_mcp_settings.json (Cline โ MCP Servers โ Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"type": "streamableHttp",
"url": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers โ httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"cloudflare-dns-analytics": {
"httpUrl": "https://dns-analytics.mcp.cloudflare.com/mcp"
}
}
}๐งฐ Cloudflare DNS Analytics MCP Tools & Schema (4)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| query_dns_report ~81 tok | ๐ข Read | Run a DNS analytics report over a zone and time range. | zoneTag*: stringsince: stringuntil: string |
| list_top_queried_names ~67 tok | ๐ข Read | List the most queried DNS names in a zone. | zoneTag*: stringlimit: number |
| get_dns_query_stats ~55 tok | ๐ข Read | Get query counts by record type and response code. | zoneTag*: string |
| list_dns_records ~56 tok | ๐ข Read | List DNS records on a zone with analytics annotations. | zoneTag*: string |
๐ก๏ธ Security, Quality & Context Token Audit
Every tool definition (name + description + input schema) is injected into your LLMโs context on every request โ Estimate per-call LLM token cost โ
- No prompt-injection or hidden-character anomalies detected in tool descriptions
- Streamable HTTP primary endpoint (current 2025-03-26 transport)
- OAuth 2.1 with PKCE S256 enforced
- Official first-party endpoint operated by the vendor
- Manually verified by RemoteMCP.net
๐ OAuth 2.1 & Security
- Auth type
- OAuth 2.1
- Dynamic Client Registration
- โ Supported
- PKCE S256
- โ Supported
- Protected resource metadata
- https://dns-analytics.mcp.cloudflare.com/.well-known/oauth-protected-resource (expected location)
๐งฉ Recommended Agent Skills
๐ Cloudflare DNS Analytics MCP Endpoint Overview & Security Guide
Cloudflare DNS Analytics MCP โ Remote MCP Server
DNS Analytics MCP answers traffic-shape questions โ which names get queried, what record types dominate, where NXDOMAIN spikes come from โ so agents can spot misconfigurations and abuse without a GraphQL console.
Official Cloudflare DNS Analytics MCP Endpoint & Transport Architecture
- Endpoint URL:
https://dns-analytics.mcp.cloudflare.com/mcp - Transport: Streamable HTTP
Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Cloudflare DNS Analytics MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.
Authentication, Scopes & Permission Boundaries
Cloudflare DNS Analytics MCP uses OAuth 2.1 โ the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow โ PKCE and Dynamic Client Registration, so no manual client setup is needed โ and simply open a browser consent screen.
All 4 cataloged tools are read-only โ Cloudflare DNS Analytics MCP cannot mutate your account data, which makes it safe to connect broadly.
Common Troubleshooting & Connection Tips
- 401 Unauthorized on connect โ that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact
WWW-Authenticatechallenge. - "Session expired" / stale
Mcp-Session-Idโ just re-sendinitialize; stateless clients can ignore session headers entirely. - Covers authoritative DNS analytics for zones you control.
- Queries are aggregated โ per-client visibility is limited to resolver products.
๐ How to Connect
- Copy the Cloudflare DNS Analytics MCP endpoint URLThe remote endpoint is https://dns-analytics.mcp.cloudflare.com/mcp.
- Add it to your MCP clientClaude Code:
claude mcp add --transport http cloudflare-dns-analytics https://dns-analytics.mcp.cloudflare.com/mcp. Cursor: add"cloudflare-dns-analytics": { "url": "https://dns-analytics.mcp.cloudflare.com/mcp" }undermcpServersin ~/.cursor/mcp.json. Other clients work similarly. - Complete the OAuth consentOn first connection your client opens a Cloudflare consent screen in the browser. Approve it to grant access; the token is stored by the client and refreshed automatically.
- Verify with the online inspectorPaste https://dns-analytics.mcp.cloudflare.com/mcp into remotemcp.net/inspector, run initialize and tools/list, and confirm Cloudflare DNS Analytics MCP's 4 tools respond.
โ FAQ
What is the Cloudflare DNS Analytics MCP remote MCP endpoint?
The primary endpoint is https://dns-analytics.mcp.cloudflare.com/mcp. It is an official first-party server operated by Cloudflare, speaking the Streamable HTTP transport.
How do I authenticate with Cloudflare DNS Analytics MCP?
Cloudflare DNS Analytics MCP uses OAuth 2.1. When your client first connects it receives a 401 challenge, discovers the authorization server via RFC 9728 metadata, and opens a browser consent screen. Dynamic Client Registration is supported, so compliant clients register themselves automatically.
I'm getting a 401 Unauthorized from Cloudflare DNS Analytics MCP โ what's wrong?
A 401 means your client hasn't completed (or has lost) the OAuth authorization. Remove and re-add the server in your client to restart the consent flow, and check that your browser session can reach the provider's login page. If the 401 arrives without a WWW-Authenticate header, run it through our OAuth debugger to see what's missing.
Which MCP clients work with Cloudflare DNS Analytics MCP?
Any client that supports remote MCP servers: Cursor, Claude Code (`claude mcp add --transport http cloudflare-dns-analytics https://dns-analytics.mcp.cloudflare.com/mcp`), VS Code Copilot, ChatGPT connectors, Windsurf, Kiro (`~/.kiro/settings/mcp.json`), and Claude Desktop via the `mcp-remote` bridge.
What tools does Cloudflare DNS Analytics MCP expose?
4 tools are cataloged in this directory โ including `query_dns_report`, `list_top_queried_names`, `get_dns_query_stats` and more. Use our online inspector to fetch the live tool list straight from the endpoint.
๐ Connect Guides
๐ Embed Status Badge in README
Related Servers
AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated โ connect and call tools immediately.
Cloudflare's free, authless documentation MCP server. Agents can search the full Cloudflare docs corpus โ no account or token required.
Vercel's official remote MCP server. Agents can list deployments, fetch build logs and search Vercel docs with a token-authorized connection.
Sentry's hosted MCP server for error monitoring. Agents can inspect issues, search events and resolve regressions directly from your IDE.