Skip to main content
Add AMFS to Cursor, Claude Code, or any MCP client. Your agents get persistent memory that compounds across sessions, machines, and teammates.

Cursor

Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
Copy the ready-made snippet from your AMFS Dashboard → Agents page. The MCP Connection Card has your URL and key pre-filled.

Claude Code

Add to ~/.claude/claude_desktop_config.json:

Verify

Restart your IDE after saving the config. Ask the agent to run amfs_stats() — if it returns a response, you’re connected.

What Your Agents Get

Once connected, agents have 20+ tools across five categories: Identity & Context Read & Write Agent Brain Decision Traces Timeline

Agent Identity

Agents should call amfs_set_identity at the start of every session:
Use kebab-case role names that persist across conversations: If amfs_set_identity isn’t called, the MCP server auto-detects identity from the IDE environment (cursor/<username>, claude-code/<username>).

AMFS Skill

Use this skill at the start of any session where AMFS MCP tools are connected. This skill covers the full session lifecycle: set identity, briefing, read/write, and commit outcome. Also use when storing decisions, retrieving past context, or referring to AMFS (agent memory) or persistent memory across sessions.

How Knowledge Compounds


Pinning a Version

To pin to a specific MCP server version:

Troubleshooting