---
title: Add Cascades to Windsurf
description: "Add Cascades to Windsurf: config, install command and the scopes your API key needs for the Cascades MCP server."
canonical_url: "https://cascades.crscreditapi.com/docs/mcp/install/windsurf"
doc_version: "1.0.0"
last_updated: "2026-10-09T14:37:54Z"
source: docs/mcp/tools.json
---

# Add Cascades to Windsurf

1. Open Windsurf → Cascade panel → *MCP servers* → *Configure*, which opens `~/.codeium/windsurf/mcp_config.json`.
2. Merge the JSON below into the file.
3. Press *Refresh* in the MCP panel; the `cascades_*` tools are available to Cascade.

`~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "cascades": {
      "command": "npx",
      "args": [
        "-y",
        "@crscreditapi/cascades-mcp-server"
      ],
      "env": {
        "CASCADES_API_KEY": "{{API_KEY}}",
        "CASCADES_PROD_BASE_URL": "https://cascades.crscreditapi.com"
      }
    }
  }
}
```

## Notes

- `CASCADES_PROD_BASE_URL` is the host **without** `/api/v1` (`https://cascades.crscreditapi.com`); the server adds the prefix.
- The key needs `workflows:read`, `workflows:write`, `executions:read`, `executions:write`. A key missing a scope gets `403 insufficient_scope` on the affected tool only.
- Sandbox keys can only run in test mode: `execution_mode: "live"` is billable, needs a production-approved account, and is rejected for docs-issued keys.

## Test with MCP Inspector

```bash
CASCADES_API_KEY={{API_KEY}} CASCADES_PROD_BASE_URL=https://cascades.crscreditapi.com \
  npx @modelcontextprotocol/inspector npx -y @crscreditapi/cascades-mcp-server
```

## Other clients

- [Claude Code](https://cascades.crscreditapi.com/docs/mcp/install/claude-code.md)
- [Claude Desktop](https://cascades.crscreditapi.com/docs/mcp/install/claude-desktop.md)
- [Cursor](https://cascades.crscreditapi.com/docs/mcp/install/cursor.md)
- [VS Code](https://cascades.crscreditapi.com/docs/mcp/install/vscode.md)
- [ChatGPT](https://cascades.crscreditapi.com/docs/mcp/install/chatgpt.md)

## Sitemap

See the full [sitemap](https://cascades.crscreditapi.com/sitemap.md) for all pages.
