Capability Sources

Replace who can use an External MCP Connection

Changed on

Owners, admins, and the member who added the connection. Full-replace semantics: send the complete desired access set (orgWide, or memberIds + teamIds). Team and member ids come from GET /v1/org. A non-admin creator cannot grant org-wide access and always keeps their own access.

put/v1/mcp-connections/{connectionId}/access

Request

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

Path parameters

connectionId, string typeid required

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

Request body

object required
access, ExternalMcpConnectionAccessInput required

Response

Access updated.

ExternalMcpConnectionResponse 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.

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