Memdrive MCP
概览
作者提供的说明(英文原文)
Local-first MCP memory: Markdown notes and images with full-text search for Claude and Cursor.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段↓ 453/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
MEMDRIVE_ROOT
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"memdrive": {
"command": "npx",
"args": [
"-y",
"memdrive-mcp"
],
"env": {
"MEMDRIVE_ROOT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add memdrive --env MEMDRIVE_ROOT=your-value -- npx -y memdrive-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"memdrive": {
"command": "npx",
"args": [
"-y",
"memdrive-mcp"
],
"env": {
"MEMDRIVE_ROOT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"memdrive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"memdrive-mcp"
],
"env": {
"MEMDRIVE_ROOT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
MEMDRIVE_ROOTenvLibrary root folder. Defaults to ~/memdrive (created automatically).
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 Newmannn91 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3660 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3660 个服务器的 98% 更新
- 基础检查结果等于或优于此分类中其他 3660 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Memdrive MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.8.2)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MemDrive
An MCP server that gives LLMs persistent memory on your own storage: a local folder (Google Drive / OneDrive / iCloud sync folder, or any plain directory). Local only, by design.
The model reads and writes Markdown + a sibling `assets/` image folder through six small tools. No cloud service, no account, no server to run — the MCP server runs on your own machine and touches only the folder you point it at.
Status: 0.8.2. Local filesystem backend only. Full-text search index with BM25 ranking (Chinese segmentation, filters, pagination, read-only diagnostics).
0.1.1 added one total response budget to
read_file(see
Reading back and
Limits) and put the
clipboard rule first in the
save_filetool description. 0.1.2 fixes
the preview ladder so previews use the budget instead of stopping
at the first coarse shrink step (see TEST-REPORT.md §7). 0.1.3 tries
higher JPEG quality at full resolution before shrinking, states the
three limit layers (host / server / model) in the
read_filetool
description, and adds CHANGELOG.md (see TEST-REPORT.md §8). 0.2.0
adds
open_image(open an original image in the OS viewer, only
when the user explicitly asks) and a setup wizard that finds a
sync folder and writes the Claude Desktop config for you (see
Setup and TEST-REPORT.md §9). 0.3.0
adds a Cursor adapter to the wizard: the wizard asks which host
to configure first and writes Cursor's global config
(
~/.cursor/mcp.json) as well (see TEST-REPORT.md §12). 0.4.0
adds a VS Code adapter (Copilot Global config,
~/.copilot/mcp-config.json) and a per-host response budget
written by the wizard into each host's config (see
TEST-REPORT.md §13). 0.5.0 raises the Cursor budget to
10,000,000 on the 2026-10-30 verified read and adds
open_containing_folder(open a note's folder in the OS file
manager, only when the user explicitly asks, no highlight or
selection — see TEST-REPORT.md §14). 0.6.0 adds a Claude Code
adapter to the wizard (user scope,
~/.claude.jsontop-level
mcpServers, budget 10,000,000) — **UNVERIFIED on a real
machine, budget estimated by the author's decision, not
measured**; see Claude Code config and
TEST-REPORT.md §17.
Quick start
Requires Node.js 24+.
Easiest — setup wizard (recommended for first install). Download the release zip, extract it, and run the launcher for your system (it installs dependencies, builds, and starts the wizard, which asks which host to configure and which folder to use, and writes the Claude Desktop, Cursor, VS Code, or Claude Code config):
- Windows: double-click
setup.bat - macOS: double-click
setup.command(or run./setup.shin a terminal) - Linux: run
./setup.shin a terminal
The wizard needs Node.js 24+ already installed; if it is missing, the launcher says so and offers to open https://nodejs.org for you. It never installs anything silently and never changes a config file without backing it up first (see Setup).
# Run without installing (after this package is published to npm):
npx -y memdrive-mcp
Or from a checkout:
npm install npm run build node dist/index.js
The library root defaults to ~/memdrive (created automatically). Override it with MEMDRIVE_ROOT:
MEMDRIVE_ROOT=~/Documents/memory npx -y memdrive-mcp
Claude Desktop config
The setup wizard (see Setup) writes this for you. Only edit it by hand if the wizard could not find your config file — it then prints a ready-to-paste snippet instead.
Add this to your Claude Desktop config file (claude_desktop_config.json):
{
"mcpServers": { "memdrive": { "command": "npx", "args": ["-y", "memdrive-mcp"], "env": { "MEMDRIVE_ROOT": "/Users/you/Library/CloudStorage/GoogleDrive-you@example.com/My Drive/memory" } } } }
Point MEMDRIVE_ROOT at a folder your sync client already manages and the official client syncs everything to the cloud in the background — MemDrive itself does zero network auth and zero uploads.
On Windows use a Windows path (C:\\Users\\you\\OneDrive\\memory); on macOS/Linux use a POSIX path. Restart Claude Desktop after editing the config.
Cursor config
The setup wizard (see Setup) writes this for you, in Cursor's global config file: %USERPROFILE%\.cursor\mcp.json on Windows, ~/.cursor/mcp.json on macOS/Linux. If that file does not exist yet but the .cursor directory does, the wizard creates it (no backup is needed — there is nothing to back up); if the directory does not exist, the wizard writes nothing and prints a ready-to-paste snippet instead. Project-level .cursor/mcp.json files are not written: the global config makes the server available in every project. Only the Windows path has been verified on a real machine; the macOS/Linux paths use the same home-based logic and are marked untested.
{
"mcpServers": { "memdrive": { "type": "stdio", "command": "node", "args": ["/absolute/path/to/memdrive-mcp/dist/index.js"], "env": { "MEMDRIVE_ROOT": "/absolute/path/to/your/library", "MEMDRIVE_RESPONSE_BUDGET_BYTES": "10000000" } } } }
The type: "stdio" field is required by Cursor; Claude Desktop entries carry no type field. The wizard writes the 10,000,000-byte budget above into Cursor's entry (see Limits for the evidence: verified 2026-10-30, exact ceiling unmeasured). Restart Cursor after editing the config, and make sure the server is enabled in Cursor's MCP settings. Cursor's MCP logs (Output panel → "MCP Logs") are the first place to look when a tool does not appear.
VS Code config
The setup wizard (see Setup) writes this for you, in VS Code's Copilot Global config file: %USERPROFILE%\.copilot\mcp-config.json on Windows, ~/.copilot/mcp-config.json on macOS/Linux. If that file does not exist yet but the .copilot directory does, the wizard creates it (no backup is needed — there is nothing to back up); if the directory does not exist, the wizard writes nothing and prints a ready-to-paste snippet instead. Only the Windows path has been verified on a real machine; the macOS/Linux paths use the same home-based logic and are marked untested. The COPILOT_HOME environment variable is not read — only the home-directory location above is used.
{
"mcpServers": { "memdrive": { "type": "stdio", "command": "node", "args": ["/absolute/path/to/memdrive-mcp/dist/index.js"], "env": { "MEMDRIVE_ROOT": "/absolute/path/to/your/library", "MEMDRIVE_RESPONSE_BUDGET_BYTES": "10000000" } } } }
The entry shape above was verified on a real Windows machine (manual MCP: Add Server flow, Copilot Global config): top-level mcpServers, type: "stdio", command: "node", absolute dist/index.js args, and VS Code's own "tools": ["*"] field alongside them. When the wizard merges into an existing entry, that tools field is preserved, as are every other key and every other server; a freshly created entry gets no tools field. The wizard writes the 10,000,000-byte budget above into VS Code's entry (see Limits for the evidence: partly verified, exact ceiling unmeasured). Fully quit and restart VS Code after editing the config, and make sure the server is enabled in VS Code's MCP settings. VS Code's MCP logs are the first place to look when a tool does not appear. Only list_directory and a bundled image read have been verified in VS Code on a real machine so far; the other tools still need a real-machine check (see Roadmap).
Claude Code config
UNVERIFIED — read this first. The Claude Code adapter was
added from Anthropic's official docs only (checked 2026-10-31)
and has never been tested on a real machine, in any host.
The 10,000,000-byte budget below is an estimate set by the
author's decision (Claude Code is a paid product; a limit as
stingy as Claude Desktop's would make no sense for paying
users), not a measurement. If a bundled read fails or comes
back truncated in Claude Code, please report the exact error —
that report is how the default gets corrected.
The setup wizard (see Setup) writes this for you, in Claude Code's user scope: the top-level mcpServers key of the one ~/.claude.json file (%USERPROFILE%\.claude.json on Windows, ~/.claude.json on macOS/Linux). When CLAUDE_CONFIG_DIR is set, the file lives inside that directory instead. Local scope (per-project entries inside the same file) and project scope (.mcp.json in a project root) are not written: the wizard writes the user-global config only, so the server is available in every project. If ~/.claude.json does not exist, the wizard writes nothing and prints a ready-to-paste snippet instead — it never creates the file, because ~/.claude.json is Claude Code's own main state file (it also holds project records), not a dedicated MCP file, and creating a bare copy was never verified.
{
"mcpServers": { "memdrive": { "command": "node", "args": ["/absolute/path/to/memdrive-mcp/dist/index.js"], "env": { "MEMDRIVE_ROOT": "/absolute/path/to/your/library", "MEMDRIVE_RESPONSE_BUDGET_BYTES": "10000000" } } } }
The entry carries no type field: Claude Code reads an entry without a type as a stdio server, the same shape as a Claude Desktop entry. The budget above controls only how much this server sends. Claude Code applies its own output limits on top (default 25,000 tokens per tool result; long text results are spilled to a file for the model to read back), so a large bundled read may arrive as a file reference rather than inline content. To raise Claude Code's own limit, set MAX_MCP_OUTPUT_TOKENS in the shell before starting Claude Code (for example MAX_MCP_OUTPUT_TOKENS=50000 claude). Check the connection with claude mcp list or the /mcp panel.
Optional: raise (or lower) the read_file total response budget if your client allows larger tool results than Claude Desktop's ~1 MB ceiling:
"env": {
"MEMDRIVE_ROOT": "...", "MEMDRIVE_RESPONSE_BUDGET_BYTES": "5000000" }
The default is 950,000 bytes; values are clamped to 100,000–50,000,000. See Limits before raising it.
Setup wizard & launchers
node dist/index.js setup runs an interactive wizard (no new dependencies — plain Node readline). After npm publish, the same wizard runs as npx memdrive-mcp setup; until the package is published, use the zip + launcher form below.
What the wizard does, in order:
- Chooses a host. The wizard asks which host to configure — 1 Claude Desktop, 2 Cursor, 3 VS Code, 4 Claude Code (Enter = 1). You can skip the question with an argument:
node dist/index.js setup cursor(orsetup claude/setup claude-desktop,setup vscode— only that one word, novs-code/codealias,setup claude-code— only that spelling,codeis not an alias). The argument is an optional shortcut for people who already know which host they want; the prompt is the default, foolproof path, including fornpx memdrive-mcp setupand the launchers, which call the wizard with no argument. An unrecognised argument falls back to the prompt instead of guessing a host. - Finds a library folder. It probes for existing sync folders — OneDrive, Google Drive, iCloud — plus the
~/memdrivedefault, and shows a numbered menu. Google Drive on Windows is probed in three steps: the DriveFS
只显示了开头部分;其余内容请在仓库中阅读