Connecting to Windsurf
Integrate your Reeva MCP servers with Windsurf IDE for enhanced AI development.
For ready-to-use configuration snippets, navigate to your server in the Reeva Dashboard and expand the "Connect to MCP Clients" section.
Step-by-Step Setup
1. Get Your Server Configuration
From the Reeva Dashboard:
- Go to Servers → Select your server
- Expand the "Connect to MCP Clients" section
- Copy the configuration snippet
Your configuration looks like:
{
"mcpServers": {
"my-server-name": {
"url": "https://api.joinreeva.com/mcp/server_xxxxx",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
Replace YOUR_API_KEY_HERE with an API key linked to your server (found in the Linked API Keys section).
2. Open Windsurf MCP Settings
- Click the gear icon (⚙️) in the bottom left corner of Windsurf
- Select "Settings"
- Search for "MCP" in the settings search bar
- Click "Edit in settings.json" under MCP Servers
Alternatively, open the config file directly:
Mac/Linux:
~/.codeium/windsurf/mcp_config.json
Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.json
3. Add Your Server Configuration
Paste the configuration from the dashboard, or add manually:
{
"mcpServers": {
"reeva": {
"url": "https://api.joinreeva.com/mcp/server_YOUR_SERVER_ID",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
4. Save and Restart
- Save the configuration file
- Completely quit Windsurf
- Reopen Windsurf
5. Verify Connection
Test in Windsurf's AI chat:
Search the web for "TypeScript 5.3 features"
The AI should use your Reeva tools automatically.
Configuration Examples
Single Server
{
"mcpServers": {
"reeva": {
"url": "https://api.joinreeva.com/mcp/server_abc123",
"headers": {
"Authorization": "Bearer your_api_key_here"
}
}
}
}
Multiple Servers
{
"mcpServers": {
"reeva-research": {
"url": "https://api.joinreeva.com/mcp/server_abc123",
"headers": {
"Authorization": "Bearer api_key_for_research"
}
},
"reeva-productivity": {
"url": "https://api.joinreeva.com/mcp/server_xyz789",
"headers": {
"Authorization": "Bearer api_key_for_productivity"
}
}
}
}
With Descriptive Names
Use names that indicate what the server does:
{
"mcpServers": {
"web-scraping": {
"url": "https://api.joinreeva.com/mcp/server_abc123",
"headers": {
"Authorization": "Bearer your_api_key"
}
},
"notion-integration": {
"url": "https://api.joinreeva.com/mcp/server_xyz789",
"headers": {
"Authorization": "Bearer your_api_key"
}
}
}
}
Troubleshooting
Server Not Appearing
Problem: Server doesn't show up after restart.
Solutions:
- ✅ Verify JSON syntax is valid (no trailing commas, proper quotes)
- ✅ Check API key has no extra spaces
- ✅ Ensure the
Authorizationheader usesBearerprefix (with a space after Bearer) - ✅ Verify config file location is correct
- ✅ Completely restart Windsurf (not just reload)
Connection Issues
Problem: Can't connect to server
Solutions:
- ✅ Verify API key is correct and formatted as
Bearer YOUR_KEY - ✅ Check server is active in dashboard
- ✅ Restart Windsurf completely
- ✅ Check Windsurf MCP logs (View → Output → select "MCP")
"Authentication Failed"
Problem: Error about authentication when using tools.
Solutions:
- ✅ Verify your API key format:
Authorization: Bearer YOUR_KEY - ✅ Check key hasn't been revoked in dashboard
- ✅ Ensure API key is linked to the correct server
- ✅ Generate a new API key if needed
Tools Not Working
Problem: AI can't access tools
Solutions:
- ✅ Ensure server has custom tools added
- ✅ Test in Reeva Chat first
- ✅ Update Windsurf to latest version
- ✅ Check credits balance in dashboard