← Back to Resources
How to set up the CIDX MCP on Windsurf
Follow these steps to connect the CIDX MCP to Windsurf and unlock powerful code search and documentation features.
Last Updated: May 13, 2025
- Open your Windsurf settings
Navigate to the MCP configuration section.
- Add this snippet to your configuration file
{ "mcpServers": { "context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] } } }If you already have other MCP servers configured, only add this part inside mcpServers:"context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] }Example with another server:{ "mcpServers": { "context7": { "command": "npx", "args": ["-y", "@upstash/context7-mcp@latest"] }, "dummy-server": { "command": "dummy", "args": ["--mcp"] } } } - Save the file and restart Windsurf
Windsurf will load the new MCP configuration on start.
For more help, see the official Windsurf MCP documentation or visit our Resources page.