Skip to main content

Crate greentic_mcp_exec

Crate greentic_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
router
runner
Runtime integration with Wasmtime for invoking the MCP component entrypoint.

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.