Authentication

OAuth callback for an External MCP Connection

Changed on

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. The code is exchanged only for the person who started the connection: a browser signed in to OpenWork as someone else is refused, and a browser with no OpenWork session must confirm the account first.

get/v1/mcp-connections/{connectionId}/connect/callback

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    none required

Path parameters

connectionId, string typeid required

Den TypeID with 'emc_' prefix and a 26-character base32 suffix.

Response

Connected, or a confirmation page naming the account before anything is exchanged.

Changes

    • info

      added the non-success response with the status

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400