Commit Graph
2 Commits
Author SHA1 Message Date
dasemuandClaude Opus 5.5 8459838d01 feat(server): serve MCP over Streamable HTTP at /v1/graphs/{id}/mcp
Enabled by SYNAPSE_MCP_TOKEN (own bearer tokens, constant-time check),
write tools with SYNAPSE_MCP_ALLOW_WRITE=1, Host allowlist via
SYNAPSE_MCP_ALLOWED_HOSTS. Stateless JSON responses; tools run on the shared
graph handle and wake SSE subscribers after writes. Never creates graphs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:13:44 +01:00
dasemuandClaude Opus 5.5 c0f0716d3b feat(mcp): add synapse-mcp server with stdio binary
Read tools (search, get_page, get_journal, list_pages, backlinks, related,
list_tags, list_types, hubs, timeline, journal_links) and page-curation write
tools behind --allow-write (create_page, append_blocks, update_block,
delete_block, set_page_type, set_page_tags, set_page_hub). Journals are
read-only. Reads run in a rolled-back transaction; writes in BEGIN IMMEDIATE
through the Graph API so they are logged as ops and sync.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:09:41 +01:00