//! Cordance MCP server (`cordance serve`).
//!
//! This module wraps the `rmcp` 1.7 SDK with Cordance's specific tool
//! surface, authority tiering, and safety guardrails. The public entry
//! points are [`server::CordanceServer`] (the rmcp `ServerHandler`) and
//! [`server::serve_stdio`] (the loop driver for stdio transport).
//!
//! All other types in this module are public to allow integration tests in
//! `crates/cordance-cli/tests/mcp.rs` to call validation, envelope, and
//! error helpers directly without spawning a subprocess.

pub mod envelope;
pub mod error;
pub mod server;
pub mod tools;
pub mod validation;
