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.

patch/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/.

Request body

status'active' | 'paused'
  • active - Active
  • paused - Paused

Response

status'active' | 'paused'
  • active - Active
  • paused - Paused

Changes

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