Windsurf
Manual config
Terminal window
Windsurf (by Codeium) supports MCP servers. Add Sigil to ~/.codeium/windsurf/mcp_config.json.
-
Get the correct config for your machine:
Terminal window sigil register --print -
Open
~/.codeium/windsurf/mcp_config.json(create it if it doesn’t exist) and add thesigilentry:{"mcpServers": {"sigil": {"command": "/usr/local/bin/node","args": ["/path/to/sigil/dist/server.js", "--mcp"],"env": { "DOTENV_CONFIG_PATH": "/Users/you/.sigil/.env" }}}} -
Restart Windsurf. Sigil tools are now available in Cascade.
Nudging Windsurf to use memory
Section titled “Nudging Windsurf to use memory”Add a rule to Windsurf’s global rules or your project’s .windsurfrules:
Before answering questions about this project's architecture, decisions, orpreferences, call the Sigil `search` MCP tool. When the user shares a decisionor preference worth keeping, call `ingest` to save it.CLI fallback
Section titled “CLI fallback”Windsurf has terminal access. Use the Sigil CLI directly:
sigil search "event delivery setup"sigil remember "Windsurf found we use Drizzle with Postgres, not Prisma"