MCP OAuth Authorize
MCP OAuth Authorize
Initiate OAuth flow for an MCP server requiring OAuth authentication.
GET
MCP OAuth Authorize
Documentation Index
Fetch the complete documentation index at: https://docs.shinzo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires JWT token or Platform API key viaAuthorization: Bearer <token> header.
MCP server UUID
Optional redirect URI after OAuth completion
Example Request
Response
This endpoint returns a redirect response (HTTP 302) to the OAuth provider’s authorization page.OAuth Flow
- User initiates OAuth by calling this endpoint
- Backend redirects to OAuth provider authorization page
- User grants permissions
- OAuth provider redirects to
/mcp/servers/{id}/oauth/callback - Backend exchanges code for access token
- MCP server is configured with OAuth credentials
Use Cases
Some MCP servers require OAuth authentication to access external services:- Google Cloud MCP: Requires Google OAuth to access GCP APIs
- GitHub MCP: Requires GitHub OAuth for repository access
- Slack MCP: Requires Slack OAuth for workspace access
Status Codes
| Code | Description |
|---|---|
302 | Redirect to OAuth provider |
400 | MCP server does not support OAuth |
401 | Unauthorized - invalid or missing authentication |
404 | MCP server not found |

