agentram-mcp
The agentram-mcp server provides persistent, cloud-backed memory for AI agents via the AgentRAM API. It offers the following capabilities:
Personal Agent Memory
Store a memory: Save a key-value pair for a specific agent, with an optional expiry (
ttl_days). Overwrites existing keys without duplicates.Retrieve a memory: Fetch a stored value by agent ID and key.
List memories: Get all memories for an agent, sorted newest first (up to 200), with expired entries excluded.
Search memories: Perform a case-insensitive text search across both keys and values — no embeddings or vector setup required.
Delete a memory: Permanently remove a specific memory by agent ID and key.
Shared Multi-Agent Memory
Create a namespace: Create a shared memory pool (free) that multiple agents can read from and write to.
Store shared memory: Write a key-value pair into a shared namespace, accessible by any agent with the namespace key.
Retrieve shared memory: Read a value from a shared namespace by key.
List shared memories: List all entries in a shared namespace, sorted by most recent.
Utility
Check credits: View your current AgentRAM account balance. This call is free.
Most operations cost 1 credit each.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentram-mcpStore that my favorite color is blue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentram-mcp
Model Context Protocol server for AgentRAM. Give your AI agents persistent memory in Claude Desktop, Cline, Cursor, and any other MCP-compatible client.
What you get
10 MCP tools that map 1:1 to the AgentRAM REST API.
Personal agent memory
store_memory: Write a value under anagent_id+key. Optionalttl_daysfor auto-expiry.retrieve_memory: Read a memory back byagent_id+key. Refunds the credit on 404.list_memories: List everything stored for an agent, newest first.search_memories: Case-insensitive text search across keys and values. No embeddings needed.delete_memory: Permanently delete a memory.
Shared multi-agent memory
create_namespace: Create a shared memory pool that multiple agents can read and write to. Free.store_shared_memory: Write to a shared namespace.retrieve_shared_memory: Read from a shared namespace.list_shared_memories: List everything in a namespace.
Utility
check_credits: Show your current account balance. Free, no credit deducted.
Each non-free tool costs 1 credit. Reads and writes are the same price.
Related MCP server: agentbay-mcp
Get an API key
Sign up at agentram.dev. You get 100 free credits on signup. No credit card required.
Install in Claude Desktop
Edit claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add:
{
"mcpServers": {
"agentram": {
"command": "npx",
"args": ["-y", "agentram-mcp"],
"env": {
"AGENTRAM_API_KEY": "agentram_your_key_here"
}
}
}
}Restart Claude Desktop. The 10 tools will appear in the MCP picker.
Install in Cline (VS Code)
In Cline's MCP settings, add:
{
"mcpServers": {
"agentram": {
"command": "npx",
"args": ["-y", "agentram-mcp"],
"env": {
"AGENTRAM_API_KEY": "agentram_your_key_here"
}
}
}
}Install in Cursor
In Cursor's MCP settings, add:
{
"mcpServers": {
"agentram": {
"command": "npx",
"args": ["-y", "agentram-mcp"],
"env": {
"AGENTRAM_API_KEY": "agentram_your_key_here"
}
}
}
}Try it locally before publishing
npm install
npm run build
AGENTRAM_API_KEY=your_key node dist/index.jsOr open the MCP Inspector web UI:
AGENTRAM_API_KEY=your_key npx @modelcontextprotocol/inspector node dist/index.jsThe Inspector lets you list tools and invoke each one manually to verify everything works against the real API.
Environment variables
Variable | Required | Description |
| Yes | Your AgentRAM API key, starts with |
| No | Override the API base URL. Defaults to |
Links
AgentRAM website: agentram.dev
Full API docs: agentram.dev/docs.html
License
MIT
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seanmarkwei/agentram-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server