Memory 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., "@Memory MCPremember that I prefer dark mode"
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.
Memory MCP
A persistent, cross-provider memory server using FastMCP, Langchain, and Postgres.
Features
MCP Server that agents can use to store facts about the user
Transferrable across providers - usable across multiple agents
Compatible with any MCP-capable agent (Claude Desktop, Claude Code, Opencode, etc.)
Backed by Postgres to ensure data persistence and scalability
Support multiple users from a single server
Exposes two tools to your agent:
search_memory: Search the database for memories about the userupsert_memory: Add/update memories for the user
Related MCP server: brain-mcp
Prerequisites
Docker/Podman compose
Openshift CLI
Usage
Local
Clone the repository:
git clone https://github.com/taagarwa-rh/memory_mcp.git cd memory_mcpSpin up the services:
# For Podman podman compose up -d # For Docker docker compose up -dThe MCP server will now be available at
http://localhost:1313/mcp
Openshift
(Optional) Update the postgres username and password in secret.yaml
Deploy the resources
oc apply -n <your-namespace> -f deployFetch the route:
ROUTE=$(oc get route memory-mcp -o jsonpath='{.spec.host}') ROUTE="https://$ROUTE/mcp" echo $ROUTE
Connect to Agents
Claude Desktop
{
"mcpServers": {
"memory": {
"transport": "http",
"url": "<mcp-route>",
"headers": {
"X-User-Id": "your_user_id"
}
}
}
}Claude Code
claude mcp add --transport http memory https://<mcp-route>/mcp --header "X-User-Id: <your-username>"OpenCode
opencode mcp addLocation: Either Name: memory Type: Remote URL: https:///mcp
Then in your opencode.json, add the user ID header:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"memory": {
"type": "remote",
"url": "https://<mcp-route>/mcp",
"headers": {
"X-User-Id": "<your-username>"
}
}
}
}This server cannot be installed
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-qualityDmaintenanceA self-hosted, multi-context memory server that enables AI agents to search and retrieve information from local documents and crawled websites via MCP tools. It runs fully offline using Postgres and Ollama to provide secure, private knowledge management and retrieval-augmented generation.Last updated2MIT
- Alicense-qualityDmaintenanceAn MCP server that provides persistent semantic memory backed by PostgreSQL and pgvector for storing and searching thoughts via vector embeddings. It enables dimensional organization, conflict detection, and historical tracking of facts, decisions, and observations.Last updated27AGPL 3.0
- Alicense-qualityDmaintenanceA local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.Last updated381Apache 2.0
- Alicense-qualityAmaintenanceFramework-agnostic MCP server for agent memory with Postgres + pgvector, enabling persistent memory, recall, and task management across sessions.Last updatedMIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
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/taagarwa-rh/memory_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server