Skip to main content
POST
Link an External MCP server to the agent

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório

Corpo

application/json

Body for linking an existing external MCP server to an agent.

externalMcpPublicId
string<uuid>
obrigatório

Public ID of the external MCP server to link.

Exemplo:

"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21"

instanceMode
enum<string>

Instance mode controlling whether the MCP is shared across calls (STATIC) or instantiated per call (DYNAMIC).

Opções disponíveis:
STATIC,
DYNAMIC
Pattern: ^(STATIC|DYNAMIC)$
Exemplo:

"STATIC"

Resposta

Server linked

External MCP server linked to an agent.

active
boolean
externalMcpPublicId
string<uuid>
instanceMode
enum<string>
Opções disponíveis:
STATIC,
DYNAMIC
requiresApproval
boolean
serverName
string
serverUrl
string