Skip to content
Windsurf

agent magnet for Windsurf

io.github.helinakdogan/agent-magnet

Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.

client:Windsurf transport:stdio runtime:pypi

Install agent magnet 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": {
    "agent-magnet": {
      "command": "uvx",
      "args": [
        "agent-magnet"
      ],
      "env": {
        "MAGNET_USER_ID": "<MAGNET_USER_ID>",
        "MAGNET_OPENAI_KEY": "<MAGNET_OPENAI_KEY>",
        "MAGNET_LOCAL_MODE": "<MAGNET_LOCAL_MODE>",
        "MAGNET_REDIS_URL": "<MAGNET_REDIS_URL>",
        "MAGNET_PROJECT_ID": "<MAGNET_PROJECT_ID>"
      }
    }
  }
}

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

agent magnet in other clients