MJO · Connect guide · Windsurf
How to connect an MCP server to Windsurf
Windsurf's agent, Cascade, takes MCP servers from its plugin store or from mcp_config.json. A remote server uses a serverUrl. Windsurf's documentation now lives on docs.devin.ai, and the config file location has moved with it; read the note on file paths before you edit anything.
For MCP Journey Optimization, Windsurf is a reminder that the client can change under you: a setup page written last quarter may point at the wrong file. The comparison with every other client is in the field guide.
What you need
- The Windsurf editor.
- A remote server over Streamable HTTP or SSE. The docs list stdio, Streamable HTTP and SSE, with OAuth supported for the two remote transports.
- On Teams and Enterprise: MCP access allowed by your admin. The docs say that once an admin allowlists one server, all non-allowlisted servers are blocked, and that Enterprise users must turn MCP on manually in settings.
- The server address, e.g. for the CrushedWithIt server,
<your server URL>.
Steps
- Go to Settings > Tools > Windsurf Settings > Add Server. If your server is in the Windsurf MCP Plugin Store, select it and click + Add Server.
- For a server that isn't listed, open Cascade's MCP menu and select Open MCP config file.
- Add your server under
mcpServerswithserverUrl:
If the provider gave you a key rather than a sign-in, add a{ "mcpServers": { "crushedwithit": { "serverUrl": "<your server URL>" } } }headersobject. The docs support${env:AUTH_TOKEN}-style interpolation inserverUrl,urlandheaders. - Save, then press the refresh button so Cascade loads the server.
- Complete the provider's sign-in if one opens.
Where the file is
The current page gives the file Cascade opens as ~/.config/devin/mcp_config.json on macOS and Linux (or $XDG_CONFIG_HOME/devin/mcp_config.json) and %AppData%/devin/mcp_config.json on Windows. It separately names ~/.codeium/windsurf/mcp_config.json (or windsurf-next) as an editor discovery file. Many third-party guides still point only at the .codeium path. Use Open MCP config file rather than guessing.
Try it
Ask Cascade for something read-only. With the CrushedWithIt server as the example:
Use the crushedwithit tools to show my account and how many credits I can spend now.
Common errors and fixes
| What you see | Fix | Basis |
|---|---|---|
| Server added but nothing happens | Press the refresh button after adding or editing. | Windsurf docs |
| Server blocked on a team plan | Your admin's allowlist must match your config exactly: anchored, case-sensitive regex, with special characters escaped (e.g. \.). Admins check logs for invalid-regex warnings. | Windsurf docs |
| Edited the file, no change | You may have edited the other file. Open it from Cascade's Open MCP config file. | Windsurf docs (two paths listed) |
| Config copied from Cursor fails | General: Cursor examples use url; Windsurf's example uses serverUrl (its docs also mention url). | Both vendors' docs |
| Too many tools | Switch individual tools off with a disabledTools array in the server's entry. | Windsurf docs |
How to disconnect
The docs don't give removal steps. What they do support: list individual tools in disabledTools to switch them off, or edit the config file opened from Cascade. Deleting the server's entry from that file and refreshing is the evident route, but the page does not state it.
Sources
- Windsurf docs: Cascade MCP (reached from docs.windsurf.com, which now redirects to docs.devin.ai), checked 26 Nov 2026.
- The old address, docs.windsurf.com/windsurf/cascade/mcp, now redirects to a Devin Desktop page; checked 26 Nov 2026.
Other clients: the MCP field guide compares all ten. The framework: MCP Journey Optimization (MJO).