SSE-based MCP server for querying OCI image metadata, manifests, configs, and repository tags.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Ocireg MCP.
image_refThe image reference (e.g., docker.io/library/alpine:latest)
repositoryThe repository name (e.g., docker.io/library/alpine)
An MCP (Model Context Protocol) server that provides tools for querying OCI
registries and image references.
This project implements an SSE-based MCP server that allows LLM-powered applications to interact with OCI registries. It provides tools for retrieving information about container images, listing tags, and more.
The server provides the following MCP tools:
Get information about an OCI image.
Input:
image_ref: The image reference (e.g., docker.io/library/alpine:latest)Output:
List tags for a repository.
Input:
repository: The repository name (e.g., docker.io/library/alpine)Output:
Get the manifest for an OCI image.
Input:
image_ref: The image reference (e.g., docker.io/library/alpine:latest)Output:
Get the config for an OCI image.
Input:
image_ref: The image reference (e.g., docker.io/library/alpine:latest)Output:
The easiest way to run the OCI Registry MCP server is using ToolHive, which provides secure, containerized deployment of MCP servers:
The server will be available to your MCP-compatible clients and can query OCI registries for image information.
If you need to access private registries, you can provide authentication credentials using ToolHive's secret management:
The server supports the following authentication methods for accessing private OCI registries (in order of priority):
HTTP Authorization Header (Highest Priority): Include a bearer token in
the HTTP request's Authorization header:
Authorization: Bearer <your-token>Bearer Token Environment Variable: Set the following environment variable:
OCI_TOKEN: Bearer token for registry authenticationUsername and Password: Set the following environment variables:
OCI_USERNAME: Username for registry authenticationOCI_PASSWORD: Password for registry authenticationDocker Config (Lowest Priority): If no other authentication is provided,
the server will use the default Docker keychain, which reads credentials from
~/.docker/config.json.
Examples:
The server can be configured to listen on a specific port using either:
Environment Variable:
MCP_PORT: The port number to listen on (must be between 0 and 65535)Command-line Flag:
-port: Overrides the environment variable setting (must be between 0
and 65535)./ocireg-mcp -port 9090We welcome contributions to this MCP server! If you'd like to contribute, please review the CONTRIBUTING guide for details on how to get started.
If you run into a bug or have a feature request, please
open an issue in the
repository or join us in the #mcp-servers channel on our
community Discord server.
This project is licensed under the Apache v2 License - see the LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stackloklabs-ocireg-mcp)<a href="https://allmcps.com/mcp/stackloklabs-ocireg-mcp"><img src="https://allmcps.com/api/badge/stackloklabs-ocireg-mcp?style=directory" alt="Ocireg MCP on AllMCPs" /></a>