Docs/Server/connectors.toml reference

connectors.toml reference

Give HolaClaw Server agents the tools of remote MCP servers with connectors.toml, including OAuth sign-in, scopes and trust.

2 min read Updated November 16, 2026
  • Server
  • Configuration
  • Reference
  • Connectors
  • MCP

A connector is a remote MCP server whose tools an agent may use. connectors.toml declares them, and an agent opts in by listing connector ids in its agent.toml. It is optional.

Add a connector

The easiest way is the holaclaw connectors command, which talks to the daemon, signs in when the server needs it, and writes connectors.toml for you:

Terminal
holaclaw connectors inspect https://mcp.example.com/mcp      # what the server offers, and how it signs in
holaclaw connectors create tracker https://mcp.example.com/mcp
holaclaw connectors list
holaclaw connectors show tracker

For a server that signs in with OAuth, create prints an address to open in a browser. When the browser is on another machine, paste the address it lands on back with holaclaw connectors code tracker '<address>'.

Then grant the connector to an agent and restart:

toml
# agents/main/agent.toml
connectors = ["tracker"]

Example

toml
version = 1

[connectors.tracker]
url  = "https://mcp.example.com/mcp"
auth = "oauth"

[connectors.weather]
url  = "https://open.example.com/mcp"
auth = "none"

Keys

A connector id is lowercase letters, digits and -, at most 32 characters, and must not be the name of a built-in tool or group.

Key Type Allowed values Default Description
version integer Required. 1.
connectors.<id>.url string Required. The server's Streamable HTTP endpoint.
connectors.<id>.auth string none, oauth Required. How the daemon authenticates. OAuth tokens live in auth.toml.
connectors.<id>.client_id string A pre-registered OAuth client id, only for a server that requires one. Its client secret, if any, goes to auth.toml.
connectors.<id>.scopes list of strings every scope the server offers OAuth scopes to request.
connectors.<id>.trusted boolean false Results are still wrapped as untrusted content, but never scored and never raise the taint. Use it only for servers you control. check notes CON004.
connectors.<id>.allow_insecure_transport boolean false Reach the server over plain http on any host, or over https with a certificate that does not verify.

A token is never sent over plain http off the machine (CON003) unless allow_insecure_transport is set.

Permissions

Each connector tool takes its risk class from the server's hints, and the agent's policy applies to it like any other tool. Results from a connector count as untrusted content, which can escalate the policy with taint_escalates.

The full guide, including pre-registered clients and sign-in over SSH, is Connect an MCP server.

Was this page helpful?

Can’t find what you need?

Ask the community on Discord.