---
title: "Oauth Authorization Server Mcp"
method: GET
path: "/.well-known/oauth-authorization-server/{mcp_server_name}"
tags: ["mcp_byok_oauth"]
---

# Oauth Authorization Server Mcp

`GET /.well-known/oauth-authorization-server/{mcp_server_name}`

OAuth authorization server discovery endpoint.

Supports both legacy pattern (/{server_name}) and root endpoint.

## Path parameters

- `mcp_server_name` string, nullable, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-20** `3b2b241e4b0b` — 2 info
  - api tag `mcp_byok_oauth` added
  - api tag `mcp` removed
- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added
- **2026-09-16** `7afc3544d64d` — 1 breaking
  - api path removed without deprecation
- **2026-09-14** `df0c3a8ce5ea` — 1 info
  - endpoint added
- **2026-09-11** `f9848f60f12d` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/.well-known/oauth-authorization-server/:mcp_server_name/get.md)

---

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