Skip to content

OAuth protected resource metadata

GET
/api/v1/oauth/resource
curl --request GET \
--url http://localhost:3000/api/v1/oauth/resource

RFC 9728, for /api/v1/mcp. Also at /.well-known/oauth-protected-resource; a 401 names it in WWW-Authenticate.

No key needed.

Metadata

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}