// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Noyalib. All rights reserved.
//! The `noyalib-mcp` executable.
//!
//! Everything the server does lives in the library. This binary picks
//! the transport from the command line -- stdio by default, streamable
//! HTTP or the older HTTP+SSE on request -- and hands the library's
//! handler to it. `transport.rs` is the same file in every Rust server
//! of the suite.
// Opt-in coverage exclusion: when `NOYALIB_COVERAGE=1`, `main` is
// excluded from instrumentation. It is one call into the transport
// module, which `tests/http.rs` and `tests/protocol.rs` drive through
// the real binary.
use ExitCode;