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

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