Read and write local files with configurable access controls.
MCP Servers for Windsurf
Windsurf (Codeium) wires MCP servers into its Cascade agent. Point it at mcp_config.json and every server becomes a tool that Cascade can call autonomously during multi-step work.
Set up MCP in Windsurf
Four steps to connect your first MCP server.
- 1
Open the Cascade MCP panel
Cascade → hammer icon → "Configure". This opens (or creates) ~/.codeium/windsurf/mcp_config.json.
- 2
Add servers under mcpServers
Same JSON shape as Claude Desktop. Paste install snippets from top-mcps.com detail pages directly.
- 3
Secure tokens via env
Set tokens in the env block. Windsurf will pass them to the server process but not echo them in the chat transcript.
- 4
Refresh Cascade
Click "Refresh" in the MCP panel (no full restart needed). Connected servers show a green dot.
- Global
~/.codeium/windsurf/mcp_config.jsonApplies to every Windsurf workspace.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/you/code"
]
},
"github": {
"command": "npx",
"args": ["-y", "@github/github-mcp-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_..."
}
},
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
}Top MCPs for Windsurf
The curated starting stack — install these first.
Up-to-date library docs pulled directly into your AI context.
Full Supabase access: database, auth, storage, and edge functions.
Full browser automation: navigate, click, screenshot, and scrape.
Query and inspect PostgreSQL databases via natural language.
All MCPs compatible with Windsurf
15 servers verified to work with Windsurf, ranked by popularity.
Read and write local files with configurable access controls.
Query and inspect PostgreSQL databases via natural language.
Real-time web search with privacy-focused results.
Persistent knowledge graph memory across AI conversations.
Up-to-date library docs pulled directly into your AI context.
Full Supabase access: database, auth, storage, and edge functions.
Local SQLite database access with full read/write support.
Retrieve web pages and convert them to clean markdown.
Full browser automation: navigate, click, screenshot, and scrape.
Structured step-by-step reasoning for complex problem solving.
Read and send Slack messages, manage channels and threads.
Secure cloud sandboxes for executing AI-generated code.
Manage Linear issues, projects, and cycles from AI context.
FAQ: MCP in Windsurf
Where is Windsurf's MCP config stored?
At ~/.codeium/windsurf/mcp_config.json. The Cascade "Configure" button opens it directly, or you can edit it with any text editor.
Do I need to restart Windsurf after editing mcp_config.json?
No. Click the Refresh button in the Cascade MCP panel and Windsurf re-reads the config. A full restart is only needed if a server is wedged.
Will my existing Claude Desktop MCP config work in Windsurf?
Yes. The mcpServers JSON shape is the same, so copy the mcpServers block from claude_desktop_config.json into mcp_config.json and it will work unchanged.
Which MCPs work best with Cascade?
Cascade thrives on multi-step agent work, so pair it with tool-rich MCPs: Filesystem, GitHub, Puppeteer for browser work, and a database MCP (Postgres or Supabase) if you are building an app.
Browse every MCP server → top-mcps.com