Windsurf

Windsurf is Codeium’s AI-powered IDE. Its Cascade feature supports MCP servers, letting you use Toolcog for API operations while coding.

Prerequisites

Configuration

Windsurf uses a JSON configuration file for MCP servers.

Config File Location

OSPath
macOS/Linux~/.codeium/windsurf/mcp_config.json
Windows%USERPROFILE%\.codeium\windsurf\mcp_config.json

Add Toolcog

Create or edit mcp_config.json:

{
"mcpServers": {
"toolcog": {
"url": "https://mcp.toolcog.com"
}
}
}

Enable MCP in Settings

  1. Open Windsurf Settings (Cmd+Shift+P → “Open Windsurf Settings”)
  2. Navigate to CascadeAdvanced Settings
  3. Enable the Model Context Protocol option

Refresh Servers

After adding a new MCP server, press the refresh button in the Cascade panel to load it.

Using Toolcog

With Toolcog connected, ask Cascade:

“Find the Shopify API operation for creating products”

Cascade will use Toolcog to discover operations and help integrate them into your code.

Authentication

When Cascade needs to access your Toolcog account:

  1. Cascade displays an authorization link
  2. Click to sign in to Toolcog in your browser
  3. Return to Windsurf

For downstream services (GitHub, Stripe, etc.), the same pattern applies.

Catalogs

Connect to specific catalogs:

{
"mcpServers": {
"toolcog-internal": {
"url": "https://mcp.toolcog.com/mycompany/internal-apis"
}
}
}

Limitations

Verify It’s Working

In Cascade, ask:

“What operations does Toolcog have for Stripe?”

If you see a list of Stripe operations, Toolcog is connected.

Troubleshooting

Server not appearing

Tools not working

Authentication errors

Next Steps