Capability Sources

Register a new External MCP Connection for the org

Changed on

Owners and admins can register any server. Other members can add one for themselves: an OAuth server where each person signs in (credentialMode per_member) or a server with no sign-in, shared with specific members or teams but never org-wide; the caller is always kept in its access. Registers a third-party MCP server by name + URL and grants access (org-wide, teams, or members). Use GET /v1/mcp-connections/presets for known server URLs (Notion, Linear, Stripe, Sentry, Slack, Context7). For credentialMode per_member, each member connects their own account afterwards — give the user links.signIn (a one-click browser sign-in page for this connection) when you cannot show a sign-in card, and share links.yourConnections so teammates know where to sign in. For servers with pre-registered OAuth apps, whitelist links.oauthCallback. API-key and OAuth-client credentials cannot be created through the agent surface; use the dashboard.

post/v1/mcp-connections

Request

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

Request body

union required
object required
OR
object required

Response

Connection created.

ExternalMcpConnectionCreatedResponse required
readiness, ExternalMcpConnectionReadiness nullable
organizationReadiness, ExternalMcpConnectionReadiness nullable
id, string required
name, string required
externalKey, string nullable required
url, string required
authType, 'oauth' | 'apikey' | 'none' required
credentialMode, 'shared' | 'per_member' required
apiKeyAuthScheme, 'bearer' | 'token' required
requestHeaderNames, string[] required
exposeDirectly, boolean required
connected, boolean required
connectedAt, string date-time nullable required
connectedMemberIds, string[]
toolPolicySummary, object
createdByName, string nullable
createdByYou, boolean
createdByOrgMembershipId, string nullable
canRemove, boolean
createdAt, string date-time
updatedAt, string date-time
connectedForMe, boolean required
needsReconnect, boolean
credentialHealth, 'unknown' | 'ready' | 'reconnect_required'
credentialHealthReason, 'authorization_rejected' | 'credential_expired' | 'post_authorization_validation_failed' nullable
credentialHealthCheckedAt, string date-time nullable
issuerReviewRequired, boolean
reconnectActionOwner, 'member' | 'organization_admin' nullable
missingFeatures, string[]
externalAccountId, string nullable
grantedScopes, string[]
tenantId, string nullable
requiredBy, ExternalMcpConnectionRequiredBy[] required
identityManagedBy, ExternalMcpConnectionRequiredBy[]
requiredAuthType, 'oauth' | 'apikey' | 'none' nullable
authPolicyConfirmed, boolean
authTypeMismatch, boolean
oauthClientConfigured, boolean
oauthClientRequired, boolean
setupRequired, boolean
access, ExternalMcpConnectionAccessSummary nullable required
oauthClientId, string nullable
oauthClientHasSecret, boolean

Whether a client secret is configured. Only returned with explicit connection-settings view permission; never the secret itself.

manualOAuthEndpoints, object nullable

Only returned with explicit connection-settings view permission; omitted from usable member listings, including for the connection creator.

oauthCallbackUrl, string nullable
oauthSharedCallbackUrl, string nullable
oauthClientMetadataUrl, string nullable
oauthCallbackMode, 'shared-v1' | 'isolated-v1' | 'legacy-v1' nullable
oauthRegistrationSource, 'pre-registered' | 'client-metadata' | 'dynamic' nullable
authorizationServerIssuer, string nullable
requestedScopes, string[]
requestSelectedScopesOnly, boolean

Whether sign-in asks for requestedScopes alone, leaving out any others the server's sign-in challenge names.

links, object required
credentialPrompt, object
nextStep, string

Changes

    • info

      added the optional property connectedMemberIds to the response with the status

    • info

      added the optional property toolPolicySummary to the response with the status

    • warning

      removed the optional property mcpUrl from the response with the status