I ended up disabling the MCP servers below because one or both pops 2 browser windows asking me to reauthorize Cloudflare OAuth during ever session I use cursor and it’s super annoying.
But, even when these global MCP servers are disabled in Cursor’s UI, this behavior still occurs.
Secondly, then I thought I’d try renaming mcp.json
to mcp.jsonc
and commenting out the two offending MCPs until needed, but only mcp.json
is valid.
TLDR
- don’t ask for auth on disabled MCP servers. Disabled MCP servers should be noop and do nothing.
- support
mcp.jsonc
instead ofmcp.json
{
"mcpServers": {
"cloudflare": {
"command": "bunx",
"args": ["mcp-remote", "https://bindings.mcp.cloudflare.com/sse"]
},
"cloudflare-observability": {
"command": "bunx",
"args": ["mcp-remote", "https://observability.mcp.cloudflare.com/sse"]
}
}
}