---
title: Connecting AI Clients to the MCP Gateway
slug: kronpam-reference-guide-3-9-0/connecting-ai-clients-to-the-mcp-gateway
docTags: 
createdAt: 2026-10-14T14:07:06.187Z
---

The AI client stores only the gateway endpoint. Unlike the Kron PAM MCP Server, the gateway needs no access token in the client configuration. Users authenticate in the browser when the gateway asks them to.

**Common Parameters**

- **Server name** — The name under which the gateway appears in the AI client, for example *KronPAM-MCPGateway*.
- **Endpoint** — The gateway endpoint, https\://KronPAM\_IP\_Address:8446/mcp.
- **Transport** — The HTTP transport.

### Configuring Claude Code

Claude Code connects to the gateway through its built-in HTTP transport.

**Adding the MCP Gateway Definition**

Run the following command in a terminal:

```linux
claude mcp add --transport http --scope user KronPAM-MCPGateway https://KronPAM_IP_Address:8446/mcp
```

Replace the *KronPAM\_IP\_Address* placeholder. The --scope user option makes the gateway available in every project and stores the definition in the .claude.json file in your home directory.

**Verifying the Definition**

To confirm that Claude Code loads the definition:

1.     Start Claude Code in the terminal:

:::BlockQuote
claude
:::

2.     Run the following command:

:::BlockQuote
/mcp
:::

3.     Select *KronPAM-MCPGateway*. Confirm that the **Status** field shows *connected* and the **Tools** field shows *4 tools*.

![MCP Gateway Connection in Claude Code](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/8E5eFRcDj1Sk7oDMTFZ-D_cli.png)

### Configuring Claude Desktop

Claude Desktop reads its MCP definitions from the claude\_desktop\_config.json file. To open the file, navigate to **Settings** > **Developer** in Claude Desktop and click the **Edit Config** button in the **Local MCP servers** section.

**Adding the MCP Gateway Definition**

Add the following definition to the file. When the file already contains an mcpServers block, add only the KronPAM-MCPGateway entry:

```json
{
  "mcpServers": {
    "KronPAM-MCPGateway": {
      "command": "npx.cmd",
      "args": [
        "-y",
        "mcp-remote",
        "https://KronPAM_IP_Address:8446/mcp",
        "--transport",
        "http-only"
      ]
    }
  }
}
```

Replace the *KronPAM\_IP\_Address* placeholder, then save and close the file. Quit Claude Desktop completely and start it again.
