// Module included in the following assemblies:
//
// * ai_applications/mcp_server/mcp-server-overview.adoc

:_mod-docs-content-type: PROCEDURE
[id="ai-app-mcp-server-connect-client_{context}"]
= Connect a client to the MCP server

[role="_abstract"]
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.json` file

* For Claude Code (CLI): `.mcp.json` file
+
[source,json]
----
{
  "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.
