---
title: "Oauth Preflight"
method: GET
path: "/v1/mcp-oauth/preflight"
tags: ["v1", "protected", "mcp-oauth-connect"]
---

# Oauth Preflight

`GET /v1/mcp-oauth/preflight`

Report whether a connection can be authorized, and with what.

Takes an existing instance, or a catalog spec so the create page can ask
before it creates anything. Every outcome is a 200: "this server has no
OAuth" is an answer the UI renders, not a failure it has to decode.

## Query parameters

- `instance_id` string, uuid, nullable — MCP instance to inspect
- `server_id` string, uuid, nullable — Catalog spec to inspect before any instance exists

## Response `200`

Successful Response

- MCPOAuthPreflightResponse — What the UI needs before it can offer a Connect action. ``ready`` — Connect can run unattended (the server supports DCR). ``oauth_app_required`` — ask for a client ID/secret first. ``unsupported`` — this server cannot be authorized this way; say why.
  - `authorization_endpoint` string, nullable
  - `connected` boolean, required
  - `detail` string
  - `instance_id` string, uuid, nullable
  - `issuer` string, nullable
  - `scopes` string[]
  - `server_id` string, uuid, nullable
  - `status` 'ready' | 'oauth_app_required' | 'unsupported', required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `b644aa8a6a70` — 2 breaking, 5 info
  - the response property `instance_id` became optional for the status `200`
  - response property `instance_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added the new optional `query` request parameter `server_id`
  - the `query` request parameter `instance_id` became optional
  - …3 more
- **2026-09-23** `7eafe882ff77` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/mcp-oauth/preflight/get.md)

---

[API](https://skmtc.dev/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.dev/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentarea/apis/agentarea-api/revisions/ebd031ab895b?raw)
