Safe, structured Model Context Protocol server for SiYuan Note
Safe, structured Model Context Protocol server for SiYuan Note
siyuan-mcp 是一个基于 Model Context Protocol 的思源笔记 MCP 服务器。它通过思源 Kernel API 提供笔记本、文档、内容块、全文搜索、原生数据库、资源文件和导出等能力,并针对 AI 自动化场景增加了结构化返回、安全注解与默认防护。
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| command | npx |
| args | ["-y", "siyuan-mcp@latest"] |
| env | - SIYUAN_HOST |
| check_siyuan_status | list_notebooks |
| get_version | -- |
| nextID | previousID |
| list_notebooks | 列出所有笔记本及打开状态 |
| create_notebook | 创建笔记本 |
| rename_notebook | 重命名笔记本 |
| remove_notebook | 删除笔记本,属于危险操作 |
| create_doc | 使用 Markdown 创建文档 |
| search_docs | 按标题搜索文档 |
| list_docs | 浏览指定路径下的文档 |
claude mcp add siyuan --env SIYUAN_HOST=your-value --env SIYUAN_PORT=your-value --env SIYUAN_TOKEN=your-value --env SIYUAN_URL=your-value -- npx -y siyuan-mcp| Variable | Description | Required |
|---|---|---|
| SIYUAN_HOST | Endpoint or connection string the server talks to. | Optional |
| SIYUAN_PORT | Configuration value read at startup. | Optional |
| SIYUAN_TOKEN | Credential the server authenticates with. | Yes |
| SIYUAN_URL | Endpoint or connection string the server talks to. | Yes |
Retrieve public web pages as readable Markdown with the reference Fetch MCP server, including pagination for longer responses.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.