Crate mcp_exec

Crate mcp_exec 

Source
Expand description

Executor library for loading and running wasix:mcp compatible Wasm components. Users supply an ExecConfig describing how to resolve artifacts and what runtime constraints to enforce, then call exec with a structured request.

Modules§

describe

Structs§

ExecConfig
Configuration for a single executor invocation.
ExecRequest
RuntimePolicy
Runtime resource limits applied to the Wasm execution.
ToolInfo
VerifyPolicy
Policy describing how artifacts must be verified prior to execution.

Enums§

ExecError
RunnerError
ToolStore

Traits§

SecretsStore
Host-facing secrets-store trait mirroring greentic:secrets/store@1.0.0.

Functions§

exec
Execute a single action exported by an MCP component.

Type Aliases§

DynSecretsStore
Shared secrets-store handle.