---
title: "Get the current OAuth connection status for an MCP server"
method: GET
path: "/api/mcp-oauth/{mcpServerId}/status"
tags: ["MCP OAuth"]
---

# Get the current OAuth connection status for an MCP server

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

## Path parameters

- `mcpServerId` string, required

## Query parameters

- `userId` string

## Response `200`

Token status (never includes the token value itself)

## Other responses

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