Skip to content

fix(registry): normalize v0.1 remote type to transport_type - #3741

Closed
Mohammed Alkindi (MohammedAlkindi) wants to merge 1 commit into
microsoft:mainfrom
MohammedAlkindi:fix/mcp-v01-remote-type
Closed

Mohammed Alkindi (MohammedAlkindi) wants to merge 1 commit into
microsoft:mainfrom
MohammedAlkindi:fix/mcp-v01-remote-type

Conversation

@MohammedAlkindi

Copy link
Copy Markdown
Contributor

Description

The registry boundary omitted normalization for remote records, leaving MCP Registry v0.1 remotes with only a type field unmapped. This caused apm mcp show to report unknown for transport types and VS Code configuration generation to default modern SSE remotes to http.

Remote records in SimpleRegistryClient now normalize v0.1 type and legacy transport_type bi-directionally, and VS Code adapter and show command defensively accept both fields.

Issue and approved scope

Issue: Fixes #3736

Human scope-approval comment: #3736

Does this PR complete the issue, or what remains? Completes the issue.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Spec conformance (OpenAPM v0.1)

  • Spec edit: docs/src/content/docs/specs/openapm-v0.1.md updated
    (new/changed <a id="req-XXX"></a> anchor + prose + Appendix C
    row).
  • Manifest edit: docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.yml
    updated.
  • Test edit: a @pytest.mark.req("req-XXX") test under
    tests/spec_conformance/ added or extended.
  • CONFORMANCE.{md,json} regenerated via
    uv run --extra dev python -m tests.spec_conformance.gen_statement
    and committed.
  • N/A -- this PR does not change OpenAPM-observable behaviour.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Thank you Mohammed Alkindi (@MohammedAlkindi) for digging into #3736 and for this fix. The 0.36.1 harness work landed the same normalization as a single owner (mcp_transport.canonical_remote_transport) together with per-harness shapes, the Codex/Antigravity SSE skip and an upgrade heal for entries earlier releases wrote, in #3789. Your work is credited there with a Co-authored-by trailer on every commit. Closing this one as superseded by #3789 -- thanks again, and we would be glad to see more contributions from you.

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.

[BUG] MCP v0.1 remote type is ignored in show and VS Code configuration

3 participants