Windsurf
MCP Server Setup Guide
Windsurf by Codeium features the Cascade AI agent with full MCP support. Configuration is done through the settings UI — no JSON editing required.
Prerequisites
- Windsurf — download at codeium.com/windsurf
- anonym.legal API key — Pro or Business plan
Installation via Settings UI
Open Windsurf Settings
Go to Windsurf → Settings (or press Cmd/Ctrl+,). Navigate to the Cascade section, then MCP Servers.
Add New MCP Server
Click + Add Server. Fill in the form:
Name: anonym-legal Type: HTTP (Streamable HTTP) URL: https://anonym.legal/mcp Headers: Authorization: Bearer YOUR_API_KEY
Save and Verify
Click Save. Windsurf will connect and show the server status as Connected with 7 tools listed.
Alternative: JSON Config File
Windsurf also supports a JSON config file at ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"anonym-legal": {
"serverUrl": "https://anonym.legal/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Available Tools (7)
free
tokens
free
free
free
free
free
Operators (6)
John Smith → [CLIENT] or [PERSON]
john@acme.com → (removed)
John Smith → a3f9b1...
4111-xxxx → enc:U2FsdGVkX1...
john@acme.com → jo**@****.com
John Smith → John Smith (tracked)
Troubleshooting
Server shows "Error" status in Windsurf settings
Verify your API key and plan. Windsurf's MCP panel shows connection errors in real time. Also ensure URL is exactly https://anonym.legal/mcp (no trailing slash).
Cascade doesn't use MCP tools automatically
Ask Cascade explicitly: "Use the anonym_legal_analyze_text tool to scan this text." Cascade can auto-invoke but may prefer explicit instructions for MCP tools.