Adding camelAI to Windsurf

Integrate camelAI directly into Windsurf’s Cascade to access powerful data analysis capabilities without leaving your development environment. Query your databases, generate insights, and get SQL results all within your AI-powered code editor.

For the latest official guidance from Windsurf, refer to their Cascade MCP integration documentation: Cascade MCP integration.

Step 1: Create MCP Configuration

Create or edit the MCP configuration file at ~/.codeium/windsurf/mcp_config.json:

mkdir -p ~/.codeium/windsurf
touch ~/.codeium/windsurf/mcp_config.json

Step 2: Configure the Server

Add the following configuration to your mcp_config.json file:

{
  "mcpServers": {
    "camelai": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://app.camelai.com/mcp",
        "--header",
        "Authorization: Bearer ${API_KEY}"
      ],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace your_api_key_here with your actual API key from app.camelai.com/api-keys.

Step 3: Refresh Plugins

After saving your configuration, press the refresh button in the Plugins section or restart Windsurf to load the new MCP server connection.

Managing Tools

Windsurf has a limit of 100 total tools available to Cascade at any given time. You can manage which camelAI tools are enabled:

Via Settings

Alternatively, go to Windsurf Settings > Cascade > Plugins and click the Manage plugins button to configure tool availability.

Using camelAI in Windsurf

Once configured, camelAI tools will be automatically available in Windsurf’s Cascade.

Tool Execution

Windsurf’s Cascade will automatically use camelAI tools when relevant to your queries. The AI will determine which tools to use based on the context of your conversation and requests.

Enterprise users may need to manually enable MCP integration via settings before using MCP servers.

Troubleshooting

Common Issues

Next Steps


Having issues with the integration? Reach out to our support team or check our troubleshooting guide above.