Expand description
Anamnesis MCP server — JSON-RPC over stdio.
Per BLUEPRINT §6.3 we expose 5 tools and 3 resource URI patterns. The protocol layer is a minimal hand-rolled subset of MCP (initialize, tools/list, tools/call, resources/list, resources/read) rather than a full SDK dependency — keeps the binary tiny and the contract obvious.
Re-exports§
pub use server::AnamnesisServer;
Modules§
- protocol
- Minimal JSON-RPC 2.0 types — just enough for the MCP subset we implement. We don’t pull a JSON-RPC crate because the protocol’s shape is tiny and we want zero surprise dependencies.
- server
- The Anamnesis MCP server — dispatcher + tool/resource handlers.
- sse
- HTTP transport for the MCP server (BLUEPRINT §6.1 “SSE” row).
- stdio
- Stdio JSON-RPC loop — shared by the
anamnesis-mcpbinary and theanamnesis serveCLI subcommand.