MCP OAuth
MCP OAuth API endpoints
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Query Parameters
userId?string
Response Body
curl -X DELETE "http://localhost:3013/api/mcp-oauth/string"Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Query Parameters
redirect?string
userId?string
scopes?string
Response Body
curl -X GET "http://localhost:3013/api/mcp-oauth/string/authorize"Empty
Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/mcp-oauth/string/manual-client" \ -H "Content-Type: application/json" \ -d '{ "clientId": "string" }'Empty
Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Response Body
curl -X GET "http://localhost:3013/api/mcp-oauth/string/metadata"Empty
Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
userId?string
Response Body
curl -X POST "http://localhost:3013/api/mcp-oauth/string/refresh" \ -H "Content-Type: application/json" \ -d '{}'Empty
Empty
Empty
Authorization
bearerAuth AuthorizationBearer <token>
API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
mcpServerId*string
Query Parameters
userId?string
Response Body
curl -X GET "http://localhost:3013/api/mcp-oauth/string/status"Empty
Empty
curl -X GET "http://localhost:3013/api/mcp-oauth/callback"Empty
Empty