# Windsurf


# Set up banish for Windsurf

banish runs as an MCP server. Register it in Windsurf and every command Cascade
runs through banish comes back compacted, so it spends far fewer tokens on verbose
shell and tool output.

## Prerequisites

- banish installed. See [install](/docs/getting-started/install) and confirm with
  `banish version`.
- Windsurf, which supports MCP servers over stdio.

## Register banish

Add banish to the Windsurf MCP config at
`~/.codeium/windsurf/mcp_config.json` (on Windows,
`%USERPROFILE%\.codeium\windsurf\mcp_config.json`):

```json
{
  "mcpServers": {
    "banish": { "command": "banish", "args": ["serve"] }
  }
}
```

Restart Windsurf after editing so Cascade reloads the server list. If Windsurf
cannot find banish on your PATH, replace `"banish"` with the absolute path from
`which banish`.

## Verify

Open Cascade and check its available tools. banish exposes every verb in your
extensions as an MCP tool - with the defaults you get 45-plus tools such as
`banish_gs`, `banish_dps`, and `banish_kpods`. If they appear, banish is wired in.

## What you get

Cascade now reads compacted output through banish. See
[MCP server](/docs/concepts/mcp-server) for how verbs become tools, the
[benchmarks](/docs/reference/benchmarks) for measured savings, and
[set up an agent](/docs/getting-started/set-up-an-agent) for the general flow.

Other agents: [Gemini CLI](/docs/integrations/gemini-cli),
[OpenAI Codex](/docs/integrations/codex), [Cline](/docs/integrations/cline),
[GitHub Copilot](/docs/integrations/copilot).
