Skip to content

MCP for the Go toolkit

The module is being built to provide progressive discovery and execution for CLI and service applications. Compact discovery exposes search, inspection and invocation; direct publication is an explicit option. The first consumer is go-tool-base's own CLI, followed by Keryx Studio's HTTP interface under controls lifecycle management.

The current implementation provides the framework-free value layer: results, all six content variants, resource references, metadata, annotations, presentation hints and safe failures. The immutable registry adds authorized search, inspection and invocation with prepared schemas and core budgets. Form/URL prompts, bounded continuations, replay/recovery and per-call progress are implemented. Explicit resource reads include authorized plans, route/list handling and bounded partial-bundle warnings. Compact/direct SDK hosting is available; interactions, Apps and Cobra are upcoming. This is an unreleased module.

Start with constructing a result, then attach rich content. The registry tutorial shows how to discover and invoke an operation; confirmation and resume adds interaction. The resource tutorial introduces authorized bundles. Ownership and validation explains which guarantees constructors provide. The development reference lists local checks and package boundaries.

The specification register links to the authoritative wiki spec and acceptance plan.

Compact and direct SDK publication are available in the optional server package. See hosting tutorial and server contracts and remaining work.