fix(mcp): proxy dynamic client registration so Claude Code can register #2025

Merged
sean merged 1 commit from fix/mcp-dcr-hydra-shim into trunk 2026-08-10 12:43:45 +00:00
Owner

Claude Code /mcp sign-in fails: Hydra echoes client_uri: "" and contacts: null, and Claude Code rejects both (anthropics/claude-code#13685, not planned). Add POST /register to the MCP server: forward to the issuer, remove top-level ""/null fields. sean/ory follow-up points registration_endpoint at https://mcp.sean.farm/register.

Claude Code /mcp sign-in fails: Hydra echoes client_uri: "" and contacts: null, and Claude Code rejects both (anthropics/claude-code#13685, not planned). Add POST /register to the MCP server: forward to the issuer, remove top-level ""/null fields. sean/ory follow-up points registration_endpoint at https://mcp.sean.farm/register.
fix(mcp): proxy dynamic client registration so Claude Code can register
All checks were successful
pipeline/ci CI green @ 50859cce1fa0
50859cce1f
Claude Code's /mcp sign-in fails against Hydra's /oauth2/register:
Hydra answers with client_uri: "" and contacts: null, and Claude
Code's response schema demands a parseable URL or an absent key
(anthropics/claude-code#13685, closed as not-planned; ory/hydra#4044
tracks the server side, also unfixed).

Add POST /register to the MCP server. It forwards the registration to
the issuer and removes each top-level field whose value is "" or
null. The endpoint takes no bearer token: a registering client has no
credentials yet. sean/ory then points the advertised
registration_endpoint at https://mcp.sean.farm/register.
sean merged commit 50859cce1f into trunk 2026-08-10 12:43:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/pipelines!2025
No description provided.