diff --git a/Dockerfile b/Dockerfile index fcd740dd..888230a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,6 +74,11 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ # --- Stage 2: runtime -------------------------------------------------------- FROM debian:bookworm-slim AS runtime +# Ownership-verification label for the MCP Registry: when this image is +# published as an MCP server entry, the registry requires this label to +# match the server name in server.json. +LABEL io.modelcontextprotocol.server.name="io.github.api7/aisix" + RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates tini \ && rm -rf /var/lib/apt/lists/* \