Data as of

Cloudflare MCP Server for Cursor: Setup & Config

Cursor: Cloudflare MCP Server is a collection of product-specific remote servers for Cloudflare accounts.

What you can do with Cloudflare in Cursor

Choose curated Cloudflare product endpoints instead of a broad code-execution API interface.

  • Investigate Workers logs and application analytics.
  • Review account audit logs or security misconfiguration information.
  • Fetch pages and screenshots with the browser rendering service.

Before you start: Cloudflare in Cursor

  • An MCP-compatible client
  • A Cloudflare account for account operations
  • npx when using the mcp-remote bridge
  • Appropriate API token permissions when using the OpenAI Responses API

This example selects the Observability server. Remote-capable clients can use its URL directly; the npx command is a compatibility bridge. Other product areas use separate URLs.

Cloudflare Cursor configuration

  1. Choose Cursor configuration scope

    For Cloudflare MCP Server, open Project: .cursor/mcp.json User: ~/.cursor/mcp.json. Merge into mcpServers at project or user scope.

  2. Add Cloudflare MCP Server to Cursor

    Use the mcp-server-cloudflare entry below in mcpServers. Keep Cloudflare MCP Server's documented http connection fields and your other Cursor entries.

  3. Check Cloudflare MCP Server in Cursor

    Cloudflare MCP Server: Enable in Cursor’s MCP settings; inspect tools.

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

JSON
{
  "mcpServers": {
    "mcp-server-cloudflare": {
      "url": "https://observability.mcp.cloudflare.com/mcp"
    }
  }
}

Troubleshooting Cloudflare in Cursor

  • Enable Cloudflare MCP Server in Cursor's MCP settings and inspect its tools. For observability.mcp.cloudflare.com, check reachability, transport, and credential expiry if authentication fails.
  • Cloudflare MCP Server: check http connectivity to observability.mcp.cloudflare.com from Cursor; a stdio command is not a replacement for this endpoint.
  • Transport mismatch: Cloudflare's catalog lists stdio; the displayed Cursor configuration uses http.
  • Known limitation: Some capabilities require a paid Cloudflare Workers plan.
  • Known limitation: Long tool chains can exceed client context limits.
  • Known limitation: SSE remains available but is deprecated.
  • General Cursor troubleshooting lives in the /clients/cursor guide.

Cloudflare MCP Server — details. Cursor guide

Frequently asked questions

Cursor's Cloudflare MCP Server entry belongs under mcpServers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (user). Confirm the active scope in MCP settings.