Feature request: Support static / pre-registered OAuth for Custom MCPs
Request
Please add support for standard OAuth 2.0 with a pre-registered/static OAuth client for Custom MCPs, alongside the current DCR_OAUTH option.
Today, Custom MCP auth appears to support NO_AUTH, API_KEY, and DCR_OAUTH. This leaves out remote MCP servers that implement OAuth Authorization Code + PKCE but intentionally do not support Dynamic Client Registration.
Concrete use case: Zepto MCP
- MCP endpoint: https://mcp.zepto.co.in/mcp
- Repo: https://github.com/zeptonow/mcp
Zepto uses OAuth with statically whitelisted client IDs / redirect URIs rather than DCR. It therefore works with clients Zepto has explicitly registered, but cannot currently be connected cleanly through Composio Custom MCP.
Suggested capability
A STATIC_OAUTH / OAUTH2 auth mode for Custom MCPs that can configure:
client_id- optional
client_secret - authorization endpoint / discovery URL
- token endpoint
- scopes
- PKCE
- Composio callback URL
- refresh-token handling
This seems analogous to the bring-your-own OAuth app support Composio already provides for normal toolkits.
Why this would help
Without this mode, the main workarounds are to:
- copy short-lived OAuth access tokens into an
API_KEY/Bearer header manually, with no automatic refresh, or - deploy a proxy solely to handle OAuth token refresh.
Native static OAuth support would avoid both and make Custom MCP compatible with a broader set of remote MCP servers that use pre-registered OAuth clients instead of DCR.
Zepto is the immediate use case, but this is a general interoperability gap for Custom MCPs.
Is there already an undocumented way to configure this, or could this auth mode be added?
Source: ComposioHQ/composio