Skip to content

Windsurf

Manual config

Windsurf (by Codeium) supports MCP servers. Add Sigil to ~/.codeium/windsurf/mcp_config.json.

  1. Get the correct config for your machine:

    Terminal window
    sigil register --print
  2. Open ~/.codeium/windsurf/mcp_config.json (create it if it doesn’t exist) and add the sigil entry:

    {
    "mcpServers": {
    "sigil": {
    "command": "/usr/local/bin/node",
    "args": ["/path/to/sigil/dist/server.js", "--mcp"],
    "env": { "DOTENV_CONFIG_PATH": "/Users/you/.sigil/.env" }
    }
    }
    }
  3. Restart Windsurf. Sigil tools are now available in Cascade.

Add a rule to Windsurf’s global rules or your project’s .windsurfrules:

Before answering questions about this project's architecture, decisions, or
preferences, call the Sigil `search` MCP tool. When the user shares a decision
or preference worth keeping, call `ingest` to save it.

Windsurf has terminal access. Use the Sigil CLI directly:

Terminal window
sigil search "event delivery setup"
sigil remember "Windsurf found we use Drizzle with Postgres, not Prisma"