Manage MCP Lifecycle
- Inventory server definitions as metadata only: ID, command, arguments, transport, owner, trust, priority, effects, and health contract.
- Discover an available shell/runtime explicitly; do not assume one executable exists.
- Preview registration and reconciliation changes before writing configuration.
- Keep new servers inactive until provenance, permissions, command paths, and dependency versions are admitted.
- Probe the real protocol boundary with
initialize, capability negotiation, andtools/list; process existence is not certification. - Bound startup to the highest-priority required servers and lazy-load the rest after task selection.
- Record timeouts, malformed messages, stderr, tool-count/context cost, and shutdown behavior.
- Disable or prune only with explicit approval and a recoverable configuration receipt.
Never transmit credentials in arguments or evidence. Treat every MCP tool's declared effects as untrusted until independently enforced.