For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP server

Configure upstream MCP servers behind the P0 AI Gateway to make them available to P0-managed agents under policy.

The MCP server component configures an upstream MCP server behind the P0 AI Gateway. Once an MCP server is configured, it is available to P0-managed agents across your organization: agents connect to it through the gateway's URL, and every tool call is authenticated and checked against policy before it reaches the upstream server.

Prerequisites

Types of MCP server

When you add a server, you set its Definition: a server predefined by P0, or a custom server you define yourself.

Server
Type
Description

Predefined

Exposes the AWS CLI to agents. Requires the AWS OIDC component.

Predefined

Exposes Google Cloud APIs to agents, with one server per Google Cloud service. Requires a GCP Workload Identity Federation provider.

Custom

A server you define yourself, for any MCP server P0 does not ship a predefined definition for.

Add an MCP server

Every MCP server starts with the same steps. The final configuration screen differs by server. Continue to the AWS, GCP, or Custom page once you reach it.

  1. Navigate to Integrations on p0.app and select Agentic gateway, then choose the MCP server component.

Agentic gateway integration page listing the Gateway and MCP server components, not installed
  1. Click Add server.

MCP server component page with an empty list of installed servers and an Add server button
  1. Enter the server details, then click Next:

Form for installing a new server with fields for server identifier, gateway, and path
  • Server identifier: a name for this server within P0.

  • Gateway: the registered gateway that hosts this server.

  • Path: the path, relative to the gateway URL, where agents reach this server.

  1. Set the Definition to the kind of server you are adding:

Next steps

Once a server is configured behind the gateway, each developer connects their own agent to it. See Use MCP servers with Claude Code.

Last updated