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-keystringRequired

Request

This endpoint expects an object.
approval_policyenum or nullOptional
The approval mode to set for the MCP server
Allowed values:
force_pre_tool_speechboolean or nullOptional

Whether to force pre-tool speech for all tools from this MCP server

disable_interruptionsboolean or nullOptional
Whether to disable interruptions for all tools from this MCP server
execution_modeenum or nullOptional
The execution mode for all tools from this MCP server
Allowed values:
request_headersmap from strings to strings or objects or nullOptional
The headers to include in requests to the 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