mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
docs(mcp): document the MCP server, setup and tools
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8459838d01
commit
0253cd4180
5 files changed
+122
-1
No files matched your search
@@ -12,6 +12,8 @@ and an optional self-hosted sync server. Local-only (standalone graph) or client
|
||||
(`flutter analyze` crashes on non-ASCII paths like `Darío/`)
|
||||
- Test: `cargo test --workspace`, `cd app && flutter test`
|
||||
- Run server: `SYNAPSE_DATA_DIR=/tmp/syn SYNAPSE_AUTH_TOKEN=<16+ chars> cargo run -p synapse-server`
|
||||
(add `SYNAPSE_MCP_TOKEN=<16+ chars>` for MCP at `/v1/graphs/{id}/mcp`)
|
||||
- Run MCP (stdio): `cargo run -p synapse-mcp -- --graph <copy of a graph> [--allow-write]`
|
||||
- Run app: `cd app && flutter run -d linux` (or `-d windows`, an Android device); Flutter SDK
|
||||
in `~/development/flutter/bin`. Graph dir override: `SYNAPSE_GRAPH=/path`. See `docs/app.md`.
|
||||
- Regenerate FFI bindings: `cd app && flutter_rust_bridge_codegen generate` (frb 2.13.0; commit
|
||||
@@ -27,6 +29,7 @@ roadmap in `docs/plan.md`.
|
||||
- `synapse-history`: automatic git-like snapshots of the graph.
|
||||
- `synapse-caldav`: CalDAV calendar + VTODO tasks.
|
||||
- `synapse-sync` / `synapse-server`: client-server protocol and axum server (`docs/sync.md`).
|
||||
- `synapse-mcp`: MCP tools for AI assistants; stdio binary + HTTP service (`docs/mcp.md`).
|
||||
- `synapse-ffi`: the only API surface exposed to Flutter.
|
||||
|
||||
## Conventions
|
||||
|
||||
Reference in new issue
Block a user