openshift-release-mcp
Fetches the raw .patch text for a pull request URL, enabling inspection of the PR's changes.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
openshift-release-mcp
An MCP (Model Context Protocol) server that exposes tools for querying the OpenShift release API. It is built with FastMCP and httpx, and speaks streamable HTTP so clients can connect to a URL (for example from Cursor).
The default API base is https://amd64.ocp.releases.ci.openshift.org/api/v1.
Requirements
Python 3.13+
Related MCP server: github-graphql-mcp-server
Install (uv)
git clone https://github.com/openshift/ocp-release-mcp.git
cd ocp-release-mcp
uv venv
source .venv/bin/activate
uv pip install .Configuration
Optional environment variables (or a .env file in the working directory):
Variable | Default | Purpose |
|
| OpenShift release API root |
|
| Bind address for the HTTP server |
|
| Listen port |
|
| Logging level |
Run
openshift-release-mcpThe server starts with streamable HTTP transport. By default it listens on http://0.0.0.0:8000; the MCP endpoint path is /mcp (for example http://localhost:8000/mcp).
Use with Cursor
Example .mcp.json in your project:
{
"mcpServers": {
"openshift-release": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Start openshift-release-mcp before connecting from the IDE.
MCP tools
Tool | Description |
| Fetches a release by stream and version tag. Returns structured data: version, phase, and updated images with commit subjects and PR URLs when the payload includes |
| Lists tags for a stream, optionally filtered by phase (passed as a query parameter to the API). |
| Compares two releases in the same stream: payload1 vs payload2 (base), using the API’s |
| Lists all RPMs in the RHCOS build of a release payload. |
| Compares RHCOS RPM lists between two release payloads, showing added, removed, and updated packages. |
| Lists all RPMs installed in a specific component image of a release payload. Requires |
| Fetches the raw |
Concepts
Release stream: A channel such as
4.22.0-0.nightly,4-stable,4-dev-preview, or4.18.0-0.ci.Version / tag: A specific build identifier, for example
4.22.0-0.nightly-2026-03-23-022245.Component: A container image within a release payload, for example
ovn-kubernetes,etcd, orkube-apiserver.
Stream naming conventions
Stream type | Example |
Nightly |
|
CI |
|
Dev Preview |
|
Stable |
|
EC (engineering candidate) releases such as 4.22.0-ec.4 use the 4-dev-preview stream.
Examples
Below are examples of questions you can ask an LLM connected to this MCP server:
"What is the OVN version in the ovn-kubernetes component in 4.22.0-ec.4?" Uses
get_component_rpmsto inspect theovn-kubernetesimage and filter forovnRPMs."What is the OVS version in the ovn-kubernetes component in 4.22.0-ec.4?" Uses
get_component_rpmsto inspect theovn-kubernetesimage and filter foropenvswitchRPMs."What is the etcd version in 4.22.0-ec.4?" Uses
get_component_rpmsto inspect theetcdimage. Since etcd is a Go binary (not an RPM), the LLM can also run theetcd --versionentrypoint on the image directly."List the latest accepted nightly releases for 4.22" Uses
list_tagswithstream=4.22.0-0.nightlyandphase=Accepted."What changed between two nightly releases?" Uses
compare_releaseswith the stream and two version tags to show updated images, commits, and component changes."What RHCOS RPMs changed between two releases?" Uses
compare_rhcos_rpmsto diff the full RPM lists between two payloads, showing added, removed, and updated packages."What RPMs are included in the RHCOS build for 4.22.0-0.nightly-2026-03-23-022245?" Uses
get_rhcos_rpmswith the stream and version tag.
License
See LICENSE in this repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Draft, publish, schedule and analyze ReleasePad changelog posts from any MCP client.
Manage Pipefork API projects, drafts, connections, secrets, and deployments through MCP.
Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Create, update, and publish changelog entries on your Patchlog changelog from any MCP client.
Related MCP Servers
- -licenseCqualityNot gradedmaintenanceEnables interaction with OpenAI-compatible APIs (like Ollama) through MCP tools. Provides access to chat completions, model listings, and embeddings generation from local or remote OpenAI-style endpoints.3-
- FlicenseNot gradedqualityDmaintenanceEnables executing arbitrary GraphQL queries and mutations against GitHub's API through a single MCP tool.13-
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to GitHub repositories and issues through standardized MCP tools, with caching to handle API rate limits.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables creating release manifests and verifying that local release folders or public HTTPS bytes match the manifest, using read-only MCP tools.MIT