Capability Sources

Ask a person to enter the API key of an existing MCP connection

Changed on

Shows the person a private field in OpenWork for an existing API-key connection, so the key never passes through you. Use it to finish a connection still waiting for its shared key, to let the caller add or replace their own key (scope personal), or to let an owner or admin replace each person's own key with one shared key (scope shared on a personal-key connection; its ID and access stay, and nothing changes until they save a key that works). Changes nothing by itself.

post/v1/mcp-connections/{connectionId}/credential-prompt

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/mcp-connections/{connectionId}/credential-prompt
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

connectionIdstring typeid required

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

Request body

scope'shared' | 'personal'

Response

A private field is shown to the person.

connectionIdstring required
scope'shared' | 'personal' required
nextStepstring required

Changes