Skip to main content

Module mcp

Module mcp 

Source
Expand description

mcp tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/mcp/mod.rs — matches on the SDK’s tier Request variants and dispatches to local leaf executes. All mcp leaves are unary, so every arm wraps a single value in a one-shot stream.

Modules§

config
config mcp sub-tier.
kill
mcp kill --global|--state — terminate mcp server(s) by killing the owner(s) of their per-state lock at <dir>/state/<state>/locks key mcp. --state hits the current state; --global fans out across every state concurrently. Idempotent: a count of zero is not an error.
spawn
mcp spawn — start the objectiveai-mcp server in the background, using mcp.address + mcp.port from on-disk config (mcp is the one tier that kept a configurable bind address).

Functions§

execute