OCI Registry MCP Server logo

OCI Registry MCP Server

by StacklokLabs

An MCP server that provides tools for querying OCI registries and image references. It allows LLM-powered applications to interact with OCI registries.

View on GitHub

Last updated: N/A

What is OCI Registry MCP Server?

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.

How to use OCI Registry MCP Server?

The server provides MCP tools such as get_image_info, list_tags, get_image_manifest, and get_image_config. These tools take specific inputs like image references or repository names and return information about the OCI images, tags, manifests, and configurations. Authentication can be configured using bearer tokens, username/password, or Docker config.

Key features of OCI Registry MCP Server

  • Get information about OCI images

  • List tags for repositories

  • Get image manifests

  • Get image configs

Use cases of OCI Registry MCP Server

  • Retrieving image metadata for security analysis

  • Listing available tags for a specific repository

  • Fetching image manifests for vulnerability scanning

  • Obtaining image configurations for compliance checks

FAQ from OCI Registry MCP Server

How do I authenticate with a private registry?

You can authenticate using a bearer token, username/password, or Docker config. Set the appropriate environment variables (OCI_TOKEN, OCI_USERNAME/OCI_PASSWORD) or ensure your Docker config is properly set up.

What is an MCP tool?

MCP stands for Model Context Protocol. An MCP tool is a function provided by the server that allows you to interact with OCI registries.

What kind of information can I get about an image?

You can retrieve the image digest, size, architecture, OS, creation date, and number of layers.

What is the input required for get_image_manifest?

The input required is the image reference (e.g., docker.io/library/alpine:latest).

What is the purpose of this server?

The server enables LLM-powered applications to interact with OCI registries, facilitating tasks such as image analysis and management.