Skip to content

Conversation

@MattBro
Copy link
Contributor

@MattBro MattBro commented Jan 21, 2026

Problem

EU users using Claude Code with the PostHog MCP server were being redirected to US OAuth login even with ?region=eu. This is due to a Claude Code bug where it ignores the authorization_servers field from OAuth metadata.

Changes

Updated the EU region callout box to specify:

  • Claude Code: Must use https://mcp-eu.posthog.com/mcp subdomain
  • Other clients: Can continue using ?region=eu query parameter

Related PRs

🤖 Generated with Claude Code

Claude Code requires the mcp-eu.posthog.com subdomain for EU users
due to an OAuth bug where it ignores the authorization_servers field.
Other clients can continue using the ?region=eu query parameter.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
posthog Ready Ready Preview Jan 22, 2026 6:50pm

Request Review

If your PostHog project is on EU Cloud, add `?region=eu` to the MCP URLs. For example: `https://mcp.posthog.com/mcp?region=eu`
If your PostHog project is on EU Cloud:

- **Claude Code**: Use `https://mcp-eu.posthog.com/mcp` (the EU subdomain is required for OAuth to work correctly)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is confusing, can we just tell them to use mcp-eu, its weird to have two standards?

Comment on lines 33 to 36
If your PostHog project is on EU Cloud:

- **Claude Code**: Use `https://mcp-eu.posthog.com/mcp` (the EU subdomain is required for OAuth to work correctly)
- **Other clients**: Add `?region=eu` to the MCP URLs, e.g., `https://mcp.posthog.com/mcp?region=eu`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not suggest the mcp-eu subdomain at all times? Is there anything bad with it? We should have simpler docs if possible

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@MattBro MattBro enabled auto-merge (squash) January 22, 2026 18:27
@MattBro MattBro merged commit 768623b into master Jan 22, 2026
15 checks passed
@MattBro MattBro deleted the matt/mcp-eu-subdomain-docs branch January 22, 2026 18:51
sarahxsanders pushed a commit that referenced this pull request Jan 26, 2026
* docs(mcp): add EU subdomain instructions for Claude Code

Claude Code requires the mcp-eu.posthog.com subdomain for EU users
due to an OAuth bug where it ignores the authorization_servers field.
Other clients can continue using the ?region=eu query parameter.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: simplify EU MCP docs to use subdomain for all clients

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants