curl --request POST \
--url https://api.timelyai.com.br/v1/agent/{id}/mcp/connect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"mcp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"status": "connected",
"tools_count": 123,
"created_at": "2023-11-07T05:31:56Z"
}
}Estabelece conexão com um servidor MCP.
curl --request POST \
--url https://api.timelyai.com.br/v1/agent/{id}/mcp/connect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"mcp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"status": "connected",
"tools_count": 123,
"created_at": "2023-11-07T05:31:56Z"
}
}