SiYuan MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SIYUAN_TOKEN | Yes | Your SiYuan API token | |
| SIYUAN_API_URL | No | The URL of the SiYuan API | http://localhost:6806 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| av_createAttributeViewB | Create a new database (Attribute View) in a SiYuan document |
| av_getAttributeViewA | Get database (Attribute View) structure and data |
| av_addRowC | Add rows to an existing database |
| av_updateRowC | Update values in a database row |
| av_deleteRowC | Delete rows from a database |
| av_addColumnB | Add a column to an existing database |
| av_removeColumnC | Remove a column from a database |
| av_updateCellB | Update a single cell value |
| executeCommandD | 执行指定的命令 |
| queryCommandsA | 查询可用的命令列表 |
| helpB | 获取命令的帮助信息 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Most tools are clearly distinct: each av_* tool targets a specific operation on Attribute Views (CRUD for rows, columns, and views). The generic command tools (executeCommand, queryCommands, help) are also separate, though executeCommand could potentially overlap with the others in vague ways. Minor confusion exists between av_updateRow and av_updateCell, but descriptions make the distinction clear.
The av_* tools follow a consistent verb_noun pattern (e.g., av_addRow, av_deleteRow, av_createAttributeView), but the generic tools (executeCommand, queryCommands, help) break this pattern. Mixed prefixes and lack of uniform style across the server result in moderate inconsistency.
With 11 tools, the count is well within the ideal 3-15 range. Each tool serves a distinct purpose, and the set is neither bloated nor too sparse for the stated domain of Attribute View management plus command utilities.
The Attribute View lifecycle covers create, read, and update operations for structure and data, including row and column management. The only obvious gap is the lack of a delete view tool (av_deleteAttributeView), which means users cannot fully remove an Attribute View through this server. Minor gaps like renaming columns are also absent, but agents can work around these.