MCP server: One MCP server.

Agent Magnet

@helinakdoganMCP server · External

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

AI memoryv0.1.11MITPython
Freeno charge per call

Runs on your machine from its package; the steps are below.

Agent Magnet
From the README

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

PyPIagent-magnetv0.1.11

Run

uvx agent-magnet

MCP client config

{
  "mcpServers": {
    "agent-magnet": {
      "command": "uvx",
      "args": [
        "agent-magnet"
      ]
    }
  }
}
README1 min read

Agent Magnet

PyPI

Your AI forgets your project every new session. This fixes that.

What it does

  • Learns automatically as you work — no "remember this" required
  • Shares one memory across Claude, Cursor, and Codex
  • Lets you forget or mark things done — memory doesn't just pile up

Quick start

bash
pip install agent-magnet
agent-magnet init

That's the whole install. No Redis, no keys, local by default.

What it remembers

Decisions, conventions, watch-outs, failed attempts, goals, preferences, and actions taken — one memory, sorted automatically.

Team memory

Shared memory for a team — one person's decision becomes everyone's context. Requires a paid Agent Magnet key from agentmagnet.app.

Works everywhere

Claude, Cursor, Codex — same memory, local by default. agent-magnet init detects and configures Claude Code, Claude Desktop, and Cursor for you.

Manual MCP config (Codex, or any other MCP client)
json
{
  "mcpServers": {
    "agent-magnet": {
      "command": "agent-magnet-mcp",
      "env": { "MAGNET_USER_ID": "your_name" }
    }
  }
}

MIT licensed. Contribute — and a ⭐ if this saved your context window.

Similar modules

Browse AI memory