DM

doobidoo/mcp-memory-service

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2053 stars 366 forks 质量 90 趋势 49Apache-2.0

为AI代理管道(LangGraph、CrewAI、AutoGen)和Claude提供开源持久内存。REST API + 知识图谱 + 自治整合。

概览

AI代理的开源内存后端—— 。一个自架服务,每次传输。代理存储决策、共享因果知识图谱,并在5毫秒内获取上下文——无需云锁定或API成本。 ▶ 动态的三维知识图谱——每个记忆都是发光的节点,每个关系都是弯曲的边缘。(视频不播放?可在mcpmemory.services观看实时观看。) 当你开始新聊天时,你的AI助手会忘记所有内容。你花10分钟重新解释你的架构。MCP内存服务自动捕捉项目上下文、架构决策和代码模式——新会话从已知的所有内容开始。

概述(AI 翻译)

AI代理流水线的持久共享内存

AI代理的开源内存后端——REST API、MCP、OAuth、CLI、仪表盘。每个传输都有一个自托管服务。 代理存储决策,共享因果知识图谱,并检索 上下文只需5毫秒——无需云锁定或API成本。

支持 LangGraph ·CrewAI ·AutoGen ·任何 HTTP 客户端 ·Claude Desktop ·OpenCode



▶ 动态的三维知识图谱——每一段记忆都是发光的节点,每一段关系都是弯曲的边缘。


为什么特工需要这个

当你开始新聊天时,你的AI助手会忘记所有内容。你花10分钟重新解释你的架构。又一次。 MCP内存服务自动捕捉项目上下文、架构决策和代码模式——新会话开始时已掌握所有已知内容。

无mcp-memory-service 含mcp-memory-service
每次代理运行从零开始 代理在5毫秒内检索先前决策
内存本地化于一个图/运行 内存在所有代理之间共享并运行
你管理 Redis + Pinecone + 胶水代码 一个自托管服务,零云端成本

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

mcp-memory-service

Persistent Shared Memory for AI Agent Pipelines

Open-source memory backend for AI agents — REST API, MCP, OAuth, CLI, dashboard. One self-hosted service, every transport. Agents store decisions, share causal knowledge graphs, and retrieve context in 5ms — without cloud lock-in or API costs.

Works with LangGraph · CrewAI · AutoGen · any HTTP client · Claude Desktop · OpenCode




Why Agents Need This

Your AI assistant forgets everything when you start a new chat. You spend 10 minutes re-explaining your architecture. Again. MCP Memory Service captures project context, architecture decisions, and code patterns automatically — new sessions start with everything already known.

Without mcp-memory-service With mcp-memory-service
Each agent run starts from zero Agents retrieve prior decisions in 5ms
Memory is local to one graph/run Memory is shared across all agents and runs
You manage Redis + Pinecone + glue code One self-hosted service, zero cloud cost
No causal relationships between facts Knowledge graph with typed edges (causes, fixes, contradicts)
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "memory": { "command": "memory", "args": ["server"] } } }