Skip to main content
PATCH
Update MCP server

Authorizations

X-API-KEY
string
header
required

Path Parameters

agentId
string
required
branchId
string
required
serverId
string
required

Body

application/json

Partial update to an existing MCP server connection.

url
string<uri>
auth
McpServerAuth · object

How the MCP server authenticates: a header, a query parameter, or OAuth client credentials, each resolved from a secret at connect time.

timeout
number
Required range: x <= 30

Response

Updated MCP server

An MCP server connection configured on a branch, including its live discovery and connection state.

id
string
required
providerId
string
required
url
string
required
connected
boolean
required
auth
McpServerAuth · object

How the MCP server authenticates: a header, a query parameter, or OAuth client credentials, each resolved from a secret at connect time.

timeout
number
enabledFunctions
string[]
lastDiscoveredAt
string
lastDiscoveredToolCount
number
Last modified on November 12, 2026