How to connect an MCP server to Cursor, Windsurf, and…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogHow to connect an MCP server to Cursor, Windsurf, and Gemini
    Back to Blog
    How to connect an MCP server to Cursor, Windsurf, and Gemini
    mcp

    How to connect an MCP server to Cursor, Windsurf, and Gemini

    Nucleus OS June 23, 2026
    0 views

    Every AI coding editor now supports MCP (Model Context Protocol). But they all have different config...

    Every AI coding editor now supports MCP (Model Context Protocol). But they all have different config file locations, different field names, and different gotchas. Here's the cheat sheet for connecting a remote MCP server to five major editors/clients.

    Cursor

    Config location: ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project)

    Remote server (Streamable HTTP):

    {
      "mcpServers": {
        "nucleus": {
          "url": "https://relay.nucleusos.dev/mcp-readonly",
          "type": "streamableHttp"
        }
      }
    }
    

    Gotcha: You must completely quit and restart Cursor after editing the config. MCP servers only load at startup.

    UI path: Settings → Tools & MCP → Add new MCP server


    Windsurf

    Config location: ~/.codeium/windsurf/mcp_config.json (global only — no per-project)

    Remote server (Streamable HTTP):

    {
      "mcpServers": {
        "nucleus": {
          "serverUrl": "https://relay.nucleusos.dev/mcp-readonly"
        }
      }
    }
    

    Gotcha #1: Windsurf uses serverUrl instead of url. If you copy a Cursor config, it silently fails — no error, no connection.

    Gotcha #2: The path is .codeium/windsurf/, not .windsurf/.

    Gotcha #3: Windsurf supports variable interpolation: ${env:VAR_NAME} and ${file:/path} in config fields.


    Google Gemini / Antigravity

    Config location: ~/.gemini/config/mcp_config.json

    Remote server (Streamable HTTP):

    {
      "mcpServers": {
        "nucleus": {
          "serverUrl": "https://relay.nucleusos.dev/mcp-readonly"
        }
      }
    }
    

    Gotcha: Gemini Enterprise only accepts Streamable HTTP (not deprecated SSE).


    OpenClaw

    Config location: ~/.openclaw/openclaw.json under mcp.servers

    OpenClaw is both an MCP client and server. You register external servers with openclaw mcp set:

    openclaw mcp set nucleus '{
      "transport": "http",
      "url": "https://relay.nucleusos.dev/mcp-readonly"
    }'
    

    Gotcha: Registered servers are only consumed by OpenClaw-managed runtimes that read mcp.servers at startup. Not every runtime picks them up automatically.


    OpenCode

    Config location: Managed via opencode mcp commands

    opencode mcp add nucleus --url https://relay.nucleusos.dev/mcp-readonly
    

    For OAuth-protected servers:

    opencode mcp add nucleus --url https://relay.nucleusos.dev/mcp
    opencode mcp auth nucleus
    

    Comparison table

    EditorConfig pathRemote fieldPer-project?
    Cursor~/.cursor/mcp.jsonurlYes (.cursor/mcp.json)
    Windsurf~/.codeium/windsurf/mcp_config.jsonserverUrlNo (global only)
    Antigravity~/.gemini/config/mcp_config.jsonserverUrlNo (global only)
    OpenClaw~/.openclaw/openclaw.jsonurl (in JSON)No (global only)
    OpenCodeCLI-managed--url flagNo (global only)

    The one that catches everyone

    If your MCP server works in Cursor but not in Windsurf, check the field name. Cursor uses url, Windsurf uses serverUrl. Same JSON structure, different key. Silent failure, no error message.

    If it works in Windsurf but not in Antigravity, check the transport. Antigravity rejects deprecated SSE — it only accepts Streamable HTTP.


    Full guides

    • Connect to Cursor
    • Connect to Windsurf
    • Connect to Gemini
    • Connect to OpenClaw
    • Connect to OpenCode

    Building Nucleus — persistent memory for AI coding agents. Open source on GitHub. Install: pip install nucleus-mcp && nucleus-init --scan.

    Tags

    mcpcursorwindsurfai

    Comments

    More Blog

    View all
    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timerscursor

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timers

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and...

    M
    Manu Shukla
    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Developmentai

    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Development

    The specs exist. The AI just can't see them. I've always been the type who builds hobby...

    S
    Shunya Shida
    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)amazonbedrock

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026) Summary. On 5...

    M
    Manu Shukla
    Spotting AI UI is too easyai

    Spotting AI UI is too easy

    There is a weird uncanny valley with LLM-generated UI right now. The code functions perfectly, but if...

    H
    Harish .s
    Seven ranking frameworks, one search page, zero translation tablesai

    Seven ranking frameworks, one search page, zero translation tables

    I went down a rabbit hole this morning reading the late-2025 Juejin AI roundups side by side, and the...

    N
    ninghonggang
    Zendesk MCP: Let Claude Handle Your Support Ticketsmcp

    Zendesk MCP: Let Claude Handle Your Support Tickets

    Install guide and config at curatedmcp.com Zendesk MCP: Let Claude Handle Your Support...

    C
    curatedmcp

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Connect Pipedrive Deal Outcomes to GA4 & Google Ads via Measurement Protocoln8n · $14.99 · Related topic
    • Context-Aware Google Calendar Event Management with MCP Protocoln8n · $14.99 · Related topic
    • Compare Different LLM Responses Side-by-Side with Google Sheetsn8n · $14.99 · Related topic
    • Document Q&A Chatbot with Gemini AI and Supabase Vector Search for Telegramn8n · $14.99 · Related topic
    Browse all workflows