Merge branch 'feat/mcp-server' into feat/modules

# Conflicts:
#	CLAUDE.md
#	Cargo.lock
#	crates/synapse-core/src/lib.rs
This commit is contained in:
dasemu committed 2026-10-27 05:31:59 +01:00
commit 9c8748c7c2
24 files changed
+3943 -6

No files matched your search

+3
View File
@@ -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`.
- Build bundled modules (WASM, needs `rustup target add wasm32-unknown-unknown`):
@@ -31,6 +33,7 @@ roadmap in `docs/plan.md`.
- `synapse-sync` / `synapse-server`: client-server protocol and axum server (`docs/sync.md`).
- `synapse-modules`: sandboxed WebAssembly modules (wasmi), permissions, host crypto
(`docs/modules.md`); module sources and SDK in `modules/` (own workspace, wasm32 only).
- `synapse-mcp`: MCP tools for AI assistants; stdio binary + HTTP service (`docs/mcp.md`).
- `synapse-ffi`: the only API surface exposed to Flutter.
## Conventions