mcp_execution_cli/lib.rs
1//! MCP CLI library.
2//!
3//! This library provides the core functionality for the MCP CLI tool,
4//! exposing the CLI argument definitions, command implementations, output
5//! formatters, and command runner, so the binary crate and tests can share
6//! a single compiled module tree.
7#![warn(missing_docs, missing_debug_implementations)]
8// `commands::completions::run` and `commands::server::list_servers` are `async fn` to match
9// the signature every other command handler needs (they're all dispatched uniformly from
10// `runner::execute_command`), even though these two happen to do no `.await`ing themselves.
11#![allow(clippy::unused_async)]
12// `commands::generate` tests collect into a `Vec` before an `is_empty()`/`len()` check for
13// readability at the assertion site; the iterator itself isn't reused afterward.
14#![allow(clippy::needless_collect)]
15
16pub mod actions;
17pub mod cli;
18pub mod commands;
19pub mod formatters;
20pub mod runner;
21
22// Re-export action types for convenience
23pub use actions::ServerAction;