Update MCP server configuration

Update the configuration settings for an MCP server.

Paramètres de chemin

mcp_server_idstringRequis
ID of the MCP Server.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
approval_policyenumOptionnelPar défaut require_approval_all
The approval mode to set for the MCP server
Valeurs autorisées:
pre_tool_speechenumOptionnelPar défaut auto

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

Valeurs autorisées:
interruption_modeenumOptionnelPar défaut allow

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

Valeurs autorisées:
tool_call_soundenumOptionnel
Predefined tool call sound type to play during tool execution for all tools from this MCP server
Valeurs autorisées:
tool_call_sound_behaviorenumOptionnelPar défaut auto
Determines when the tool call sound should play for all tools from this MCP server
Valeurs autorisées:
execution_modeenumOptionnelPar défaut immediate

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

Valeurs autorisées:
response_timeout_secsintegerOptionnel5-300
The maximum time in seconds to wait for each MCP tool call to complete.
request_headersmap from strings to optional strings or objectsOptionnel
The headers to include in requests to the MCP server
request_metamap from strings to optional strings or integers or doubles or booleans or objectsOptionnel

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_compressionbooleanOptionnel
Whether to disable HTTP compression for this MCP server
secret_tokenobjectOptionnel
Optional secret token for authentication with this MCP server
auth_connectionobjectOptionnel
Optional auth connection to use for authentication with this MCP server
force_pre_tool_speechbooleanOptionnelDeprecated

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

disable_interruptionsbooleanOptionnelDeprecated

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

Réponse

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

Erreurs

422
Mcp Servers Update Request Unprocessable Entity Error