Get protected resource metadata
/.well-known/oauth-protected-resourceDescribes the MCP server as an OAuth protected resource (RFC 9728): its address, the authorization server that issues its tokens, and the scopes it understands. An MCP client reads it after a 401 from Call the MCP server to find where to sign in.
Scope | Heavy call | Long poll | CLI |
|---|---|---|---|
None, no key | No | No | None |
Guidance
It lives at the root of
https://api.chartnaut.com, not under/v1. The same document is also served at/.well-known/oauth-protected-resource/v1/mcp, the address the401challenge names.Read
authorization_servers[0], then fetch Get authorization server metadata from it.resourceis the value to send asresourcein Start an authorization and Get a token. Tokens are issued for this one resource only.It is public and cached for 5 minutes.
Response
200 with:
Field | Type | Description |
|---|---|---|
| string |
|
| array of string |
|
| array of string |
|
| array of string |
|
| string |
|
Status codes
Status | Code | Meaning |
|---|---|---|
| - | The metadata |
