Skip to main content

Crate molo_mcp

Crate molo_mcp 

Source
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§

DisplayOutput
Output intended for host/UI display.
EffectRequest
Request for an outer harness to govern and execute a side effect.
ExecutionPolicy
Execution policy passed to an EffectExecutor.
RawEffectOutput
Raw executor output before limiter/redactor processing.
RunContext
Execution controls and host-owned metadata for one run.
SharedState
Shared state: a heterogeneous container accessed by type.
ToolContext
Context passed to a tool call.
ToolOutput
Model-visible output produced by a tool.
ToolSchema
The definition of a tool.
ToolSource
Host-facing metadata describing where a provider-visible tool came from.

Enums§

DisplayFormat
Display output format.
EffectKind
Kind of side effect requested by an agent.
ExecutionError
Executor errors.
HarnessError
Errors returned by a harness.
PolicyDecision
Policy decision for a classified effect.
RiskLevel
Request-declared risk level.
ToolError
Reasons a tool call fails.
ToolResult
Result of a tool call.
ToolTrustLevel
Trust level assigned to a tool source.

Traits§

EffectExecutor
Executes an already approved effect.
PolicyEngine
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.