MCP-Protocol-Version: <protocol-version>
during
Server Metadata Discovery to allow the MCP server to respond based on the MCP protocol
version.
For example: MCP-Protocol-Version: 2024-11-05
path
component. For example:
If the MCP server URL is https://api.example.com/v1/mcp
, then:
https://api.example.com
https://api.example.com/.well-known/oauth-authorization-server
Endpoint | Default Path | Description |
---|---|---|
Authorization Endpoint | /authorize | Used for authorization requests |
Token Endpoint | /token | Used for token exchange & refresh |
Registration Endpoint | /register | Used for dynamic client registration |
https://api.example.com/v1/mcp
, the default
endpoints would be:
https://api.example.com/authorize
https://api.example.com/token
https://api.example.com/register
Status Code | Description | Usage |
---|---|---|
401 | Unauthorized | Authorization required or token invalid |
403 | Forbidden | Invalid scopes or insufficient permissions |
400 | Bad Request | Malformed authorization request |