AgentRAM ships an MCP server, so any MCP-compatible client, Claude Code, Codex, Cursor, Cline, Claude Desktop, the OpenAI Agents SDK, can give its agent persistent memory with a single config block. This is the shared foundation the other integration guides build on.
In one line: AgentRAM ships an MCP server, so any MCP-compatible client can give its agent persistent, named memory by adding a single server entry. No SDK, no vector database.
MCP, the Model Context Protocol, is a standard way for agent clients to load external tools. AgentRAM publishes an MCP server, agentram-mcp, that exposes its memory operations, store, recall, list, search, delete, and shared memory, as tools. You register the server once, and from then on your agent can remember and recall as part of its normal tool use.
Because it is standard MCP, the same server works in Claude Code, Codex, Cursor, Cline, Claude Desktop, and the OpenAI Agents SDK. The only thing that changes between them is where the config lives, which the client guides below cover.
npx. Check with node -v.Every MCP client needs the same three things: the command, its arguments, and an environment variable holding your API key. The generic entry looks like this:
{
"mcpServers": {
"agentram": {
"command": "npx",
"args": ["-y", "agentram-mcp"],
"env": { "AGENTRAM_API_KEY": "agentram_your_key_here" }
}
}
}Keep your key in an environment variable rather than committing it. Where this block lives depends on your client.
Using Cursor, Cline, or Claude Desktop? They read the same mcpServers block shown above in their MCP settings.
Once the server is connected, your agent has memory tools. Ask it to store something:
Store my preferred language as "French" under the key user_language.Then, in a brand new session, ask it to recall:
What is my preferred language? Recall user_language from AgentRAM.It reads the value back from AgentRAM instead of starting from nothing. That is the whole point: memory that outlives the session.
To confirm the connection, ask your agent to list the AgentRAM tools it can see, then store and recall one test value. If it reads back the same value, you are done.
AGENTRAM_API_KEY is set and starts with agentram_.node -v.AgentRAM is a simple memory API for AI agents. One call to store, one to recall, shared across agents, no vector database. Store your first memory in about a minute.
Get your API key1,000 free operations. No credit card.
© 2026 AgentRAM. All rights reserved.