Integrations

Windsurf

Connect Contxt to Windsurf via MCP. Your project's decisions and patterns are available to Cascade in every session.

Prerequisites

  • Contxt CLI installed and authenticated (contxt auth login)
  • A project initialized (contxt init)
  • Windsurf 1.0 or later

Add to Windsurf MCP settings

Open Windsurf → Settings → MCP Servers, then add Contxt. You can also edit ~/.codeium/windsurf/mcp_config.json directly:

{
  "mcpServers": {
    "contxt": {
      "command": "contxt",
      "args": ["mcp"]
    }
  }
}

Restart Windsurf after saving.

Using Contxt in Cascade

Once connected, Cascade can load your project context on demand:

Example prompts
  • "What decisions have we made about the database layer?"
  • "Load my project context and help me add a new API endpoint"
  • "Are there any patterns I should follow for error handling?"

Cascade will call contxt_suggest to retrieve relevant decisions and patterns, then use that context throughout the session.