MCP服务
查询 MCP OAuth 授权状态
返回当前用户的 OAuth Token 生命周期状态;传 authorization_attempt 时只检查本次授权流程
get/mcp-services/{id}/oauth/status
Path parameters
idstring required
MCP 服务 ID
Query parameters
authorization_attemptstring
本次授权尝试 ID;传入后不会接受历史 Token
Response
{authorized: bool, state: string, refresh_available: bool, expires_at?: string}
object required
Changes
Changed in 3 of the 65 revisions of this API.12
- ○
added the new optional
queryrequest parameterauthorization_attemptnew-optional-request-parameter
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲