---
title: "discover MCP server OAuth metadata"
method: POST
path: "/mcp/oauth/discover"
tags: ["mcp_oauth"]
---

# discover MCP server OAuth metadata

`POST /mcp/oauth/discover`

## Request body

- object
  - `mcp_server_url` string, required — URL of the MCP server to discover OAuth metadata from

## Response `200`

OAuth metadata from MCP server

- object
  - `scopes_supported` string[]
  - `authorization_endpoint` string
  - `token_endpoint` string
  - `registration_endpoint` string
  - `supports_dynamic_registration` boolean

---

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