Connect a system
Connects one of the company's systems: its address, its credential (kept encrypted) and the calls it may make.
Free
This tool costs nothing to call.
An example
Connect our Zendesk so you can read tickets and close the ones we moved.
Your agent callsconnect_addFree
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"name": "zendesk",
"base_url": "https://hansenvoss.zendesk.com/api/v2",
"auth": "bearer",
"allow": [
"GET /tickets*",
"PUT /tickets/*"
],
"description": "The old help desk, until the move is done"
}Use it when
The agent needs to read or change something in a system that has a REST API.
What it does
Connect one of the company's own systems (an ERP, a ticketing tool, any REST API): its https base address, its credential and the calls the agent may make. Called without secret, it answers with a link for the owner, who sees the address and the calls and types the credential on a Conecto page, so it never passes through the chat (from_a_terminal does the same from a terminal); account.credential_added says when it is connected. The credential is kept encrypted and never shown again. A system behind the company's firewall goes through one of its bridges instead: give `bridge` and `system` (connect_list shows the bridges and the systems each serves) in place of base_url and a credential, which the bridge adds inside the network. On accounts with an owner, writes (POST, PUT, PATCH, DELETE) and changing the allowed calls wait for the owner's approval by default, which shows the exact request. Free.
What comes back
Without secret: link, a page where the owner or an admin, signed in, types the credential, with expires_in_minutes, tell_the_owner, from_a_terminal (the CLI), from_a_terminal_with_curl and next. With secret: connection, its name, base address, kind of auth, allowed calls and description; writes_need_approval, true when POST, PUT, PATCH and DELETE wait for the owner. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
nameRequired | string | Lowercase letters, digits and dashes, like "netsuite" or "zendesk". 2 to 40 characters. |
base_url | string | Up to 500 characters. |
auth | string | bearer (Authorization: Bearer <secret>), header (the secret in `header`), basic (secret is "user:password") or none. One of: bearer,header,basic,none. Default: bearer. |
header | string | For auth header, like X-API-Key. Up to 60 characters. |
secret | string | The credential: a token, the header's key, or "user:password" for basic. Leave it out to get the link instead. Up to 4,000 characters. |
allowRequired | array of strings | The calls it may make: a method and a path pattern each, like "GET /v1/customers*" or "POST /v1/tickets". * matches anything. 1 to 50 items. |
description | string | Up to 300 characters. |
bridge | string | For a system behind the firewall: the bridge it goes through. Up to 40 characters. |
system | string | With bridge: the system's name in the bridge's config, like "sap". Up to 40 characters. |
The call
Over MCP, call connect_add on https://api.conecto.chat/mcp/connect. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/connect_add \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"zendesk","base_url":"https://hansenvoss.zendesk.com/api/v2","auth":"bearer","allow":["GET /tickets*","PUT /tickets/*"],"description":"The old help desk, until the move is done"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | The name, address, auth or an allowed call is not valid. | Fix what the message names. |
conflict409 | A connection with that name exists. | Pick another name, or remove the old one. |
limit_reached409 | The account has 50 connections. | Remove one first. |
not_found404 | The bridge, or the system on it, does not exist. | connect_list shows the account's bridges and the systems each serves. |
More Connections tools
All 6 tools- List connected systems
connect_listThe connected systems with their address, auth and allowed calls, and this month's call count.Free* - Preview a call to a connected system
connect_previewShows exactly what a call would send (method, full address, headers with the credential hidden, body) without sending it.Free* - Call a connected system
connect_callSends one request to a connected system, inside its allowed calls, and returns its answer.$0.0003 when it answers within 10 seconds - Change a system's allowed calls
connect_set_rulesReplaces a connection's allowed calls; waits for the owner's approval by default.$0.001 a call - Remove a connection
connect_removeForgets a connected system and its credential; the system itself doesn't change.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md