mcp_gateway

The team's gateway settings, plus whether the caller can administer them.

get/api/projects/{project_id}/mcp_gateway/config/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/mcp_gateway/config/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

allow_custom_serversboolean

Whether non-admin members may register custom MCP servers with the gateway.

allow_member_agent_accessboolean

Whether non-admin members may share their available MCP connections with agents and manage agent tool policies.

default_servers_enabledboolean

Whether servers with no gateway registration — including catalog templates published later — are enabled for the team. A registered server's own toggle always wins.

registered_template_idsstring[] required

Catalog template ids that already have a gateway registration, including registrations hidden from the requesting member. Clients use this list to avoid presenting disabled or revoked templates as new.

is_adminboolean required

Whether the requesting user can administer the gateway (org admin or explicit project admin).

Changes

No recorded changes to this operation across all 1 revision of this API.