Skip to content

feat(mcp): Mode B Spec 520 embedded MCP host CLI - #1354

Merged
enricopiovesan merged 2 commits into
mainfrom
claude/issue-1242-mode-b-embedded-mcp-host
Sep 12, 2026
Merged

feat(mcp): Mode B Spec 520 embedded MCP host CLI#1354
enricopiovesan merged 2 commits into
mainfrom
claude/issue-1242-mode-b-embedded-mcp-host

Conversation

@enricopiovesan

@enricopiovesan enricopiovesan commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add traverse-mcp prepare-cache to prepare a Spec 520 / Spec 080 host-owned verified cache from public registry_ref values (--synced-state, --cache, repeatable --ref).
  • Add traverse-mcp stdio --cache <dir> so App-Refs Mode B can point at the shipped host without registry materialize or an expedition checkout.
  • Document the prepare → serve pin path and add scripts/ci/mcp_stdio_server_mode_b_smoke.sh (prepare fixture cache → stdio execute one digest-pinned capability → fail-closed unprepared cache).

Closes #1242

Governing Spec

  • 080-embedded-registry-cache
  • 119-verified-registry-mcp-mode-a
  • 086-mode-a-registry-mcp
  • 004-spec-alignment-gate
  • 065-sigstore-bundle-verification

Project Item

What Changed

  • Contracts changed: none.
  • Runtime behavior changed: none beyond the traverse-mcp host CLI.
  • Compatibility impact: additive Mode B prepare-cache + --cache serve flag.
  • ADR needed or linked: none.

Validation

  • cargo test -p traverse-mcp --lib
  • cargo test -p traverse-mcp --bin traverse-mcp
  • cargo clippy -p traverse-mcp --all-targets -- -D warnings
  • bash scripts/ci/mcp_stdio_server_mode_b_smoke.sh
  • Local preflight passed (scripts/ci/local_preflight.sh --pr-body)
  • Spec alignment checked
  • traverse-mcp coverage 98.52% (gate 98%)

enricopiovesan and others added 2 commits September 11, 2026 19:46
Prepare public registry refs into a host-owned verified cache, then serve
MCP from that cache without an expedition checkout or materialize rewrite.

Co-authored-by: Cursor <cursoragent@cursor.com>
Raise traverse-mcp line coverage back above the 98% gate after the new host CLI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@enricopiovesan
enricopiovesan merged commit 479a4f0 into main Sep 12, 2026
50 of 51 checks passed
@enricopiovesan
enricopiovesan deleted the claude/issue-1242-mode-b-embedded-mcp-host branch September 12, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Spec 520 Mode B embedded MCP host CLI

1 participant