Events, insights, surveys, persons per PostHog project. Multi-project = multi-account.
#PostHog
Events, insights, surveys, persons per PostHog project. Multi-project = multi-account.
#Get a token
Generate a Personal API key (phx_…) at https://us.posthog.com/project/settings/personal-api-keys.
#Recommended scopes
- Personal API key with read scope on events + insights at minimum.
- Each account is one Project ID.
#Add it to the vault
bashmcpvault add posthog
Example session:
text$ mcpvault add posthog Label: aiside API Key: phx_•••• Project ID: 12345 ✓ Validated as "Alice @ AISIDE" ✓ Saved.
#Tools exposed
see upstream
#Switch to this account
In any chat client wired to mcpvault, ask:
Switch to my <label> PostHog account.
The vault server's activate_account tool flips the active label. Wrappers re-read it on the next call — no restart.