mcp-use supports multiple authentication methods for MCP servers, including OAuth 2.0 with automatic Dynamic Client Registration (DCR), bearer tokens, and custom authentication providers.
your-app-name
http://localhost:8080
(or your custom port)http://localhost:8080/callback
(or your custom port)~/.mcp_use/tokens/
~/.mcp_use/tokens/{server_domain}.json
~/.mcp_use/tokens/registrations/{server_domain}_registration.json
Parameter | Type | Required | Description |
---|---|---|---|
client_id | string | No* | OAuth client ID (required if not using DCR) |
client_secret | string | No | OAuth client secret (required if not using DCR) |
scope | string | No | OAuth scopes to request |
callback_port | integer | No | Port for OAuth callback (default: 8080) |
oauth_provider | object | No | OAuth provider metadata |
oauth_provider
with metadataclient_id
client_id
)http://localhost:8080/callback
(or your custom port)repo
, read:user
, etc.https://mcp.linear.app/sse
https://mcp.asana.com/sse
https://mcp.atlassian.com/v1/sse
https://api.githubcopilot.com/mcp/