---
title: "Oauth Callback"
method: GET
path: "/v1/mcp-oauth/callback"
tags: ["v1", "public", "mcp-oauth-connect"]
---

# Oauth Callback

`GET /v1/mcp-oauth/callback`

OAuth callback — exchange code for token and store in MCPAuthConfig.

This endpoint does NOT require auth (the user is mid-redirect from the
remote AS). The state token proves the flow was initiated by our /authorize.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/versions/e3650e48373b/schema)
