> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/p0-cli/p0-commands-and-usage/p0-claude-mcp-list.md).

# p0 claude mcp list

### **Overview** <a href="#overview" id="overview"></a>

`p0 claude mcp list` shows the MCP servers that are configured behind the [P0 AI Gateway](/readme/agentic-control-plane.md) and available to you. Use it to discover the server keys you pass to [`p0 claude mcp add`](/p0-cli/p0-commands-and-usage/p0-claude-mcp-add.md) when you connect a [Claude Code](https://docs.claude.com/en/docs/claude-code) client.

***

### **Prerequisites** <a href="#prerequisites" id="prerequisites"></a>

* Logged into the P0 CLI (`p0 login`).
* At least one MCP server configured behind the gateway. See the [Agentic Gateway integration](/integrations/resource-integrations/agentic-gateway.md).

***

### **Syntax & Flags** <a href="#syntax-and-flags" id="syntax-and-flags"></a>

```bash
p0 claude mcp list
```

* **`--debug`**: emit debug logs.

***

### **What it does** <a href="#what-it-does" id="what-it-does"></a>

1. Authenticates you to P0.
2. Queries your P0 tenant for the MCP servers configured behind the gateway.
3. Prints each server's key and gateway URL.

Each server key is the identifier you pass to [`p0 claude mcp add <server>`](/p0-cli/p0-commands-and-usage/p0-claude-mcp-add.md).

***

### **Examples** <a href="#examples" id="examples"></a>

```bash
# List the MCP servers available to you
p0 claude mcp list
```

***

### **Related commands** <a href="#related-commands" id="related-commands"></a>

* [**`p0 claude mcp add`**](/p0-cli/p0-commands-and-usage/p0-claude-mcp-add.md): connect a Claude Code client to one of the listed MCP servers.
