Skip to content

MCP 2026-07-28: wire tests + docs updates for the new surface #283

Description

@bobakemamian

Part of #265 — MCP 2026-07-28 compliance. Testing & docs (closes out the migration).

Tasks

  • Extend internal/mcpserver/server_test.go wire tests:
    • modern-era _meta round-trip (protocolVersion + clientCapabilities)
    • error paths: -32022 unsupported version, -32602 missing _meta / unknown tool / invalid cursor, -32600 structurally invalid request
    • mid-press cancellation and cancel-after-complete race
    • dual-era coexistence on one connection; tools/* works with no initialize
    • server/discover result shape (resultType, supportedVersions, ttlMs/cacheScope, serverInfo _meta)
  • Update the CLAUDE.md "MCP Server (Phase 2)" section for the 2026-07-28 surface
  • Update docs/buttons/mcp.mdx; regenerate docs/cli/buttons_mcp.md if flags change

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions