Install Magnet Gateway in Claude Code
claude mcp add magnet-gateway -e MAGNET_USER_ID=... -- uvx agent-magnet{
"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 allmemalyze
mahaoboy/memalyze
Self-hosted agent memory: redaction before write, append-only audit, local embeddings.
Loom
KlossKarl/loom
Local-first personal knowledge base. Cited answers from your vault via vector + graph retrieval.
Memento
annibale-x/mcp-memento
An MCP server that provides persistent memory and context management across sessions
Lodekeep
com.lodekeep/memory
Memory MCP server for Claude Code. Correct a fact and the old version stops being recalled.
MemoCat — Shared AI Memory
MontyGovernance/memocat-mcp
One shared, persistent memory across AI agents and systems, with semantic recall and live updates.
Locus
Nano-Nimbus/locus
Hierarchical markdown memory palace for AI agents — structured palace navigation via MCP tools.