update_mcp_integration
Modify an existing MCP integration's URL, auth, transport, headers, name, or secret mappings. Only supplied fields change, so inspect the integration first to avoid breaking active clients.
Instructions
Update an MCP integration's name, description, URL, auth, transport, headers, or runtime Secret Reference mappings. Only supplied fields change; URL, auth, header, and secret changes apply immediately and can break active clients, so inspect get_mcp_integration first. Use update_mcp_server when changing only a Portkey server instance's display metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The MCP integration ID or slug to update | |
| url | No | New URL endpoint | |
| name | No | New display name | |
| auth_type | No | New authentication type. Current examples are 'none', 'headers' (custom headers), and 'oauth_auto' (OAuth); Portkey may accept additional values. | |
| transport | No | New transport protocol | |
| description | No | New description | |
| configurations | No | Replacement documented or forward-compatible configuration fields. configurations.custom_headers must be a string-to-string header map when present. | |
| custom_headers | No | New custom headers for authentication. Sent via configurations.custom_headers | |
| secret_mappings | No | Replacement runtime Secret Reference mappings; each target_field must be unique |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |