Pular para o conteúdo principal
POST
/
v1
/
agent
/
{id}
/
mcp
/
add
Adicionar servidor MCP
curl --request POST \
  --url https://api.timelyai.com.br/v1/agent/{id}/mcp/add \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "api_key": "<string>"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "url": "<string>",
    "tools_count": 123,
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Autorizações

x-api-key
string
header
obrigatório

Chave de API obtida no dashboard

Parâmetros de caminho

id
string<uuid>
obrigatório

ID do agente

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 100
url
string<uri>
obrigatório
api_key
string

Resposta

Servidor MCP adicionado

data
object