---
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

## Changes

- **2026-07-23** `6eaf9390c383` — 1 info
  - added the new optional `query` request parameter `authorization_attempt`
- **2026-06-25** `18ae5dbbf163` — 1 info
  - endpoint added
- **2025-12-16** `edf61e68559d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/mcp-services/:id/oauth/status/get.md)

---

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