mcp_gateway

PostHog's built-in agents and their MCP access grants.

The catalog is fixed. Projects can pause an agent's MCP access and grant or revoke servers, but cannot create, rename, rotate, or delete agents.

get/api/projects/{project_id}/mcp_gateway/service_accounts/{id}/

Request

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

Path parameters

idstring uuid required

A UUID string identifying this mcp service account.

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

idstring uuid required
namestring required
descriptionstring required
handlestring required

Stable internal identity handle for this PostHog agent.

agent_key'support' | 'scout' | 'workflow' required
status'active' | 'paused' required
  • active - Active
  • paused - Paused
server_idsstring[] required

Gateway servers configured for this agent.

last_active_atstring date-time nullable required

When the agent last made a call through the gateway.

created_atstring date-time required
updated_atstring date-time required

Changes

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