Files
Synapse/crates/synapse-mcp/Cargo.toml
T
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

32 lines
1012 B
TOML

[package]
name = "synapse-mcp"
version = "0.1.0"
edition.workspace = true
license.workspace = true
description = "MCP (Model Context Protocol) server over a Synapse graph: stdio binary + Streamable HTTP service"
[lib]
name = "synapse_mcp"
[[bin]]
name = "synapse-mcp"
path = "src/main.rs"
[dependencies]
synapse-core.workspace = true
# Logseq-style Markdown outline parser (write tools turn Markdown into nested blocks).
synapse-import = { path = "../synapse-import" }
chrono.workspace = true
serde.workspace = true
serde_json.workspace = true
uuid.workspace = true
rusqlite.workspace = true
# Request parts (the HTTP server passes the graph to tools through their extensions).
http = "1"
# Official MCP SDK: protocol types, tool router/schemas, stdio and Streamable HTTP transports.
rmcp = { version = "3.7", features = ["server", "macros", "transport-io", "transport-streamable-http-server"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std"] }
[dev-dependencies]
tempfile = "3"