Skip to content
Navigation

attachMCPServer

PUT
/api/v1/agents/{agentId}/mcp-servers/{serverId}

Attach a workspace server (agent admin). Takes effect in the next session.

Authorization

  • session
    optional
    API key in cookie
  • token
    optional
    HTTP Bearer

    Authorization: Bearer <token>

Path parameters

  • agentId
    string
    required
  • serverId
    string
    required

Returns

204

Attached.

403

Error.
JSON
  • error
    string
    required

404

Error.
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close