技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
pomazanbohdan/memory-mcp-1file

pomazanbohdan/memory-mcp-1file

🦀 🏠 🍎 🪟 🐧 - Persistent semantic and graph-based agent memory in a single self-contained binary with embedded…
在 GitHub 查看 ↗直链 · 无中转页
官方说明Memory MCP Server A high-performance, **pure Rust** Model Context Protocol (MCP) server that provides persistent, semantic, and graph-based memory for AI agents.
配置模板(请按你的客户端调整)
claude mcp add memory-mcp-1file -- npx -y memory-mcp-1file
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
25 ★ · pomazanbohdan/memory-mcp-1file · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 25 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 pomazanbohdan/memory-mcp-1file;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

🧠 Memory MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A high-performance, **pure Rust** Model Context Protocol (MCP) server that provides persistent, semantic, and graph-based memory for AI agents.
Works perfectly with:
* **Claude Desktop**
* **Claude Code** (CLI)
* **Gemini CLI**
* **OpenAI Codex** (CLI / IDE)
* **Cursor**
* **OpenCode**
* **Cline** / **Roo Code**
* Any other MCP-compliant client.
🏆 The "All-in-One" Advantage
Unlike other memory solutions that require a complex stack (Python + Vector DB + Graph DB), this project is **a single, self-contained executable**.
* ✅ **No External Database** (SurrealDB is embedded)
* ✅ **No API Keys, No Cloud, No Python** — Everything runs **100% locally** via an embedded ONNX runtime. The embedding model is baked into the binary and runs on CPU. Nothing leaves your machine.
* ✅ **Zero Setup** (Just run one Docker container or binary)
It combines:
1. **Vector Search** (FastEmbed) for semantic similarity.
2. **Knowledge Graph** (PetGraph) for entity relationships.
3. **Code Indexing** with **symbol graph** (calls, extends, implements) for deep codebase understanding.
4. **Hybrid Retrieval** (Reciprocal Rank Fusion) for best results.
🏗️ Architecture
> **Click here for the Detailed Architecture Documentation**
---
MCP Protocol & Transports
The server uses rmcp 3.2 and supports both protocol lifecycles:
* **MCP 2026-07-28 stateless requests:** clients may begin with
server/discover; every request carries the protocol version and client
metadata in _meta. The process stores no MCP session, Mcp-Session-Id, or
mutable currentProject.
* **MCP 2025-11-25 compatibility:** clients using the legacy
initialize/initialized lifecycle remain supported.
This binary exposes MCP over **stdio**. Run one process per local workspace and
mount that workspace at /project when using Docker. Streamable HTTP is not
enabled or advertised by this release, so it introduces no HTTP session
management or shared-server authentication surface. Code indexing receives an
explicit path through index_project; code search can be narrowed with
project_id when one process contains multiple indexed projects. Roots
negotiation is not used.
---
🤖 Agent Integration (System Prompt)
Memory is useless if your agent doesn't check it. To get the "Long-Term Memory" effect, you must instruct your agent to follow a strict protocol.
We provide a battle-tested **Memory Protocol (AGENTS.md)** that you can adapt.
🛡️ Core Workflows (Context Protection)
The protocol implements specific flows to handle **Context Window Compaction** and **Session Restarts**:
1. **🚀 Session Startup**: The agent *must* search for TASK: in_progress immediately. This restores the full context of what was happening before the last session ended or the context was compacted.
2. **⏳ Auto-Continue**: A safety mechanism where the agent presents the found task to the user and waits (or auto-continues), ensuring it doesn't hallucinate a new task.
3. **🔄 Triple Sync**: Updates **Memory**, **Todo List**, and **Files** simultaneously. If one fails (e.g., context lost), the others serve as backups.
4. **🧱 Prefix System**: All memories use prefixes (TASK:, DECISION:, RESEARCH:) so semantic search can precisely target the right type of information, reducing noise.
These workflows turn the agent from a "stateless chatbot" into a "stateful worker" that survives restarts and context clearing.
Recommended System Prompt Snippet
Instead of scattering instructions across IDE-specific files (like .cursorrules), establish AGENTS.md as the **Single Source of Truth**.
Instruct your agent (in its base system prompt) to:
1. **Read AGENTS.md** at the start of every session.
2. **Follow the protocols** defined therein.
Here is a minimal reference prompt to bootstrap this behavior:
Why this matters?
Without this protocol, the agent loses context after compaction or session restarts. With this protocol, it maintains the **full context of the current task**, ensuring no steps or details are lost, even when the chat history is cleared.
---
🔌 Client Configuration
Universal Docker Configuration (Any IDE/CLI)
To use this MCP server with any client (**Claude Code**, **OpenCode**, **Cline**, etc.), use the following Docker command structure.
来源
awesome · https://github.com/pomazanbohdan/memory-mcp-1file
按领域浏览
MCP 服务
Traction
25 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引