How to Connect Cloudflare Docs Remote MCP to VS Code
Add Cloudflare's remote MCP server to VS Code in about a minute.
Step-by-step
- Add to .vscode/mcp.jsonUse the deeplink or paste the
serversJSON above into.vscode/mcp.json. - AuthorizeNo authentication needed โ Cloudflare Docs MCP is public.
- Use in Copilot ChatOpen Copilot Chat in agent mode โ the server's tools appear in the tools menu. Verify in the browser: paste
https://docs.mcp.cloudflare.com/mcpinto remotemcp.net/inspector and run initialize + tools/list.
Troubleshooting OAuth / 401
- A
401 Unauthorizedon first connect is normal โ the endpoint is OAuth-protected; let VS Code finish the browser consent flow. - If the consent window never opens, remove and re-add the server, then retry.
- Check the exact challenge at our OAuth debugger.
- Run the live endpoint through the online inspector to see the raw JSON-RPC exchange.
Legacy SSE endpoint
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"cloudflare-docs": {
"url": "https://docs.mcp.cloudflare.com/mcp"
}
}
}claude mcp add --transport http cloudflare-docs https://docs.mcp.cloudflare.com/mcp
Or add to .vscode/mcp.json:
{
"servers": {
"cloudflare-docs": {
"type": "http",
"url": "https://docs.mcp.cloudflare.com/mcp"
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://docs.mcp.cloudflare.com/mcp - No authentication needed โ tools are available immediately.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"cloudflare-docs": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://docs.mcp.cloudflare.com/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"cloudflare-docs": {
"serverUrl": "https://docs.mcp.cloudflare.com/mcp"
}
}
}Tools exposed by Cloudflare Docs MCP (2)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| search_cloudflare_documentation | ๐ข Read | Search Cloudflare developer documentation and return relevant passages. | query*: string |
| migrate_pages_to_workers_guide | ๐ข Read | Return the guided walkthrough for migrating a Pages project to Workers. | โ |
Connect Cloudflare Docs MCP to another client
Other servers for VS Code
GitHub's official remote MCP server hosted at api.githubcopilot.com. Gives AI agents first-party access to repositories, issues, pull requests and code search.
Notion's official hosted MCP server. Agents can search your workspace, read and create pages, and query databases over Streamable HTTP or SSE.
Linear's official remote MCP server. Agents can search, create and update issues and query your team's workflow over Streamable HTTP or SSE.
Figma's official remote MCP server. Agents can pull design context, variables, Code Connect mappings and screenshots from your Figma files.
Stripe's official remote MCP server at mcp.stripe.com. Agents can query customers, payment intents and subscriptions and invoke Stripe API operations with OAuth.
Cognition Devin's free DeepWiki MCP. Ask questions and read AI-generated wiki documentation for any public GitHub repository โ no auth required.