Skip to content

fix(mcp,ci): add required MCP Registry OCI label and harden bootstrap retry - #142

Merged
hapheus merged 1 commit into
mainfrom
fix/mcp-oci-label-and-bootstrap-retry
Nov 10, 2026
Merged

hapheus merged 1 commit into
mainfrom
fix/mcp-oci-label-and-bootstrap-retry

Conversation

@hapheus

@hapheus hapheus commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the required io.modelcontextprotocol.server.name OCI label and manifest annotations so registry.modelcontextprotocol.io accepts docker.io/hapheus/torproxy:2.7.4, and hardens live-verification/action.yml against stalled Tor directory mirrors during cold start.

Key Changes

  • MCP Registry OCI Label & Annotations: Added LABEL io.modelcontextprotocol.server.name="io.github.hapheus/torproxy" to docker/Dockerfile and index/manifest annotations in .github/workflows/publish-dockerhub.yml.
  • Contract Tests: Extended tests/unit/test_contracts.py and tests/unit/test_ci_workflows.py to verify synchronization between server.json and docker/Dockerfile / publish-dockerhub.yml.
  • Bootstrap Resilience: Added mid-window container restart fallback in .github/actions/live-verification/action.yml when Tor bootstrap stalls on a slow directory mirror for >60s.
  • Version Bump: Bumped version to 2.7.4 across all single-source-of-truth files.

Closes #141

@MustermenschAlex MustermenschAlex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Adding io.modelcontextprotocol.server.name to both Dockerfile LABEL and Buildx OCI annotations satisfies the MCP Registry verification contract. Enforcing this via test_version_single_source_of_truth prevents future drift. Approved.

@kuenstlichedummheit-sys kuenstlichedummheit-sys left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Restarting the container mid-window when Tor gets stuck on an unresponsive directory authority during cold start is a smart failover. Annotations check out as well. LGTM.

@majorungustl majorungustl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Gives the MCP registry exactly the label it asks for, and keeps cold-start CI runs from hanging on flaky mirrors. Ready to merge.

@hapheus
hapheus merged commit 2a538fd into main Nov 10, 2026
12 checks passed
@hapheus
hapheus deleted the fix/mcp-oci-label-and-bootstrap-retry branch November 10, 2026 20:09
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.

fix(mcp,ci): add required MCP Registry OCI label and harden gateway bootstrap retry

4 participants