---
title: "Oauth Protected Resource Mcp"
method: GET
path: "/.well-known/oauth-protected-resource"
tags: ["mcp"]
---

# Oauth Protected Resource Mcp

`GET /.well-known/oauth-protected-resource`

OAuth protected resource discovery endpoint using LiteLLM legacy URL pattern.

Legacy pattern: /{server_name}/mcp
Discovery path: /.well-known/oauth-protected-resource/{server_name}/mcp

This endpoint is kept for backward compatibility. New integrations should
use the standard MCP pattern (/mcp/{server_name}) instead.

## Query parameters

- `mcp_server_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `731afbea6a1b` — 2 info
  - api tag `mcp` added
  - api tag `mcp_byok_oauth` removed
- **2026-09-23** `7ed45f30a5f0` — 2 info
  - api tag `mcp_byok_oauth` added
  - api tag `mcp` removed
- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `mcp` added
  - api tag `mcp_byok_oauth` removed
- **2026-09-20** `3b2b241e4b0b` — 2 info
  - api tag `mcp_byok_oauth` added
  - api tag `mcp` removed
- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/.well-known/oauth-protected-resource/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/731afbea6a1b?raw)
