---
title: "完成对话内 MCP OAuth 授权"
method: POST
path: "/agent/mcp-oauth-resolutions/{pending_id}"
tags: ["MCP服务"]
---

# 完成对话内 MCP OAuth 授权

`POST /agent/mcp-oauth-resolutions/{pending_id}`

用户在对话中完成 OAuth 授权后调用，校验令牌存在后恢复被暂停的 Agent 工具调用

## Path parameters

- `pending_id` string, required

## Request body

- object

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `409` — 用户尚未完成授权

---

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