Update MCP server configuration

Update the configuration settings for an MCP server.

Pfadparameter

mcp_server_idstringErforderlich
ID of the MCP Server.

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
approval_policyenumOptionalStandardwert ist require_approval_all
The approval mode to set for the MCP server
Erlaubte Werte:
pre_tool_speechenumOptionalStandardwert ist auto

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

Erlaubte Werte:
interruption_modeenumOptionalStandardwert ist allow

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

Erlaubte Werte:
tool_call_soundenumOptional
Predefined tool call sound type to play during tool execution for all tools from this MCP server
Erlaubte Werte:
tool_call_sound_behaviorenumOptionalStandardwert ist auto
Determines when the tool call sound should play for all tools from this MCP server
Erlaubte Werte:
execution_modeenumOptionalStandardwert ist immediate

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

Erlaubte Werte:
response_timeout_secsintegerOptional5-300
The maximum time in seconds to wait for each MCP tool call to complete.
request_headersmap from strings to optional strings or objectsOptional
The headers to include in requests to the MCP server
request_metamap from strings to optional strings or integers or doubles or booleans or objectsOptional

Entries sent in the MCP _meta field of tools/call requests. Values may be JSON scalars, or references to a workspace secret, dynamic variable, or environment variable resolved per call.

disable_compressionbooleanOptional
Whether to disable HTTP compression for this MCP server
secret_tokenobjectOptional
Optional secret token for authentication with this MCP server
auth_connectionobjectOptional
Optional auth connection to use for authentication with this MCP server
force_pre_tool_speechbooleanOptionalDeprecated

DEPRECATED: use pre_tool_speech instead. If set, overrides the server’s force_pre_tool_speech setting for this tool.

disable_interruptionsbooleanOptionalDeprecated

DEPRECATED: use interruption_mode instead. If set, overrides the server’s disable_interruptions setting for this tool.

Antwort

Successful Response
idstring
configobject
metadataobject
The metadata of the MCP Server
access_infoobjectOptional
The access information of the MCP Server
dependent_agentslist of objectsOptional
List of agents that depend on this MCP Server.

Fehler

422
Mcp Servers Update Request Unprocessable Entity Error