Updates an existing MCP client’s configuration. Unlike client creation, tool_pricing can be included to set per-tool execution costs since tools are already fetched.
MCP client ID
MCP client configuration for updating an existing client (includes tool_pricing)
Unique identifier for the MCP client
Display name for the MCP client
Whether this client is available in code mode
Connection type for MCP client
http, stdio, sse, inprocess HTTP or SSE URL (required for HTTP or SSE connections)
STDIO configuration for MCP client
Authentication type for the MCP connection
none, headers, oauth OAuth config ID for OAuth authentication. References the oauth_configs table. Only relevant when auth_type is "oauth".
Custom headers to include in requests. Only used when auth_type is "headers".
Include-only list for tools. ["*"] => all tools are included [] => no tools are included ["tool1", "tool2"] => include only the specified tools
List of tools that can be auto-executed without user approval. Must be a subset of tools_to_execute. ["*"] => all executable tools can be auto-executed [] => no tools are auto-executed ["tool1", "tool2"] => only specified tools can be auto-executed
Per-tool cost in USD for execution. Key is the tool name, value is the cost per execution. Example: {"read_file": 0.001, "write_file": 0.002} Note: Only available when updating an existing client after tools have been fetched.