You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OAuth client id is required but documented as optional #83
Error: failed to load configuration: failed to load configuration: invalid configuration: mcpServers[3].oauth.client_id: client_id is required when oauth is configured
I tried setting oauth: {} because otherwise it seems the OAuth flow is not even started (tried with linear and figma MCPs), but i'm stuck there because I don't have a client_id.
Thanks for reporting this issue! You've identified a real bug in the validation logic.
Issue Confirmed
You were absolutely right - the documentation says client_id is optional and supports Dynamic Client Registration (RFC 7591), but the validation code was incorrectly requiring it whenever an oauth block was present.
Fix Implemented
I've just created PR #116 which fixes this problem:
What was wrong:
Validation code required client_id to be non-empty whenever oauth configuration existed
This blocked users from using DCR mode as documented
What's fixed:
Removed the mandatory client_id validation check
client_id is now truly optional as documented
Both DCR mode (empty client_id) and pre-registered client mode (with client_id) now work correctly
I've added comprehensive test cases and verified the fix with configurations matching your use case. All tests pass and the server starts successfully with OAuth configs that have empty client_id.
Activity
fix: make OAuth client_id optional to support Dynamic Client Registra…
Dumbris commentedon Nov 1, 2025
Thanks for reporting this issue! You've identified a real bug in the validation logic.
Issue Confirmed
You were absolutely right - the documentation says
client_idis optional and supports Dynamic Client Registration (RFC 7591), but the validation code was incorrectly requiring it whenever anoauthblock was present.Fix Implemented
I've just created PR #116 which fixes this problem:
What was wrong:
client_idto be non-empty wheneveroauthconfiguration existedWhat's fixed:
client_idvalidation checkclient_idis now truly optional as documentedclient_id) and pre-registered client mode (withclient_id) now work correctlyYour config now works:
{ "name": "linear-mcp", "url": "https://api.linear.app/mcp", "protocol": "http", "oauth": { "scopes": ["mcp.read", "mcp.write"], "pkce_enabled": true } }Testing
I've added comprehensive test cases and verified the fix with configurations matching your use case. All tests pass and the server starts successfully with OAuth configs that have empty
client_id.PR for review: #116
Thanks again for the detailed bug report - it really helped identify the mismatch between documentation and implementation!