Setup
~/.codeium/windsurf/mcp_config.json
mcp_config.json
{
"mcpServers": {
"autoleads": {
"serverUrl": "https://api.grezy.org/mcp/al/"
}
}
}- 1In Windsurf, open Cascade → MCP → Configure to edit mcp_config.json.
- 2Paste the configuration above, then refresh the server list.
- 3A browser window opens: sign in to AutoLeads, review the requested permissions and click “Allow”.
With an API key
For a script or a shared setup without a browser sign-in.
mcp_config.json
{
"mcpServers": {
"autoleads": {
"serverUrl": "https://api.grezy.org/mcp/al/",
"headers": {
"Authorization": "Api-Key YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with the key you created in Settings → API keys and MCP.
- 1In Windsurf, open Cascade → MCP → Configure to edit mcp_config.json.
- 2Paste the configuration above, then refresh the server list.
Worth knowing
- Careful: Windsurf expects “serverUrl”, not “url” like Cursor or VS Code.
- With an API key, Windsurf expands ${env:MY_VARIABLE} and ${file:/path} inside headers.