Skip to main content

shell_mcp/
lib.rs

1//! shell-mcp: scoped, allowlisted shell access exposed over the Model Context Protocol.
2//!
3//! Public modules are re-exported so integration tests and embedders can use the
4//! configuration, allowlist, and execution machinery without going through the
5//! MCP server layer.
6
7pub mod allowlist;
8pub mod config;
9pub mod exec;
10pub mod safety;
11pub mod tools;
12
13pub use allowlist::{Allowlist, Rule};
14pub use config::{Config, LoadedConfig};
15pub use exec::{ExecOptions, ExecOutcome};
16pub use safety::{Rejection, RejectionKind};