---
title: "MCP OAuth 回调"
method: GET
path: "/mcp-oauth/callback"
tags: ["MCP服务"]
---

# MCP OAuth 回调

`GET /mcp-oauth/callback`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/mcp-oauth/callback`
- Auth: none declared

接收授权服务器回调并完成 code 交换，随后重定向回前端

## Query parameters

- `code` string
- `state` string
- `error` string

## Other responses

- `302`: Found

## Changes

- **2026-11-09** `8e9a84054bdb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/mcp-oauth/callback/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.dev/tencentblueking/apis/weknora-api/revisions/8e9a84054bdb?raw)
