SiYuan Sisyphus
FreeNot checkedEnables AI agents to safely read, search, edit, and organize SiYuan notes, with git-like document timeline and notebook-level permissions.
About
Enables AI agents to safely read, search, edit, and organize SiYuan notes, with git-like document timeline and notebook-level permissions.
README
English | 中文 | Documentation
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.
Document Timeline: named snapshots, visual diff, and rollback for SiYuan notes.
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.
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 list
Safety 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
Installing SiYuan Sisyphus
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/yangtaihong59/siyuan-plugins-mcp-sisyphusFAQ
Is SiYuan Sisyphus MCP free?
Yes, SiYuan Sisyphus MCP is free — one-click install via Unyly at no cost.
Does SiYuan Sisyphus need an API key?
No, SiYuan Sisyphus runs without API keys or environment variables.
Is SiYuan Sisyphus hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install SiYuan Sisyphus in Claude Desktop, Claude Code or Cursor?
Open SiYuan Sisyphus on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare SiYuan Sisyphus with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
