Skip to content
Windsurf

Cortex RMCP for Windsurf

ai.dinglebear/cortex

Self-hosted homelab log intelligence over MCP, CLI, and REST with SQLite/FTS.

client:Windsurf transport:stdio runtime:npm

Install Cortex RMCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "cortex": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/cortex"
      ],
      "env": {
        "CORTEX_HOME": "<CORTEX_HOME>",
        "CORTEX_TOKEN": "<CORTEX_TOKEN>",
        "CORTEX_API_TOKEN": "<CORTEX_API_TOKEN>",
        "CORTEX_RMCP_VERSION": "<CORTEX_RMCP_VERSION>",
        "CORTEX_RMCP_REPO": "<CORTEX_RMCP_REPO>",
        "CORTEX_RMCP_RELEASE_BASE_URL": "<CORTEX_RMCP_RELEASE_BASE_URL>",
        "RUST_LOG": "<RUST_LOG>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Cortex RMCP in other clients