zerohead
Get started

Using zerohead

Connectors

Let agents use the tools of outside MCP servers such as GitHub, only where you grant them.

The source is not public yet. It will be published under MIT. The pages under Contributing describe working on it once it is.

A connector registers one outside MCP server with a company. zerohead connects to it, holds its credential, and offers its tools to agents under your rules. An agent sees nothing of a connector until you grant it.

Nothing has been run against GitHub or any other real service. Every test used a stand-in server on this computer. Slack and Google Workspace are defined and wait for an OAuth sign-in that does not exist yet.

Add a connector

  1. Open More, then Connectors, and select Add connector.
  2. Choose a preset, or select Add a custom server under Any other MCP server.
  3. For a custom server, fill in Name, Short name, Address and Authentication: Bearer token, A header of its own or None.
  4. Type the Credential once. zerohead seals it and never shows it again.

The Short name is up to 12 lowercase letters and digits. Agents see the connector's tools as x_<short name>_<tool>. The address is https://, or http:// for this computer only. It cannot hold a user name, password or query string.

GitHub works with a personal access token you paste. Prefer a fine-grained token limited to the repositories the company uses. What the token may do on GitHub is the outer limit of what any agent can do through it.

Test it

Select Test connection on the connector. It lists the tools the server offers, or says why it could not connect.

Grant it

Open the connector and find Who may use it.

  1. Choose an Agent.
  2. Choose What it may use: Every tool of this connector or Only the tools I name.
  3. Select Grant access.

With no grant, the outside server is not even contacted. Grants are checked again on every call.

Approve calls

A custom connector starts with "every call needs approval". Under Tools, each tool listed by a test has Needs my approval, which you can switch for that tool. A preset starts with approval needed for everything except tools known to only read.

When an agent calls a tool that needs approval, nothing is sent. zerohead raises an approval in Approvals with the tool and the exact arguments. If you approve, the agent runs again and calls the approved action by its ID with the approval_run tool, using the arguments zerohead stored.

An approval covers one call. It lasts 24 hours after your decision. Changing a connector's address, credential or headers cancels approvals not yet used.

How it is kept safe

  • Credentials are sealed with a key in connector.key in your data folder. They never reach an agent, a client or a log.
  • Text from an outside server is marked as information, not instructions.
  • Every call is recorded, including refused ones.
  • Connecting, listing and calling each have time limits.

Anything that runs as your user can read both the key and the database, an agent with a shell included.

Connectors reach servers over https, or over http on this computer only. They do not start local programs, and there is no OAuth sign-in yet.

zeroheadHomeMIT license