LocalFree

Magnet Gateway MCP server

helinakdogan/magnet-gateway

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

Install Magnet Gateway in Claude Code

Claude Code
claude mcp add magnet-gateway -e MAGNET_USER_ID=... -- uvx agent-magnet
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "magnet-gateway": {
      "command": "uvx",
      "args": [
        "agent-magnet"
      ],
      "env": {
        "MAGNET_USER_ID": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Magnet Gateway MCP server do?

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

Is the Magnet Gateway MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Magnet Gateway run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Magnet Gateway to Claude Code?

Run: claude mcp add magnet-gateway -e MAGNET_USER_ID=... -- uvx agent-magnet

More knowledge, memory & rag MCP servers

View all