A-MEM MCP Server
Memory Control Protocol (MCP) server for the Agentic Memory (A-MEM) system - a flexible, dynamic memory system for LLM agents
Overview
A-MEM MCP Server is a Memory Control Protocol (MCP) server designed for the Agentic Memory (A-MEM) system, which provides a flexible and dynamic memory system for LLM (Large Language Model) agents.
To use the A-MEM MCP Server, clone the repository from GitHub, install the required dependencies, and start the server using Uvicorn. You can then interact with the server through its RESTful API endpoints for memory operations.
- RESTful API for memory operations - Dynamic memory organization based on Zettelkasten principles - Intelligent indexing and linking of memories - Comprehensive note generation with structured attributes - Interconnected knowledge networks - Continuous memory evolution and refinement - Agent-driven decision making for adaptive memory management
- Creating and managing memory notes for LLM agents.
- Searching and retrieving memories based on specific queries.
- Updating and deleting memory notes as needed.
- Integrating with various LLM frameworks for enhanced memory management.
Add to your AI client
Use these steps to connect A-MEM MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"a-mem-mcp-server-titan-co": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"a-mem-mcp-server-titan-co": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"a-mem-mcp-server-titan-co": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"a-mem-mcp-server-titan-co": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"a-mem-mcp-server-titan-co": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"a-mem-mcp-server-titan-co": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-a-mem-mcp-server-titan-co"
]
}
}
}FAQ
What is the purpose of the A-MEM MCP Server?
The A-MEM MCP Server facilitates memory management for LLM agents, allowing for dynamic organization and retrieval of memories.
How can I access the API documentation?
Interactive API documentation is available at Swagger UI and ReDoc endpoints once the server is running.
Is there a specific LLM backend required?
The server can be configured to use either OpenAI or Ollama as the LLM backend.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3409,"uuid":"21d8ef0d-2216-4a7d-8771-eaca9ad97caf","name":"a-mem-mcp-server","title":"A-MEM MCP Server","description":"Memory Control Protocol (MCP) server for the Agentic Memory (A-MEM) system - a flexible, dynamic memory system for LLM agents","avatar_url":"https://avatars.githubusercontent.com/u/67714546?v=4","created_at":"2025-03-19T10:40:02.670Z","updated_at":"2025-03-19T10:43:59.455Z","status":"created","author_name":"Titan-co","author_avatar_url":"https://avatars.githubusercontent.com/u/67714546?v=4","tags":"memory,mcp,llm-agents","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/Titan-co/a-mem-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":null,\"is_official\":false,\"latest_commit_time\":\"2025-03-19 17:45:55\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]