Update MCP gateway settings
Change the organization's MCP gateway settings. Omitted fields keep their current value. Changes apply when agents refresh their tool list or reconnect. Previously discovered tools remain callable.
Change the organization's MCP gateway settings. Omitted fields keep their current value. Changes apply when agents refresh their tool list or reconnect. Previously discovered tools remain callable.
ApiKeyAuthAuthorizationBearer <token>Bearer token authentication. Send an API key (a saai_api_-prefixed token) as Authorization: Bearer <token>.
Required permission
manage_gateway_settingsapplication/json- body
The settings to change; omitted fields keep their current value.
tool_search?ToolSearchModeControls the advertised tool list: every authorized tool or two tools for searching and invoking them. Both meta-tools remain callable in every mode so cached tool lists keep working.
"off""opt_in""on"The request has succeeded.
application/json- response
Organization-wide settings for the MCP gateway.
tool_search*ToolSearchModeHow agents discover tools: the full list, or two tools that search for and call the rest.
"off""opt_in""on"curl -X PATCH 'https://your-org.aisecurity.services.us.connect.secureauth.com/api/v1/gateway/settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "tool_search": "off"}