Windsurf is a full-stack AI coding IDE that supports the Model Context Protocol natively. MCP servers give Windsurf's AI access to external data: databases, APIs, internal tools, monitoring dashboards. Instead of copying context into chat, your AI pulls it directly.
This tutorial walks through connecting any MCP server to Windsurf, from config file to working tool calls.
In Windsurf, open the command palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows/Linux) and search for:
MCP: Configure ServersThis opens your MCP configuration file. If it doesn't exist yet, Windsurf creates it automatically.
Add an entry to the mcpServers object:
{
"mcpServers": {
"my-server": {
"type": "sse",
"url": "https://datafaucet.dev/api/mcp/YOUR_SERVER_ID/sse",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Replace YOUR_SERVER_ID and YOUR_API_KEY with values from your DataFaucet dashboard (or whatever MCP server you're connecting).
If you're running a local MCP server (like one built with the MCP SDK), use stdio transport instead:
{
"mcpServers": {
"local-tools": {
"type": "stdio",
"command": "node",
"args": ["path/to/your/server.js"]
}
}
}After saving the config, Windsurf auto-detects the change and connects to your server. You'll see the server name appear in the MCP panel. If it doesn't connect immediately, restart Windsurf.
Open a new AI chat in Windsurf and type something that would trigger your server's tools. For example, if you connected a Notion MCP server:
Search my Notion workspace for "Q2 roadmap"Windsurf's AI will show the MCP tool call in the response, including the request and response data.
MCP tools work anywhere Windsurf's AI operates:
Connect a PostgreSQL MCP server, then ask Windsurf to write a migration based on your current schema. It reads the schema directly instead of you pasting it in.
Connect a Datadog or Grafana MCP server. When debugging a performance issue, Windsurf pulls metrics and logs without leaving the editor.
Stack as many servers as you need:
{
"mcpServers": {
"notion": {
"type": "sse",
"url": "https://datafaucet.dev/api/mcp/notion-id/sse",
"headers": { "Authorization": "Bearer key1" }
},
"stripe": {
"type": "sse",
"url": "https://datafaucet.dev/api/mcp/stripe-id/sse",
"headers": { "Authorization": "Bearer key2" }
},
"postgres": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
}
}
}Each server's tools are available independently. Windsurf routes calls to the right server based on which tool is invoked.
Server shows "disconnected": Check the URL is reachable. For SSE servers, try opening the URL in a browser. You should see an SSE event stream.
Tools not appearing: Make sure the server implements the MCP tools/list method. DataFaucet servers do this automatically.
Auth errors: Verify your API key is correct and hasn't expired. For DataFaucet servers, check your dashboard for the current key.
Timeout on connect: Some corporate networks block SSE connections. Try using a local proxy or ask your network admin to whitelist the endpoint.
Don't have an MCP server yet? Create one in 60 seconds:
You get an SSE endpoint ready to paste into your Windsurf config. No code, no hosting, no API docs to read.
Create your Windsurf Docs MCP server in 60 seconds.
Try with Windsurf Docs →{
"mcpServers": {
"windsurf-docs": {
"url": "https://datafaucet.dev/api/mcp/YOUR_SERVER_ID/sse"
}
}
}Replace YOUR_SERVER_ID with the ID from your DataFaucet dashboard after creating your Windsurf Docs server.
Point DataFaucet at Windsurf Docs and get a working server in 60 seconds.
Create Windsurf Docs server free →After creating, add to Claude Desktop:
"windsurf-docs": {
"url": "https://datafaucet.dev/api/mcp/YOUR_ID/sse"
}Free plan includes 3 servers. Upgrade to Pro for unlimited →
How to connect MCP servers to Windsurf IDE. Add SSE endpoints to Cascade, give Windsurf AI access to external APIs and tools.
A startup connected Stripe, Linear, Slack, Vercel, and PostHog to AI via MCP. Standup prep went from 15 minutes to one prompt.
Step-by-step guide to debugging MCP server connections. Fix SSE timeouts, tool discovery failures, auth errors, and protocol mismatches.
See how DataFaucet compares
Point at any URL. Get a working MCP server in 60 seconds. No API docs needed.
Works with ChatGPT, Claude, Cursor, Copilot, Windsurf, JetBrains, and any MCP client
Get notified when new integrations launch
Join 500+ builders. New templates, guides, and MCP tips. No spam.