All Frameworks
Cursor / Windsurf Quickstart
Give Cursor and Windsurf persistent memory across coding sessions.
1Setup (30 seconds)
$ npm install -g agmry
$ agmry init --write
# Creates .mcp.json, shows agent instructions, test commands
# Already have a key? agmry login --local
# New user? agmry signup my-project --email you@co --local
2Add MCP Config
agmry init --write creates .mcp.json automatically. Cursor and Windsurf read it on startup.
// .mcp.json (created by agmry init --write)
{
"mcpServers": {
"agenticmemory": {
"type": "stdio",
"command": "agmry",
"args": ["mcp-serve"]
}
}
}
3Add Agent Instructions
Add to your .cursorrules or .windsurfrules:
## Agentic Memory
Use the agmry CLI for persistent memory across sessions.
Key is in .agmry/config.json (auto-loaded).
agmry store SPACE "what happened" # remember something
agmry recall SPACE # what was said recently
agmry search SPACE "the deadline" # find past context
agmry boot SPACE --json # load everything at session start
4Verify
$ agmry health
$ agmry store SPACE_ID "test from cursor"
$ agmry recall SPACE_ID
Starter ($1 one-time): 1 space, 1K messages/month. Upgrade to Pro ($24.99/mo) for semantic search and auto-summaries.