MemoFS MCP Server

dev.memofs由 memofs.dev 發布官方發布者v1.3.0-beta.3更新於 Oct 24, 2026

Persistent memory and virtual filesystem MCP server for AI agents.

已驗證Streamable HTTP可網頁執行檔案與儲存知識與記憶開發者工具

概覽

AI 產生的概覽

MemoFS 為 AI 程式開發代理提供持久化專案記憶與虛擬檔案系統,可跨工作階段讀取、搜尋與更新。

可以做什麼
  • 透過 remember、recall 等記憶操作讀取、搜尋與更新專案記憶
  • 以錨點把記憶綁定到原始碼檔案,檔案變動時顯示過期標記
  • 記憶超過依類型設定的衰減期限時標記為未驗證
  • 使用 AgentFS 工作階段工具,包括以結果、暫時標記與原因結束工作階段
  • 透過提供的資源存取記憶、圖譜與工作階段資料
適用情境
適合希望程式開發代理在多次工作階段之間保留專案脈絡,或把筆記關聯到特定原始碼檔案並在其過時後收到提示的情境。也適合需要為不受信任的用戶端提供唯讀記憶層的情況。
執行需求
可作為遠端端點執行,也可透過 npx 或 npm 作為本機程序執行,需要 Node.js 22 或更新版本。本機模式需要專案根目錄路徑。混合模式需要 MemoFS Cloud API 金鑰(透過 MEMOFS_API_KEY 環境變數或 Authorization bearer 標頭提供)以及雲端位址。
安裝前請注意
混合模式會把專案記憶傳送到 MemoFS Cloud 並需要 API 金鑰,請勿將金鑰放入共用設定。此伺服器可寫入與更新記憶,面對不受信任的用戶端時應啟用唯讀旗標。結束工作階段可能將記憶持久提升並清理工作區。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MemoFS MCP Server,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@memofs/mcp-server

[npm version]   [Status: Beta]   [npm downloads]   [CI]   [Docs]   [MIT License]

Model Context Protocol server for MemoFS agent integrations.

What is this?

The @memofs/mcp-server package allows AI coding agents (like Claude Desktop, Cursor, Zed, and OpenCode) to securely read, search, and update project memory using the Model Context Protocol (MCP). It wraps the core runtime and exposes 10 model-facing tools (4 memory verbs + 6 AgentFS session tools) and 9 resources for memory, graph, and session access.

Key capabilities:

  • Code anchoring — memofs.remember accepts an optional anchor parameter to bind memories to source files; memofs.recall surfaces stale flags when anchored files change.
  • Memory decay detection — recall results carry unverified flags when memories exceed their kind-specific decay floors.
  • Session outcomes — memofs_agent_session_complete accepts outcome, ephemeral, and reason parameters controlling a 5-row behavior matrix for durable memory promotion and workspace cleanup.

Installation

Most MCP clients invoke the server on demand via npx — no install required:

bash
npx -y @memofs/mcp-server --help

If you want to install the server as a dev dependency instead:

bash
npm install -D @memofs/mcp-server

Requires Node.js >= 22.

Or use directly via npx in your client's configuration:

bash
npx -y @memofs/mcp-server --help

Quick Start

You can configure your MCP client (e.g., Claude Desktop, Cursor, or any MCP client) to start the server via stdio.

MCP clients config

json
{  "mcpServers": {    "memofs": {      "command": "npx",      "args": [        "-y",        "@memofs/mcp-server",        "--runtime",        "local",        "--root",        "/absolute/path/to/project"      ]    }  }}

Configuration and Usage

The server supports two runtime modes (local, hybrid), cloud sync via --cloud-url and --api-key, and a strict --read-only flag to block mutating tools when used with untrusted clients.

For comprehensive setup instructions across all major AI tools, the full list of exposed tools and resources, and runtime mode options, please refer to the Full Documentation.

Contributing

See our central Contributing Guide and development scripts for details on formatting, linting, and testing within the monorepo.

License

MIT

來源:packages/mcp-server/README.md,提交 8ebe942

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.3.0-beta.3最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分