Skip to main content

Module tools

Module tools 

Source
Expand description

MCP tool definitions and the underlying Engine that performs the reject/allow/execute pipeline.

The engine is exposed publicly so integration tests can drive the same code path the MCP server uses without wiring up stdio.

Structs§

DescribeResult
DescribedRule
Engine
The pure-Rust core: takes a command string + optional subdir, returns a structured result. No MCP types here — the ShellServer adapter wraps this in MCP responses.
ExecResult
ShellDescribeRequest
ShellExecRequest
ShellServer

Enums§

EngineError