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 root;
11pub mod safety;
12pub mod tools;
13
14pub use allowlist::{Allowlist, Rule};
15pub use config::{Config, LoadedConfig};
16pub use exec::{ExecOptions, ExecOutcome};
17pub use root::{resolve_root, ResolvedRoot, RootError, RootSource};
18pub use safety::{Rejection, RejectionKind};