SiYuan Sisyphus MCP
Provides tools for AI agents to safely read, search, edit, and organize notes in a SiYuan workspace, including document timeline snapshots, visual diff, rollback, and notebook-level access permissions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SiYuan Sisyphus MCPList all my notebooks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SiYuan Sisyphus MCP & CLI
Latest:
v0.4.13— Adds explicit MCP HTTP bind address selection, tightens settings UI behavior, and moves the CLI short alias fromsiyuantosisyphus. CLI is nowv0.1.16.
What It Is
SiYuan Sisyphus lets AI agents safely read, search, edit, and organize your SiYuan workspace.
It ships as both a SiYuan plugin and a standalone CLI:
MCP plugin: connect SiYuan to Claude Desktop, Claude Code, Codex, Cursor, Cherry Studio, Cline, and other MCP-capable clients.
CLI
siyuan-sisyphus: let agents, terminals, and scripts call SiYuan directly through short commands.
Both entry points use the same permission model and the same underlying SiYuan operations.
Related MCP server: SiYuan Note MCP Server
Why It Is Different
Git-like document timeline: create named timeline nodes for a document, compare historical snapshots with the current state, and roll back when needed.
AI-friendly note access: the
fstool lets agents work with human-readable paths such as/Notebook/Project/Note, hiding block IDs and document-tree details when they are not needed.MCP and CLI together: use MCP for multi-step agent workflows, or CLI for lightweight terminal and script automation.
Notebook-level safety: give each notebook its own access level:
none,r,rw, orrwd.Low-context tool design: 100+ SiYuan capabilities are grouped into 12 action-routed tools, with detailed help available only when the agent asks for it.
Practical connection setup: the plugin settings page provides copy-ready connection snippets for common AI clients and deployment styles.
Git-Like Document Timeline
The timeline feature gives ordinary SiYuan documents a source-control-style safety layer:
create named timeline nodes for the current document;
compare a historical snapshot with the current document;
switch between unified diff and split diff;
use a minimap-style change navigator and collapse unchanged blocks;
roll back the whole document, or restore supported parsed blocks individually.
This is a document-focused timeline built on SiYuan snapshots. It is intentionally not a full Git replacement or a complete source-control workflow.
MCP And CLI Entry Points
Use MCP when an AI client should discover tools and combine them across a longer task. This is the best fit for agent workflows that need to search, read, edit, inspect databases, and verify results.
Use CLI when a terminal command is enough. It avoids long tool schemas in the model context and works well for scripts, automation, and small one-shot tasks.
npm i -g siyuan-sisyphus
siyuan-sisyphus init
sisyphus notebook listSafety Model
SiYuan Sisyphus is designed around explicit user control:
each notebook can be read-only, writable, deletable, or hidden from AI;
dangerous actions such as delete, move, replace, and asset upload are treated separately;
MCP and CLI share the same core behavior, so switching entry points does not create a second permission model;
remote and Docker use cases go through the SiYuan HTTP API instead of assuming direct access to your local workspace files.
Quick Start
Install the plugin from the SiYuan marketplace, or follow the source installation guide.
Open
Plugin -> SiYuan Sisyphus MCP & CLI -> Settings.Choose MCP or CLI in the connection page.
Copy the generated client configuration, or initialize the CLI with
siyuan-sisyphus init.Verify with a read-only task such as listing notebooks or reading the SiYuan version.
For full setup steps, use the documentation links below.
Read The Docs
Support
If you find this project helpful, please consider supporting it! Your support is what keeps me motivated to maintain and improve it.
Sponsor Thanks
Thanks to undefined, Fngd Z, ou and all other kind supporters for sponsoring this project.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yangtaihong59/siyuan-plugins-mcp-sisyphus'
If you have feedback or need assistance with the MCP directory API, please join our Discord server