Connectors
How connectors give your HolaClaw assistant the tools of a remote MCP server, which account it acts as, and who decides which assistants may use one.
- Desktop
- Server
- Connectors
A connector links your assistant to an outside service, such as GitHub or your own home server, so it can use that service's tools: open an issue, look up a record, turn on the lights. Connectors use the Model Context Protocol (MCP), an open standard many services already publish a server for.
Connector, grant and sign-in
Three ideas fit together:
- A connector is what is reached. One connection to one remote MCP server, under a name you choose, such as
github-adminorhomes. - A grant is who may use it. Each agent lists the connectors it may use in its
agent.toml. An agent that is not granted a connector never sees its tools. - A sign-in is how it gets its credentials. A server that needs an account asks you to sign in once in a browser, and HolaClaw keeps and refreshes the tokens from then on. A server that needs no account connects right away.
You connect a server once, and grant it to as many agents as you like.
Which account it acts as
A connector acts as one account: the one that signed in when you connected it. That account belongs to the connector, not to the person talking to the assistant. Everyone who talks to an agent with the connector acts as that account.
So choose the account with care. For an assistant that several people use, a bot account made for the purpose is often better than your own. You can connect the same service twice, as two connectors with two accounts, and grant each to a different agent:
github-admin signed in as you granted to main
github-bot signed in as a bot granted to supportWhoever talks to support opens issues as the bot.
What the assistant sees
The assistant sees each tool of a granted connector under the connector's name, such as github-admin.create_issue. Each tool call goes through the same policy as every other tool, so you can require an approval for a connector, or for one of its tools. A tool the server marks as destructive asks for approval even when the policy would allow it.
What a connector returns comes from outside, so HolaClaw marks it as untrusted. The assistant treats it as data, and HolaClaw checks it for text that tries to steer the assistant, unless you mark the connector as trusted. See Approvals and safety.
Connectors on each product
The app has no screen for connectors yet. The assistant inside the virtual machine is a full HolaClaw Server, so advanced users can set connectors up from a shell in the VM, the same way as on Server.
An admin connects a server with holaclaw connectors create or by editing connectors.toml, then grants it in the agent's agent.toml:
connectors = ["github-admin"]HolaClaw does the sign-in work itself and only needs you to open a link in a browser, so the server does not have to be reachable from the internet.
See Connectors and the connectors.toml reference.
Related
Was this page helpful?
