---
title: "OAuth callback for an External MCP Connection"
method: GET
path: "/v1/mcp-connections/{connectionId}/connect/callback"
tags: ["Authentication"]
---

# OAuth callback for an External MCP Connection

`GET /v1/mcp-connections/{connectionId}/connect/callback`

The external MCP server redirects here with code+state after the admin consents. Serves a small static HTML page — the admin's Den tab in the background polls connection status and never needs this response body.

## Path parameters

- `connectionId` string, typeid, required

## Response `200`

Connected — a static success page.

## Other responses

- `400` — Missing or invalid code/state.

---

[API](https://skmtc.net/openworklabs/apis/den-api.md) · [All operations](https://skmtc.net/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openworklabs/den-api/versions/073bc652adfb/schema)
