Where it fits
Developers and infrastructure engineers who manage Cloudflare accounts and want assistant help reviewing or planning changes.
- Inspect DNS records before a domain migration
- Plan a Workers deployment for a new route
- Review account resources for unused services
A remote MCP server advertises tools to your client. The provider controls the tools, the data they can reach, and the permissions they need. Read the provider's docs before you use it with private data.
Skills that pair with Cloudflare Code Mode
These skills cover adjacent tasks, matched by purpose and the work each one describes.
Helps pick Cloudflare products for apps, APIs, AI agents, storage, networking, and security. It answers architecture and product-selection questions, including cases where the user describes a need without naming a Cloudflare product, and then points to the relevant skill or documentation.
Platform guidance for Cloudflare work, spanning Workers and Pages, storage through KV, D1, and R2, AI services such as Workers AI, Vectorize, and the Agents SDK, networking with Tunnel and Spectrum, security through WAF and DDoS, and Terraform or Pulumi for infrastructure as code. Retrieval from Cloudflare documentation is preferred over pre-trained knowledge.
Builds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. It generates server code, configures auth providers, and deploys to Workers. Use when the user wants to build an MCP server, create MCP tools, deploy a remote MCP server, add OAuth to MCP, or mentions the Model Context Protocol on Cloudflare. It also triggers on MCP authentication or MCP deployment.
No skills found
Try a different search term or clear the filters.
Install it in your client
Choose a client, run the command or use the one-click install, then verify the connection. The endpoint uses Streamable HTTP.
- 01
Run this command in your terminal
This adds Cloudflare Code Mode as a remote Streamable HTTP server in Claude Code.
Claude Codeclaude mcp add --transport http cloudflare-code-mode https://mcp.cloudflare.com/mcp --scope project - 02
Verify the connection
Run claude mcp list, or open /mcp in a Claude Code session.
Learn more about MCP in Claude Code
- 01
Run this command in your terminal
This adds Cloudflare Code Mode as a remote Streamable HTTP server in Codex.
Codex# Add this to Codex MCP settings: [mcp_servers."cloudflare-code-mode"] url = "https://mcp.cloudflare.com/mcp" - 02
Verify the connection
Run codex mcp list, or open /mcp in a Codex session.
Learn more about MCP in Codex
- 01
Install with one click
This opens Cursor with the server pre-filled. Review the connection before accepting it.
Install in Cursor - 02
Verify the connection
Open Cursor's MCP settings and enable the server if it is not active.
Learn more about MCP in Cursor
- 01
Install with one click
This opens VS Code with the server pre-filled. Review the connection before accepting it.
Install in VS Code - 02
Verify the connection
Run MCP: List Servers from the Command Palette and start the server.
Learn more about MCP in VS Code
More clients, including project and global config files, are in the sidebar.
Endpoint and configuration
The installer uses the server name cloudflare-code-mode. If you add the endpoint by hand, keep the same name so the guide and your config match.
Check the connection
After you add the server, confirm that the client can see its tools and that one small request returns what the provider describes.
- 1Open the tool list.
Restart the client or start a new session. Confirm that
cloudflare-code-modeappears and that the tools match the provider documentation. - 2Run one small request.
Start with: Inspect DNS records before a domain migration. Check the result before you give the server more access.
- 3Check permissions.
Review the OAuth scopes or API-key permissions, then remove the server and revoke its token when you no longer need it.
We checked the provider's page, not the MCP connection itself. No MCP sign-in or tool call was attempted. The provider page was available when we checked.
Common failure modes
These are the problems to check first. If the provider changes its endpoint or authentication flow, use its documentation as the source of truth.
- The sign-in window closes without returning. Allow pop-ups and finish the provider login in the same browser.
- The server connects but its tools are missing. Remove it, add it again, and approve the scopes the provider lists.
- Your client does not support Streamable HTTP. Use a client that does, and confirm the provider's current endpoint and transport in its docs.
Before you connect
- The provider can see the requests and data your agent sends through the server.
- Review OAuth scopes and API-key permissions. Start read-only if the provider offers it.
- Use project scope for repository-specific servers; use global scope for personal tools.
- Remove the server and revoke its token when you stop using it.
Check the connection before a real task
These guides cover the decisions that a provider description cannot answer: endpoint ownership, scopes, tool access, and a read-only test.
Provider source
Setup requirements, available tools, and rate limits live with the provider. Use the source link as the authority for this server.
Cloudflare Code Mode repositoryhttps://github.com/cloudflare/mcp