Skip to content

fix(docker): add the server.json name label to the image and check it in CI #82

Closed as not planned

Description

@christianclaudio

Problem

The Dockerfile sets no io.modelcontextprotocol.server.name label, so the image doesn't carry the MCP Registry name from server.json (io.github.christianclaudio/espn), and CI has no check for it.

The MCP Registry uses the io.modelcontextprotocol.server.name image label to verify that an OCI package belongs to the server named in server.json (MCP Registry package types). If the label and the name drift apart, the image no longer verifies.

Proposed fix

  • Add LABEL io.modelcontextprotocol.server.name="io.github.christianclaudio/espn" to the runtime stage of the Dockerfile.
  • After the image builds in CI's docker job, add a step that reads the label from the built image and fails unless it equals server.json's name.

Scope

Not part of the uv.lock image install change; it's queued for a later batch.

Activity

  1. added
    forge-todo
    on Oct 26, 2026
  2. christianclaudio commented on Oct 26, 2026

    @christianclaudio
    OwnerAuthor

    Closing to cut issue noise. The image-label check is tracked as a single item for the next fleet wave instead of one issue per repo.

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

    forge-todo

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions