Expand description
MCP adapter for molo.
Re-exports§
pub use molo_harness as harness;pub use mcp::*;
Modules§
- effect
- Effect protocol: side-effect requests and observations.
- mcp
- MCP client adapter — brings tools exposed by external MCP servers into molo.
- run
- Structured run protocol shared by agent implementations and callers.
- tool
- Tool types used by MCP adapters.
Structs§
- Display
Output - Output intended for host/UI display.
- Effect
Request - Request for an outer harness to govern and execute a side effect.
- Execution
Policy - Execution policy passed to an
EffectExecutor. - RawEffect
Output - Raw executor output before limiter/redactor processing.
- RunContext
- Execution controls and host-owned metadata for one run.
- Shared
State - Shared state: a heterogeneous container accessed by type.
- Tool
Context - Context passed to a tool call.
- Tool
Output - Model-visible output produced by a tool.
- Tool
Schema - The definition of a tool.
- Tool
Source - Host-facing metadata describing where a provider-visible tool came from.
Enums§
- Display
Format - Display output format.
- Effect
Kind - Kind of side effect requested by an agent.
- Execution
Error - Executor errors.
- Harness
Error - Errors returned by a harness.
- Policy
Decision - Policy decision for a classified effect.
- Risk
Level - Request-declared risk level.
- Tool
Error - Reasons a tool call fails.
- Tool
Result - Result of a tool call.
- Tool
Trust Level - Trust level assigned to a tool source.
Traits§
- Effect
Executor - Executes an already approved effect.
- Policy
Engine - Evaluates host policy for a classified effect.
- Tool
- A tool an agent can invoke.
Type Aliases§
- RunMetadata
- Request, context, or output metadata for one run.