Skip to main content
PATCH
Update an External MCP server

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

externalMcpPublicId
string<uuid>
obrigatório

Corpo

application/json

Body for updating an existing external MCP server. All fields are optional; only provided fields are updated.

authHeaderName
string

New legacy header name (prefer authHeaders for CUSTOM_HEADER).

Exemplo:

"X-Api-Key"

authHeaders
object[]

New list of custom auth headers, each as {name, value}.

authType
enum<string>

New authentication scheme used to talk to the MCP server.

Opções disponíveis:
NONE,
API_KEY,
BEARER_TOKEN,
CUSTOM_HEADER,
OAUTH_AUTHORIZATION_CODE
authValue
string

New credential value for API_KEY/BEARER_TOKEN auth.

Exemplo:

"sk_live_abc123"

name
string

New display name of the external MCP server.

Maximum string length: 255
Exemplo:

"GitHub MCP"

url
string

New HTTPS URL of the external MCP server.

Maximum string length: 2048
Pattern: ^https://.+
Exemplo:

"https://mcp.example.com/sse"

Resposta

OK

Workspace-registered External MCP server. Auth values are NEVER returned.

authHeaderName
string

Present when authType=CUSTOM_HEADER with a single legacy header.

authType
enum<string>
Opções disponíveis:
NONE,
API_KEY,
BEARER_TOKEN,
CUSTOM_HEADER
createdAt
string<date-time>
errorMessage
string
lastDiscoveredAt
string<date-time>
name
string
publicId
string<uuid>
status
enum<string>
Opções disponíveis:
PENDING,
CONNECTED,
ERROR,
PENDING_AUTHORIZATION,
EXPIRED
tools
object[]

Tools discovered on the server. {id,name,description,enabled}

updatedAt
string<date-time>
url
string