Compose
Connectors
When a job needs a Connector, and how to attach one.
When you need a Connector
A Connector gives a persona something to do its work with. Add one when the job reaches past the conversation: searching the web, reading a third-party system, generating an image, running a query.
| The job | What you need |
|---|---|
| Answer in a house style; follow a fixed procedure; refuse certain requests | A skill. No Connector. |
| Reason about something the user pasted into the conversation | A skill. No Connector. |
| Look something up, fetch a page, call an API, read a database | A Connector. |
| Produce or edit an image, audio or video | A Connector. |
A persona can carry several. The limit is 10 per persona, and every one of them costs a little on each turn — the model is told what each Connector can do before it decides anything. Attach what the job needs, not everything you have.
Connector calls are paid from your token balance — the same tokens that pay for our models. Nothing is charged unless a call completes. See prices.
Connecting one
Servers are added in HaughtStudio on the screen labelled MCP Connect. Adding one takes four fields:
| Field | What to put there |
|---|---|
| Name | A label you recognise. It is also what distinguishes this server's tools from another's. |
| URL | The full address of the server's MCP endpoint, for example https://tools.example.com/mcp. |
| Transport | Streamable HTTP unless you know the server only offers the older two-endpoint form. |
| API key | Optional. Sent as a bearer token. Leave it blank to keep a key that is already stored. |
There is also a switch, Offered to the model, which turns a server on or off without removing it.
What happens when you save
Saving connects immediately and asks the server for its tool list. Two outcomes, and the difference matters:
- Connected, with a tool count. The server answered and offered at least one tool. Those tools can be used.
- Saved, no tools found. The server was stored but offered nothing. This is not a failure — it means the server answered without a usable tool list, or could not be reached at all. The card records which.
If a server stops answering, expand its card and choose Check again now. The error text is shown there rather than in a toast, so a connection problem that appears to be a model problem can be found.
Addresses that start with http
A plain http:// address works. The browser never talks to your server — the studio does — so neither cross-origin rules nor mixed content apply. This is what makes a server on your own network usable.
Tool names across several Connectors
With more than one Connector attached, two servers can offer a tool with the same name. Nothing fails; the names are disambiguated:
- A tool whose name is not already taken keeps its bare name.
- The studio's own tools claim their names first, so a server tool called use_skill is always prefixed.
- On a collision the tool becomes {server}__{tool}.
- If that is still taken, a number is inserted: {server}2__{tool}.
The practical consequence is a rule for building servers: give every tool a name that says what it does and where it lives — weather_lookup_city rather than lookup. A name that is already unique is one the model sees unchanged whichever persona is using it.
Servers on your own machine
The studio's server makes the call, not your browser. So 127.0.0.1 means the machine running HaughtStudio — not the laptop you are reading this on. A server on your laptop is reachable only when HaughtStudio runs on that same laptop.
Three ways to make a self-hosted server reachable:
- Same machine. Run HaughtStudio locally and point at http://127.0.0.1:PORT/mcp.
- Same network. Use the machine's LAN address, as in http://192.168.1.180:8590.
- Anywhere. Put the server behind a public HTTPS address — a tunnel while you are testing, a real deployment when you publish.
Publishing requires the last of these: a Connector must be reachable from outside your network. Build a connector server covers how to get there.