---
title: "POST /mcp/oauth/approve/ - Process user approval decision."
method: POST
path: "/mcp/oauth/approve/"
tags: ["mcp"]
---

# POST /mcp/oauth/approve/ - Process user approval decision.

`POST /mcp/oauth/approve/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/mcp/oauth/approve/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Called by the frontend consent page when the user approves or denies.
Requires JWT auth (authenticated user).

## Request body

- MCPOAuthApproveRequest
  - `request_id` string, required
  - `approved` boolean
  - `selected_groups` string[]

## Response `200`

OK

- MCPOAuthRedirectResponse
  - `status` boolean
  - `result` MCPOAuthRedirectResult, required
    - `redirect_url` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
