Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mcp-worker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ export default {
defaultHandler: app,
authorizeEndpoint: '/oauth/authorize',
tokenEndpoint: '/oauth/token',
// Enables RFC 7591 Dynamic Client Registration. MCP clients such as
// Claude Code and `mcp-remote` require a `registration_endpoint` in the
// OAuth discovery metadata to obtain a client_id; without it they fail
// with "does not support dynamic client registration". See PR #577.
clientRegistrationEndpoint: '/oauth/register',
tokenExchangeCallback: createTokenExchangeCallback(env),
})

Expand Down
Loading