To install the Model Context Protocol (MCP) server for Red Hat {product-title} feature, connect an MCP-compatible client, such as Claude Code, to the MCP server.
Prerequisites
-
Access to OpenShift console with admin rights.
-
The MCP server Helm chart is installed.
Procedure
-
Add the following lines to your client configuration file:
-
For Claude Desktop:
claude_desktop_config.jsonfile -
For Claude Code (CLI):
.mcp.jsonfile{ "mcpServers": { "openshift": { "type": "http", "url": "<url of the route created in the Helm chart>/mcp" } } }Where
<url of the route created in the Helm chart>is the hostname you configured during Helm installation.
-
-
Accept the CA certificate when prompted by the client.