
SoloMD
io.github.zhitongblog由 GitHub 账号 zhitongblog 发布v4.14.11更新于 Oct 24, 2026
Read and search a folder of Markdown notes: search, backlinks, tags, tasks, outlines, git history.
概览
一个模型上下文协议服务器,允许AI助手读取、搜索并与存储在SoloMD存储库中的Markdown笔记进行交互。
- 可以做什么
- 在指定的存储库内读取和搜索Markdown笔记,提供元数据、完整内容和结构信息。它允许助手列出笔记、读取单个文件、执行子字符串或正则表达式搜索以及检索反向链接。用户还可以管理任务、查看标题大纲以及访问特定笔记的AutoGit提交历史。写入功能包括创建、追加或回滚笔记,前提是服务器已使用适当的写入权限启动。它还可以将笔记导出为各种格式。
- 适用场景
- 当您希望AI助手能够深入了解由SoloMD管理的个人知识库或笔记系统时使用此服务器。它非常适合基于个人档案的研究、内容生成或自动化笔记管理任务。
- 运行要求
- 它作为一个本地进程运行。可以通过单行脚本、Cargo或手动方式安装。对于写入操作,服务器必须使用--allow-write标志启动。
安装
在 SourceWeft 中
- 打开 控制台中的 SoloMD,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
solomd-mcp — Model Context Protocol server for SoloMD vaults
solomd-mcp lets Claude Code, Codex CLI, Cursor, Continue, and any other
MCP client read (and optionally edit) a SoloMD Markdown notes folder. Your
vault becomes a first-class tool the assistant can call.
It is a standalone Rust binary. The desktop app bundles a copy (on
macOS: /Applications/SoloMD.app/Contents/MacOS/solomd-mcp) but never runs
it itself; it only runs when an MCP client starts it. It reports the same
version as the app (solomd-mcp --version).
Multiple workspaces (v4.0+)
Pass --workspace once per vault. Each value is either a bare path (alias
defaults to the path's last component) or <alias>=<path>:
The first workspace is the default — tool calls without an explicit
workspace argument resolve to it. Existing single---workspace clients
keep working unchanged. Tools that want to target a non-default workspace
pass an extra workspace argument:
Each workspace's AutoGit history (autogit_log, autogit_diff,
autogit_rollback) is independent — the per-workspace .git repo is
opened on demand for each call.
Tools exposed
That is 16 tools. Read-only by default. Write tools are also offered
through the MCP tools/list response so clients can show them, but
invocations fail with a clear "restart with --allow-write" message until
you opt in.
Every line number (get_outline, get_backlinks, read_note headings and
wikilinks, list_tasks, search) is a 1-based line in the file as it sits
on disk, front matter included, so the tools agree with each other and with
an editor. search columns count characters, not bytes.
export_note needs Node.js and a SoloMD source checkout. It runs
app/scripts/solomd-export.mjs (the same engine as solomd export) with
the app's node_modules. The installed app ships neither, so the tool is
only listed when node is on PATH and the script is found: via
SOLOMD_EXPORT_SCRIPT=/path/to/solomd/app/scripts/solomd-export.mjs, or
automatically when the binary or the working directory is inside a
checkout where pnpm install has been run in app/.
Install
One-line installer (macOS / Linux)
This downloads the right binary for your platform from the latest GitHub
release and drops it into /usr/local/bin/solomd-mcp (falling back to
~/.local/bin/solomd-mcp if the system path is not writable).
Cargo
Manual
Grab the right archive from
github.com/zhitongblog/solomd/releases,
extract solomd-mcp, and put it on your PATH.
Wire it up
Claude Code
Easiest route is the CLI — it writes the user-scope config (~/.claude.json)
for you:
To scope the server to one project instead, drop an .mcp.json in the project
root:
Multi-workspace profile (one MCP server, several vaults):
To enable writes:
Codex CLI
~/.codex/config.toml:
Cursor / Continue / generic
Anything that speaks MCP over stdio works. Point its command at
solomd-mcp and pass --workspace <path>. The solomd CLI
(scripts/install-cli.sh) can do this for you: solomd mcp install
writes the entry into every AI client it finds, solomd mcp-config prints
it.
Hosted clients (Streamable HTTP)
For clients that can't spawn a local binary (Smithery, Claude.ai remote MCP, ChatGPT connectors), run the HTTP transport:
It binds to loopback by default, so nothing outside the machine can reach
it until you change --bind. With --auth-token (or SOLOMD_MCP_TOKEN)
every request must send Authorization: Bearer <token>; without one the
endpoint is open to anything that can reach the address.
CLI reference
Set SOLOMD_MCP_LOG=trace (or any tracing-subscriber filter expression)
for finer-grained control.
Safety
- Every input path is canonicalised and verified to live inside the
workspace before any read/write. Both
..segments and absolute paths outside the workspace are rejected. The one tool that may write outside the workspace isexport_note, and only with--allow-write; it never creates folders there and never replaces an existing file unless the call passesoverwrite: true. - The watcher / index from the SoloMD desktop app is not used here — this is a stateless per-invocation server that walks the filesystem lazily.
list_notesreads only an 8 KB prefix of each file (enough for title + summary), so even a vault with thousands of large notes is cheap to enumerate. Full file content only loads onread_note.
Verifying
You should see 16 tools listed (15 if export_note's Node backend isn't
available).
License
MIT — same as SoloMD.
来源:mcp-server/README.md,提交 8b4384a
工具
0版本历史
10- v4.14.11最新Oct 9, 2026
- v4.14.10Oct 7, 2026
- v4.14.9Oct 6, 2026
- v4.14.8Oct 5, 2026
- v4.14.7Oct 3, 2026
- v4.14.6Oct 2, 2026
- v4.14.5Oct 1, 2026
- v4.14.4Sep 26, 2026
- v4.14.3Sep 25, 2026
- v4.14.2Sep 24, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分