provider mcp_server_installations GET /api/environments/{environment_id}/mcp_server_installations/authorize/
@utdk/posthog /api/environments/{environment_id}/mcp_server_installations/authorize/
environments_mcp_server_installations_authorize_retrieve
Start (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
install_source query
* `posthog` - posthog * `posthog-code` - posthog-code
enum: posthog, posthog-code
installation_id query
string
posthog_code_callback_url query
string
template_id query
string

Try it

Authentication
Configure credentials for PostHog API
environmentsMcpServerInstallationsAuthorizeRetrieve
GET/api/environments/{environment_id}/mcp_server_installations/authorize/
Start (or re-start) an OAuth flow. Pass ``template_id`` to (re)connect a catalog template, or ``installation_id`` to reconnect an existing custom install using its cached metadata and per-user DCR creds.

Parameters

required

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

* `posthog` - posthog * `posthog-code` - posthog-code

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.environmentsMcpServerInstallationsAuthorizeRetrieve({
  "install_source": "posthog"
})