Siyuan MCP Server
思源笔记MCP / SiYuan MCP Server
Siyuan MCP Server is an open-source mcp server by xgq18237, written mainly in TypeScript, with 73 GitHub stars and the MIT license. Its code was last updated Jun 29, 2026. The latest npm release is siyuan-mcp 1.1.1, published Jun 28, 2026, with 94 downloads last week.
Scan summary: scanned Nov 5, 2026 at commit bc82945. Seen able to read or write files, connect to databases, touch money or trading. Scan policy
How to install Siyuan MCP Server
Built from the start command in the project's README: npx -y siyuan-mcp@latest. Check the README for required keys or settings.
claude mcp add siyuan-mcp-server -- npx -y siyuan-mcp@latest{
"mcpServers": {
"siyuan-mcp-server": {
"command": "npx",
"args": [
"-y",
"siyuan-mcp@latest"
]
}
}
}{
"mcpServers": {
"siyuan-mcp-server": {
"command": "npx",
"args": [
"-y",
"siyuan-mcp@latest"
]
}
}
}code --add-mcp '{"name":"siyuan-mcp-server","command":"npx","args":["-y","siyuan-mcp@latest"]}'What Siyuan MCP Server can touch
- Our checks did not find this. The tool may still do it.Run shell commandsNot seen in this scan
- Our checks did not find this. The tool may still do it.Run dynamic codeNot seen in this scan
- The server lists a tool that does this.Read or write filesListed as a tool: read_dir
- Our checks did not find this. The tool may still do it.Read environment and secretsNot seen in this scan
- Our checks did not find this. The tool may still do it.Control a web browserNot seen in this scan
- The server lists a tool that does this.Connect to databasesListed as a tool: sql_query
- Our checks did not find this. The tool may still do it.Read or send messagesNot seen in this scan
- The server lists a tool that does this.Touch money or tradingListed as a tool: transfer_block_ref
- Our checks did not find this. The tool may still do it.Connect to the internetNo connections seen while running
"Not seen" means our checks did not find it, and the tool may still do it. Covers commit bc82945, Nov 5, 2026. See the scan policy.
Before you install Siyuan MCP Server
AgenticMart scanned Siyuan MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What it can access
- An MCP server is a program your AI app starts and talks to. A local one runs with your user's permissions: it can see the files, environment variables and network your account can.
Before you install
- Pin the version you reviewed instead of always installing the latest release.
- Read the tool list or scripts before the first run, and keep approval prompts on for actions that write, send or delete.
- Maintained by xgq18237 on GitHub, 73 stars and 15 forks. Popularity is not proof of safety.
- Last code change: Jun 29, 2026.
- Open-source license: MIT.
Tools Siyuan MCP Server exposes (69)
Listed by the server itself during our scan of commit bc82945.
list_notebooks列出所有思源笔记本及其打开状态
open_notebook打开指定笔记本
close_notebook关闭指定笔记本
rename_notebook重命名笔记本
create_notebook创建新笔记本
remove_notebook删除笔记本及其内容;可通过保护开关禁用
get_notebook_conf获取笔记本配置
set_notebook_conf保存笔记本配置
create_doc在指定笔记本中新建 Markdown 文档
rename_doc按存储路径重命名文档
rename_doc_by_id按 ID 重命名文档
remove_doc按路径删除文档
remove_doc_by_id按 ID 删除文档
move_docs移动一组文档
move_docs_by_id按 ID 移动一组文档
search_docs按标题搜索文档
list_docs列出指定笔记本路径下的文档
get_hpath_by_path根据存储路径获取人类可读路径
get_hpath_by_id根据 ID 获取人类可读路径
get_path_by_id根据 ID 获取存储路径
get_ids_by_hpath根据人类可读路径获取 ID
insert_block在指定锚点插入块;nextID、previousID、parentID 至少提供一个
prepend_block在父块开头插入子块
append_block在父块末尾插入子块
update_block更新块内容
delete_block删除块
move_block移动块;previousID 或 parentID 至少提供一个
batch_insert_blocks批量插入块
batch_update_blocks批量更新块
get_block_info获取块的元数据
get_block_breadcrumb获取块的面包屑路径
get_block_kramdown获取块 Kramdown 源码
get_child_blocks获取直接子块
fold_block折叠块
unfold_block展开块
transfer_block_ref转移块引用
set_block_attrs设置块属性
get_block_attrs获取块属性
search_blocks使用思源全文搜索查找内容块
sql_query执行 SQL 语句;调用方应自行确认写入类语句的影响
Siyuan MCP Server is an open-source mcp server by xgq18237, written mainly in TypeScript. 思源笔记MCP / SiYuan MCP Server
At a glance
- Stars
- 73
- Forks
- 15
- Language
- TypeScript
- License
- MIT
- Created
- Aug 2025
- Last update
- Jun 29, 2026
- Type
- MCP Server
- Price
- Free
Questions about Siyuan MCP Server
What is Siyuan MCP Server?
思源笔记MCP / SiYuan MCP Server
Who maintains Siyuan MCP Server?
Siyuan MCP Server is maintained by xgq18237 on GitHub (xgq18237/siyuan_mcp_server). AgenticMart lists it from public repository data.
Is Siyuan MCP Server safe to use?
AgenticMart scanned Siyuan MCP Server on Nov 5, 2026 with automated checks for hidden code, known-malicious packages, leaked secrets and vulnerable dependencies. The result covers one commit under our scan policy, so review what access you give it and check any advisories shown here.
What license does Siyuan MCP Server use?
It is published under the MIT license.
Siyuan MCP Server alternatives
View more →Similar mcp servers in Other, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Siyuan MCP Server (this page) xgq18237 | 73 | MIT | Jun 29, 2026 | Scanned, no flagged issues |
| Github MCP Server github | 34k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Fastapi MCP tadata-org | 12k | MIT | Nov 24, 2025 | Scanned, no flagged issues |
| GhidraMCP LaurieWired | 12k | Apache-2.0 | Oct 10, 2026 | Scanned, no flagged issues |
| MCP Go mark3labs | 9.2k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Git MCP idosal | 8.5k | Apache-2.0 | May 8, 2026 | Scanned, no flagged issues |