MCP Servers for Windsurf — Complete Setup Guide (2026)
Last updated April 2026. Tested on Windsurf (latest) on macOS 15 and Windows 11.
What MCP servers do in Windsurf
MCP servers extend Windsurf's Cascade AI agent with external capabilities. Without them, Cascade can only work with your project files. With MCP servers, Cascade can search the web, read documentation, query databases, manage infrastructure, and interact with any service the server exposes.
Windsurf acts as the MCP host, and Cascade (the AI assistant) acts as the MCP client. When you configure servers, Cascade automatically discovers their tools and uses them based on your prompts.
Method 1: One-command install (recommended)
The fastest way to add an MCP server to Windsurf:
bash# Install the AgenticMarket CLI (once) npm install -g agenticmarket # Authenticate (once) agenticmarket auth am_live_your_key # Install any server — Windsurf gets configured automatically agenticmarket install agenticmarket/web-reader
The CLI detects Windsurf, writes the correct config to mcp_config.json, and the server becomes available to Cascade after a refresh.
Method 2: Managed plugins (GUI)
Windsurf provides a built-in plugin manager for popular MCP servers:
- Click the Windsurf - Settings button (bottom right corner of the IDE)
- Navigate to Cascade → Plugins (MCP servers)
- Click Manage Plugins
- Browse the available servers, select one, and click Install
- If the server requires API keys, you'll be prompted to enter them
This method is the simplest for well-known servers. For custom or third-party servers not in the managed list, use the manual method below.
Method 3: Manual JSON setup
For custom servers, edit the mcp_config.json file directly:
Accessing the config
- Go to Plugins (MCP servers) section in Windsurf Settings
- Click Manage Plugins → View raw config
- This opens
mcp_config.jsonin the editor
Remote HTTP server
json{ "mcpServers": { "web-reader": { "url": "https://your-server-url/mcp" } } }
Local stdio server
json{ "mcpServers": { "filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "./data"] } } }
With environment variables
json{ "mcpServers": { "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"], "env": { "GITHUB_TOKEN": "ghp_your_token_here" } } } }
Note: Windsurf uses
mcpServersas the root key — the same as Cursor and Claude Desktop. If you're coming from VS Code (which usesservers), make sure to change the key name.
After saving the config, click the Refresh button in the Manage Plugins tab, or use the Command Palette (Cmd/Ctrl+Shift+P) and select Reload Window.
Verifying the server is active
- Open the Cascade AI chat panel
- Look for the hammer icon (🔨) — this indicates MCP tools are available
- Click the hammer icon to see a list of all available tools from your configured servers
- Test with a prompt: "Use the [tool-name] tool to [specific action]"
If you don't see the hammer icon, the server didn't connect. Check the troubleshooting section below.
Recommended MCP servers for Windsurf
| Server | What it does | Install command |
|---|---|---|
| web-reader | Read and extract content from any URL | agenticmarket install agenticmarket/web-reader |
| duckduckgo | Web search without API keys | agenticmarket install agenticmarket/duckduckgo |
| wikipedia | Browse Wikipedia articles | agenticmarket install agenticmarket/wikipedia |
| rss-reader | Parse RSS/Atom feeds | agenticmarket install agenticmarket/rss-reader |
Browse all available servers at agenticmarket.dev/servers or explore community servers at agenticmarket.dev/explore.
Troubleshooting Windsurf MCP issues
Server doesn't appear after adding config
- Click Refresh in the Manage Plugins panel
- If that doesn't work, use Command Palette → Reload Window
- Verify the root key is
mcpServers(notservers) - Validate JSON syntax — paste into jsonlint.com
Tools are missing but server is connected
- Check the Cascade chat panel for the hammer icon (🔨)
- The server may be taking too long to respond to the
tools/listrequest — see our guide on MCP servers not showing tools - Try running the server command directly in your terminal to check for startup errors
Server fails to start (stdio)
- Use absolute paths for
command— Windsurf may not inherit your shell's PATH - Run
which npxorwhich nodein your terminal and use the full path - Always include
-yin npx args:["-y", "package-name"]
Check logs for errors
- Open Help → Toggle Developer Tools → Console tab
- Look for MCP-related error messages
Still stuck? See our complete MCP troubleshooting guide for every error code and fix, or validate your endpoint in the MCP Playground.
Next steps
- MCP Servers for VS Code — Setup Guide — if you also use VS Code
- MCP Servers for Cursor — Setup Guide — for Cursor users
- MCP Servers for Claude Desktop — Setup Guide — for Claude Desktop users
- What is MCP? — understand the protocol from the ground up
- How to Install MCP Servers Without JSON — full multi-IDE guide
- MCP Server Not Working? — troubleshooting every error
This guide is updated when Windsurf changes its MCP handling. Last reviewed April 2026.
AgenticMarket