List agent MCP connections
List agent MCP connections. See the OpenAPI-defined parameters, request body, and responses below.
GET
/AgentMcpConnectionList agent MCP connections. See the OpenAPI-defined parameters, request body, and responses below.
OpenAPI description: Retorna as associações entre o agente informado e conectores MCP do tenant, incluindo o estado de habilitação e os nomes das ferramentas permitidas. Requer ViewAgents.
Authentication
Authentication required. Send your user API key in the X-API-Key header.
Parameters
| Name | Location | Type | Required | Description | Constraints |
|---|---|---|---|---|---|
agentId | query | integer · int32 | No | — | — |
Request body
This operation does not accept a request body.
Example request
curl --request GET \
--url 'https://api.zild.ai/AgentMcpConnection?agentId={agentId}' \
--header 'X-API-Key: YOUR_USER_API_KEY'
Responses
| Status | Description | Response body |
|---|---|---|
200 | Conexões MCP do agente. | application/json · array<AgentMcpConnectionDto> |
Example response (200):
[
{
"id": 0,
"agentId": 0,
"connectorId": 0,
"enabled": true,
"allowedTools": [
"string"
],
"createdAt": "2026-09-22T18:00:00Z"
}
]
Data models
AgentMcpConnectionDto
| Property | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
agentId | integer · int32 | No | — | min: 1; max: 2147483647 |
connectorId | integer · int32 | No | — | min: 1; max: 2147483647 |
enabled | boolean | No | — | — |
allowedTools | array<string> | Yes | — | — |
createdAt | string · date-time | No | — | — |