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

# MCP OAuth 回调

`GET /mcp-services/oauth/callback`

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

## Query parameters

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

## Other responses

- `302` — Found

## Changes

- **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/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-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/a5ce73ad8921/schema)
