---
title: "查询 MCP OAuth 授权状态"
method: GET
path: "/mcp-services/{id}/oauth/status"
tags: ["MCP服务"]
---

# 查询 MCP OAuth 授权状态

`GET /mcp-services/{id}/oauth/status`

返回当前用户的 OAuth Token 生命周期状态；传 authorization_attempt 时只检查本次授权流程

## Path parameters

- `id` string, required

## Query parameters

- `authorization_attempt` string

## Response `200`

{authorized: bool, state: string, refresh_available: bool, expires_at?: string}

- object

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/versions/d6921ae22ce0/schema)
