Clients
Windsurf
Manual Configuration
Option 1: stdio (Recommended)
- Open Windsurf
- Navigate to MCP Configuration via the Cascade toolbar or Command Palette (
Cmd + Shift + P→ "MCP") - Add the following to your MCP configuration:
{
"mcpServers": {
"macuse": {
"command": "/Applications/Macuse.app/Contents/MacOS/macuse",
"args": ["mcp"]
}
}
}- Save and restart Windsurf
Option 2: HTTP with API Key
If stdio doesn't work, you can connect via HTTP using an API Key:
- Open Macuse Settings → Connections, click +, enter "Windsurf" as the name, and click Create
- Copy the API key immediately (it is only shown once)
- Add the following to your Windsurf MCP configuration:
{
"mcpServers": {
"macuse": {
"url": "http://127.0.0.1:35729/mcp",
"headers": {
"Authorization": "Bearer <your_api_key>"
}
}
}
}- Save and restart Windsurf
If you skip creating an API key manually, Macuse can also detect Windsurf automatically after 3 failed connection attempts and prompt you to generate one. See Automatic Detection for details.
See the API Keys page for more details.
Verifying the Connection
- Open Windsurf and start a new AI chat
- Ask the AI to "list available Macuse tools"
- If configured correctly, the AI will show the available toolboxes