MCP providers
Update an MCP provider
Edit an MCP provider’s url and/or upstream headers. headers replaces the stored set wholesale; a changed url passes the SSRF gate. Name, transport, and visibility are immutable through this surface (agents bind by name; recreate to rename).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/orgs/string/mcp-providers/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "kind": "string", "transport": "string", "url": "string", "service": "string", "visibility": "string", "sharedWith": [ "string" ], "ui": true, "createdBy": "string", "canEdit": true, "canManageSharing": true, "headerNames": [ "string" ], "auth": "string", "oauth": { "status": "string", "issuer": "string", "scopes": [ "string" ], "clientSource": "string", "expiresAt": "string" }, "createdAt": "string"}