Skip to main content

anamnesis_mcp_server/
lib.rs

1//! Anamnesis MCP server — JSON-RPC over stdio.
2//!
3//! Per BLUEPRINT §6.3 we expose 5 tools and 3 resource URI patterns.
4//! The protocol layer is a minimal hand-rolled subset of MCP (initialize,
5//! tools/list, tools/call, resources/list, resources/read) rather than a
6//! full SDK dependency — keeps the binary tiny and the contract obvious.
7
8#![forbid(unsafe_code)]
9#![warn(missing_docs)]
10
11pub mod protocol;
12pub mod server;
13pub mod stdio;
14
15#[cfg(feature = "sse")]
16pub mod sse;
17
18pub use server::AnamnesisServer;