The dedicated Traverse MCP WASM server package is the thin, governed host-facing surface for the app-consumable MCP path.
The packaged MCP server artifact is defined in docs/packaged-traverse-mcp-server-artifact.md.
For the first youaskm3 release-facing client path, use docs/youaskm3-canonical-mcp-client-path.md.
It is intentionally narrow:
- it stays a façade over Traverse runtime authority
- it uses the canonical expedition registry bundle as its source of truth
- it exposes discovery, description, validation, execution, and execution-report rendering through one stdio command surface
- it is documented and runnable locally
The supported developer bootstrap path for the dedicated MCP server is:
cargo run -p traverse-mcp -- stdioThat stdio command is the only supported bootstrap mode in the current app-consumable release path.
Unsupported bootstrap attempts fail loudly:
- omitting the command prints the usage line and exits non-zero
- using any command other than
stdioprintsUnsupported command: <command>and exits non-zero
Developers and agents should treat other bootstrap ideas as unsupported unless they are explicitly documented in this page or in the packaged artifact docs.
From the repository root:
cargo run -p traverse-mcp -- stdioTo simulate a deterministic startup failure for validation:
cargo run -p traverse-mcp -- stdio --simulate-startup-failureThe package emits deterministic JSON envelopes for:
describe_serverlist_content_groupsdescribe_content_grouplist_entrypointsdescribe_entrypointvalidate_entrypointexecute_entrypointrender_execution_reportshutdown
The server reports governed content groups, capabilities, events, and workflows from the canonical expedition bundle.
The first content group exposed through the dedicated server is the neutral core-runtime example group:
core-runtime-example
It points at the checked-in executable capability package template and local runtime documentation, so clients can discover a Traverse-native content family that is not expedition-specific.
Run the deterministic smoke test for the package surface:
bash scripts/ci/mcp_stdio_server_smoke.sh
bash scripts/ci/mcp_stdio_server_discovery_smoke.sh
bash scripts/ci/mcp_stdio_server_execution_report_smoke.shRun repository checks:
bash scripts/ci/repository_checks.shFor downstream youaskm3 release evidence, also run:
bash scripts/ci/mcp_consumption_validation.sh
bash scripts/ci/mcp_real_agent_exercise_smoke.sh