
Agent Memory
A persistent memory layer for AI agents built on Cloudflare Workers, exposing both REST and MCP interfaces over JSON-RPC 2.0. You'd reach for this when your agent needs to remember context across conversations or sessions without managing your own database infrastructure. The server runs at the edge via Cloudflare's network and supports streamable HTTP transport, making it straightforward to integrate with Claude or other MCP-compatible clients. Useful for maintaining conversation history, user preferences, or any state that needs to survive beyond a single interaction without spinning up dedicated storage.
- tools
- 5
- transport
- HTTP
- last updated
- May 16, 2026
Install
From registry metadata$ npx add-mcp https://api.lazy-mac.com/agent-memory/mcp --name agent-memoryRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http agent-memory https://api.lazy-mac.com/agent-memory/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 5 toolsVerified live against the running server on Nov 6, 2026.
store_memoryStore a memory for an AI agent. Persists across sessions.4 params
Store a memory for an AI agent. Persists across sessions.
content*stringmetadataobjectnamespace*stringttlnumbersearch_memoriesSearch memories by namespace with optional text query.3 params
Search memories by namespace with optional text query.
limitnumbernamespace*stringqstringget_memoryRetrieve a specific memory by ID.1 params
Retrieve a specific memory by ID.
id*stringdelete_memoryDelete a specific memory by ID.1 params
Delete a specific memory by ID.
id*stringclear_namespaceDelete all memories in a namespace.1 params
Delete all memories in a namespace.
namespace*stringSponsors
Readme
agent-memory-api
Cloudflare Workers MCP server: agent-memory. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/agent-memory
Details
- Repository
- github.com/lazymac2x/agent-memory-api
- Categories
- AI & LLM Tools, Cloud & Infrastructure
- Transport
- HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026
More from lazymac2x
- Agent Trace Auditor
- Agent Workflow Engine
- Ai Agent Scratchpad
- Ai Budget Planner
- Ai Changelog Writer
- Ai Cost Optimizer
- Ai Eval
- Ai Guardrails
- Ai Model Router
- Ai Prompt Optimizer
- Ai Provider Status
- Ai Rate Limit Tracker
- Ai Token Counter
- Api Changelog Tracker
- Api Composition Gateway
- Api Contract Validator
- Api Diff Monitor
- Api Flow Analyzer
- Api Payload Auditor
- Api Perf Analyzer
- Api Request Deduplicator
- Api Response Cost Analyzer
- Api Schema Drift Detector
- Blog