---
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}`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/.well-known/oauth-authorization-server/{mcp_server_name}`
- Auth: none declared

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-10-21** `f2fb14eab3f5`: 4 info
  - api tag `mcp_byok_oauth` added
  - api tag `mcp` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

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

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
