Instead of manual file editing, EU and self-hosted users can now set
the POSTHOG_MCP_URL environment variable. This follows the pattern
used by other MCP servers like Postman and GitHub.
- Use template variable in .mcp.json: ${POSTHOG_MCP_URL:-default}
- Update README with env var instructions for EU Cloud
- Unify self-hosted config to use same env var
- Remove unnecessary .mcp-eu.json file
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The `?region=eu` query parameter does not work due to a known Claude Code
OAuth issue where it ignores the authorization_servers field from OAuth
metadata. EU users must use the mcp-eu.posthog.com subdomain instead.
Changes:
- Add .mcp-eu.json config file for EU Cloud users
- Update README with correct EU setup instructions
- Link to the Claude Code issue for context
Fixes the issue reported by Kristo in the docs thread.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- EU Cloud: clarify that region=eu param is recommended (auto-detect
works but param is faster/more reliable)
- Remove "Coming soon" section - all commands are now available
- Add missing commands to list (logs, llm-analytics, docs, actions,
search, workspace)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add four new slash commands to the PostHog Claude plugin:
- /experiments - A/B testing experiment management
- /dashboards - Dashboard management and insights
- /surveys - Survey creation and response tracking
- /query - HogQL queries and natural language analytics
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The 'documentation' field is not recognized by Claude Code plugin validation.
Also restored .mcp.json and fixed command frontmatter to match official examples.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Following Sentry's pattern, MCP servers should be defined
in plugin.json, not a separate .mcp.json file.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Commands must be in subdirectories with SKILL.md files:
- commands/flags/SKILL.md
- commands/insights/SKILL.md
- commands/errors/SKILL.md
Invoked as /posthog:flags, /posthog:insights, /posthog:errors
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use http transport with OAuth instead of API key
- Claude Code handles the OAuth flow interactively via /mcp
- Simpler setup for users
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Commands should be direct .md files with YAML frontmatter,
not subdirectories with COMMAND.md files.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds PostHog as a Claude Code plugin with:
- MCP server configuration pointing to mcp.posthog.com
- Slash commands for flags, insights, and errors
- Documentation and setup instructions
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>