Update MCP server configuration

Update the configuration settings for an MCP server.

Path parameters

mcp_server_idstringRequired
ID of the MCP Server.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
approval_policyenumOptional
The approval mode to set for the MCP server
Allowed values:
force_pre_tool_speechbooleanOptional

If set, overrides the server’s force_pre_tool_speech setting for this tool

disable_interruptionsbooleanOptional

If set, overrides the server’s disable_interruptions setting for this tool

tool_call_soundenumOptional
Predefined tool call sound type to play during tool execution for all tools from this MCP server
Allowed values:
tool_call_sound_behaviorenumOptional
Determines when the tool call sound should play for all tools from this MCP server
Allowed values:
execution_modeenumOptional

If set, overrides the server’s execution_mode setting for this tool

Allowed values:
request_headersmap from strings to optional strings or objectsOptional
The headers to include in requests to the MCP server
disable_compressionbooleanOptional
Whether to disable HTTP compression for this MCP server

Response

Successful Response
idstring
configobject
metadataobject
The metadata of the MCP Server
access_infoobject or null
The access information of the MCP Server
dependent_agentslist of objects or null
List of agents that depend on this MCP Server.

Errors