How to Install MCP Servers in Windsurf

How to configure MCP servers in Windsurf (Codeium) — the mcp_config.json location, the JSON shape, and how to load the servers into Cascade.

Where the config lives

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"],
      "env": {}
    }
  }
}

Step by step

  1. 1

    Open the MCP config

    In Windsurf, open Cascade and go to the MCP / plugins settings, then choose to edit the raw config — or open ~/.codeium/windsurf/mcp_config.json directly.

  2. 2

    Add the server under mcpServers

    Add a named entry with "command", "args", and an optional "env" object for secrets, using the standard stdio shape.

  3. 3

    Refresh and use it in Cascade

    Save the file and refresh the MCP servers from the Windsurf MCP panel (or restart Windsurf). The tools then become available to Cascade.

Popular MCP servers to try in Windsurf

  1. 1
    Moxie Docs MCP
    MCP & Agent Skills for Automated Documentation, and codebase conventions + context
    7 4 2
  2. 2
    S
    Server Gitlabmodelcontextprotocol
    GitLab platform integration for project management and CI/CD operations
    4 4 2
  3. 3
    S
    Server Gitmodelcontextprotocol
    Direct Git repository operations including reading, searching, and analyzing local repositories
    3 0 1
  4. 4
    A
    Astronomy Oraclegregario
    Accurate astronomical catalog data and observing session planner. 13,000+ deep-sky objects from OpenNGC with deterministic visibility, rise/transit/set, and alt/az calculations. npx astronomy-oracle
    3 1 0
  5. 5
    M
    Mcp@agentfund
    Fundraising infrastructure for AI agents on Solana — campaigns, x402 donations, and on-chain reputation. MCP tools for registering agents, creating campaigns, and donating via the x402 pay-to-call flow, backed by Anchor programs (agentregistry, escrow, reputation). npx -y @agentfund/mcp
    5 0 0
  6. 6
    G
    GhidraMCP13bm
    MCP server for integrating Ghidra with AI assistants. This plugin enables binary analysis, providing tools for function inspection, decompilation, memory exploration, and import/export analysis via the Model Context Protocol.
    4 0 0
  7. 7
    C
    Codebeamer Mcp3KniGHtcZ
    Codebeamer ALM integration for managing work items, trackers, and projects. Provides 17 tools for reading and writing items, associations, references, comments, and risk management data via Codebeamer REST API v3.
    4 0 0
  8. 8
    S
    Server Filesystemmodelcontextprotocol
    Direct local file system access.
    4 0 0

Frequently asked questions

Where is the Windsurf MCP config file?

Windsurf reads ~/.codeium/windsurf/mcp_config.json. You can edit it from the MCP settings inside Cascade or open the file directly. It uses the same "mcpServers" shape as other MCP clients.

How do I reload MCP servers in Windsurf?

After editing mcp_config.json, use the refresh action in the Windsurf MCP panel, or restart Windsurf. New or changed servers are not picked up until you refresh or relaunch.

Does Windsurf support the same MCP servers as Cursor and Claude?

Yes. MCP is a shared protocol, so any stdio MCP server works across Windsurf, Cursor, Claude Desktop, and Claude Code — only the config file location and, for VS Code, the JSON key differ.

Install MCP servers in other clients

Claude DesktopClaude CodeCursorVS Code (GitHub Copilot)