ultramem-mcp
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., "@ultramem-mcpget my profile"
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.
ultramem-mcp
Give any MCP client durable, cross-session memory. An MCP server that exposes an UltraMem deployment's memory layer to Claude Desktop/Code, Cursor, and any other MCP client — so your agent remembers across sessions.
It's a thin client of the UltraMem HTTP API: every tool is a call to your running ultramem-server, so there's one source of truth and nothing to keep in sync.
Tools
Tool | What it does | API |
| Semantic search → relevant documents + distilled facts |
|
| Newest-first enumeration over a recent window (optionally by source) |
|
| Write a memory back (task outcomes, user statements) |
|
| The standing static + dynamic profile to inject as context |
|
Related MCP server: LedgerMem MCP Server
Prerequisites
A running UltraMem server (see the UltraMem repo — cargo run -p ultramem-server or docker compose up). You need its URL and API key.
Install (one line)
No clone, no build — npx runs it straight from GitHub:
claude mcp add ultramem \
-e ULTRAMEM_API_URL=http://localhost:8080 \
-e ULTRAMEM_API_KEY=your-key \
-e ULTRAMEM_CONTAINER_TAG=user_123 \
-- npx -y github:Akpughe/ultramem-mcp{
"mcpServers": {
"ultramem": {
"command": "npx",
"args": ["-y", "github:Akpughe/ultramem-mcp"],
"env": {
"ULTRAMEM_API_URL": "http://localhost:8080",
"ULTRAMEM_API_KEY": "your-key",
"ULTRAMEM_CONTAINER_TAG": "user_123"
}
}
}
}Configuration
Env var | Required | Default | Purpose |
| no |
| Base URL of your |
| yes (if the server enforces auth) | — | Sent as |
| no | server default | Namespace (one per user/agent). A tool's |
Security: the API key scopes a namespace — treat it like a password and never commit it.
The agent pattern
On session start, call get_profile and prepend it to the system prompt ("what you always know about the user"). During the task, recall_search for specifics and add_memory to persist outcomes. That's the "always-known context" trick, self-hosted.
Develop locally
git clone https://github.com/Akpughe/ultramem-mcp && cd ultramem-mcp
npm install # also builds via the prepare script
node dist/index.js # speaks JSON-RPC over stdioSmoke-test by hand:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' \
| ULTRAMEM_API_URL=http://localhost:8080 node dist/index.jsLicense
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Alicense-qualityDmaintenanceMCP server providing managed persistent memory for AI agents. Read and write structured state across sessions, tools, and restarts at 1000+ requests per second, with no infrastructure to self-host or operate.Last updated2Apache 2.0
LedgerMem MCP Serverofficial
Alicense-qualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.Last updated24MIT- Flicense-qualityBmaintenancePortable long-term memory store for agents, exposed over MCP.Last updated
- Alicense-qualityBmaintenanceProvides a memory layer for personal agents, enabling MCP-compatible agents to store and query profile, factual, episodic, and procedural memory.Last updatedMIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Cloud-hosted MCP server for durable AI memory
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Akpughe/ultramem-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server