//! MCP (Model Context Protocol) JSON-RPC server over stdio.
//!
//! This module is the Rust port of `KB.MCP`, `KB.MCP.Protocol`, and
//! `KB.MCP.Tools` from the Haskell reference implementation. The
//! transport reads one JSON-RPC 2.0 message per line from stdin and
//! writes one response per line to stdout; nothing else is permitted on
//! the protocol channel. Diagnostics (db path, embedding status,
//! handler errors) belong on stderr.
//!
//! Submodules:
//!
//! - [`protocol`] — wire-level types ([`Request`], [`Response`],
//! [`RpcError`], [`RpcId`]) plus error constructors.
//! - [`server`] — dispatch loop ([`run_mcp_with`], [`handle_line`]) and
//! the lifecycle handlers ([`builtin_methods`]).
//! - [`tools`] — the seven kb tools and the `tools/list` /
//! `tools/call` registration helpers.
pub use ;
pub use ;
pub use ;