---
title: "POST /experimental/mcp-server-authorizations/resolve"
method: POST
path: "/experimental/mcp-server-authorizations/resolve"
tags: ["Workspaces", "MCP"]
---

# POST /experimental/mcp-server-authorizations/resolve

`POST /experimental/mcp-server-authorizations/resolve`

## Request

- Base URL: `https://api.tessl.io`
- URL: `https://api.tessl.io/experimental/mcp-server-authorizations/resolve`
- Auth: none declared

Resolves the MCP server that a pending OAuth authorization flow belongs to, and the organization or workspace holding it, from the OAuth state returned to the redirect URI. The callback completes against that holder.

## Headers

- `Authorization` string

## Request body

- object
  - `state` string, required

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'mcp-server', required
    - `attributes` object, required
      - `name` string, required
      - `orgId` string, uuid, nullable, required: The organization holding the server, or `null` when a workspace holds it. Exactly one of `orgId` and `workspaceId` is set.
      - `workspaceId` string, uuid, nullable, required: The workspace holding the server, or `null` when the organization holds it.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-10-21** `a388ee77a37c`: 1 breaking, 1 info
  - response property `data/attributes/workspaceId` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added the required property `data/attributes/orgId` to the response with the `200` status
- **2026-10-08** `8cae535b1242`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tessl/apis/tessl-api/changes/experimental/mcp-server-authorizations/resolve/post.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) · [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/7386f1e6295b?raw)
