library-mcp

v1.3.0
@jesonliu/library-mcp Checked 1 hour ago Published 2 months ago

MCP server for local personal library — .md + SQLite FTS5 trigram, read-only by default

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

read

按 doc_id 读取单篇知识库文档的完整内容(frontmatter 元数据 + 正文 + 合并后的双链)。

ParameterTypeDescription
doc_id *string文档 ID,形如 doc_2026-09-12_001(search/list 的返回值)

list

列出知识库文档(按更新时间倒序,摘要不含正文)。浏览库、核对 doc_id、找最近写入的笔记时用它。

ParameterTypeDescription
limitinteger返回条数上限,默认 20
statusstring按状态过滤;缺省时返回 active + draft(排除已删除)
tagsarray按标签过滤(命中任一即保留)
typestring按文档类型过滤