Skip to content

Agent MCP connections

External MCP servers the agents can reach: address, access module, allowed tools, read only, state. The key is never readable.

Module: AI agents (agents).

  • GET /api/v1/agent_connections - List with filters, sorting and pagination (scope agents:read)
  • GET /api/v1/agent_connections/{id} - A record by id (scope agents:read)
  • POST /api/v1/agent_connections - Create a record (scope agents:write)
  • PATCH /api/v1/agent_connections/{id} - Modify the submitted fields (scope agents:write)
  • DELETE /api/v1/agent_connections/{id} - Delete or deactivate (scope agents:write)
  • POST /api/v1/agent_connections/{id}/refresh_tools - Lists the tools of the MCP server again. At most 30 per hour per company. (scope agents:write)
  • POST /api/v1/agent_connections/{id}/set_agents - Chooses the agents that can use the connection and, optionally, the tools allowed on the link. (scope agents:write)
  • POST /api/v1/agent_connections/{id}/call - Calls a tool of the server, like an agent, only if you have read access to the connection’s module. At most 60 per hour. (scope agents:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • name (string; write, required)
  • url (string, uri; write)
  • access_module (string; write)
  • allowed_tools (array; write)
  • tools_cache (object; read)
  • read_only (boolean; write)
  • cache_ttl_sec (number; write)
  • status (string; read)
  • last_error (string; read)
  • last_used_at (string, date-time; read)
  • created_by (string; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • secret (string; write)
  • clear_secret (boolean; write)