Setup
This page covers local prerequisites and the current repo layout.
When to read this page: you are onboarding to the codebase.
Prerequisites
- Node.js 20.x or higher
pnpm- Local SiYuan installation for testing
Install
bash
git clone https://github.com/yangtaihong59/siyuan-plugins-mcp-sisyphus.git
cd siyuan-plugins-mcp-sisyphus
pnpm installProject Layout
src/index.ts: plugin entrysrc/core/server.ts: MCP server entrysrc/tools/: tool implementations; each tool has its own directory, and shared tool-layer code lives insrc/tools/internal/src/cli/: CLI entry and dispatchsrc/api/: SiYuan API wrapperstests/: unit, integration, smoke tests