provider mcp_server_installations POST /api/environments/{environment_id}/mcp_server_installations/install_custom/
@utdk/posthog /api/environments/{environment_id}/mcp_server_installations/install_custom/
environments_mcp_server_installations_install_custom_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMcpServerInstallationsInstallCustomCreate
POST/api/environments/{environment_id}/mcp_server_installations/install_custom/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Input

required
required
required

* `api_key` - api_key * `oauth` - oauth

'personal' is per-user; 'shared' is team-wide (visible to all project members and sandbox agents). * `personal` - personal * `shared` - shared

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsMcpServerInstallationsInstallCustomCreate({
  "install_source": "posthog",
  "scope": "personal"
})