---
title: "Probe OAuth metadata (PRMD + AS) for an MCP server"
method: GET
path: "/api/mcp-oauth/{mcpServerId}/metadata"
tags: ["MCP OAuth"]
---

# Probe OAuth metadata (PRMD + AS) for an MCP server

`GET /api/mcp-oauth/{mcpServerId}/metadata`

## Path parameters

- `mcpServerId` string, required

## Response `200`

OAuth metadata or { requiresOAuth: false }

## Other responses

- `400` — MCP has no URL / invalid transport
- `404` — MCP server not found

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
