Authentication

Resolve a free-form query to an MCP server

Changed on

Admin-only, side-effect-free smart resolution for the add-connection flow. Accepts a URL, a bare host, or a product name ("vercel"), matches curated presets, probes bounded well-known endpoint candidates through the SSRF-guarded discovery fetch, and returns the winning URL with its requirements discovery. It performs no client registration, credential write, or connection creation.

post/v1/mcp-connections/resolve

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

ExternalMcpResolveInput required
query, string required

Response

Resolution result (not_found is a successful outcome).

ExternalMcpResolveResult required
resolution, 'preset' | 'discovered' | 'not_found' required
attempted, string[] required
reason, string
preset, ExternalMcpPresetResponse
match, object

Changes

    • info

      added the optional property match/discovery/authentication/resourceScopesSupported to the response with the status

    • info

      added the optional property preset/oauthCallbackUrl to the response with the status

    • info

      added the optional property preset/optionalOAuthScopes to the response with the status