Skip to content
CodeBook

Tool connections

Connect MCP servers and supported REST APIs, enable selected tools and grant stations access.

An agent can always read its card and, with a repository connected, the code. Tool connections give agents access to services such as your CI system or issue tracker. CodeBook supports MCP servers and built-in REST API recipes.

To let an outside agent use your CodeBook workflow, see The MCP server.

The catalogue

Open Tool connections → Browse in the workflow. Browse the services by category.

Category Examples
Code & docs Context7, DeepWiki, GitMCP, GitHub, Microsoft Learn, AWS Knowledge, Cloudflare Docs, Postman, Hugging Face
Testing & CI CircleCI, Buildkite, Semaphore, Cypress Cloud, Checkly, Currents, Sauce Labs, Datadog, Browserbase, TestRail (a REST recipe), and the CircleCI, Buildkite, Semaphore, Checkly and Currents APIs (REST recipes for test run pipelines)
Web & research Exa, Tavily, Firecrawl, Apify
Project tools Linear
Data & infrastructure Supabase, Neon
Payments Stripe
Customers Intercom

For a custom MCP server, supply its address and supported authentication. REST connections use the API recipes in the catalogue. Entries marked Needs OAuth sign-in cannot be connected in this panel.

EvalBook on a new factory

When your CodeBook and EvalBook workspaces are linked, CodeBook adds EvalBook to each factory’s Connections. It asks EvalBook which tools the factory key can use. Those first tools are enabled automatically. The manager and QA agent receive the available tool descriptions, input fields, and EvalBook’s instructions through their connection. Their permissions determine which tools they can call.

Try asking your QA agent, “Test the change on this commit, send the results to EvalBook, and give me the failed test names.” Your testing service runs the project. EvalBook records the results and lets the manager look up the evidence.

You can turn individual tools off. Tools added by the server on a later refresh start off until you enable them. Disconnect EvalBook under the factory’s Connections to stop the factory’s agents from using it. It stays disconnected until you reconnect it there.

Testing is a connection

The CodeBook application server does not execute repository code. Agents can ask a connected testing service — your CI system, a test platform or a cloud browser — or a command runner on a machine you own to run tests. Reading code alone is not a test run.

Connect that service from the Testing & CI category. One that is not in the catalogue can be added by its address; tick This connection runs tests on it.

Once a testing service is connected and its tools are switched on:

  • A Test station can be held to it. A station contract's rule Has a run from a connected testing service counts a test report only when its structured report names a run at one of these connections (or a CI runtime adapter), with its counts — see The Test station.

  • It reaches every station that works on pull requests. The second switch below does not apply to it: the testing service is offered at each station that works with the repository. The factory's policy and each agent's own permissions still apply.

  • Agents are told to use it. Before recording a pass on a pull request, the agent runs the tests there, or reads the run the service already started for the latest commit, waits for the result, and reports what ran and the outcome, naming the run. A failing run is a fail.

  • Missing test execution is explicit. With no testing service connected, agents are told about that limit. A verified proof run can still supply execution evidence from a person’s computer, a factory runner or a hosted sandbox. A review by reading the code is recorded separately. Repository reports and proof runs

What the service reports on the pull request itself — a check or a status — is what CodeBook reads before it merges: a failing check sends the card back to the developer.

How a server signs in

Choose a connectable entry and read its sign-in fields. Include only the credentials needed for its tools.

  • Open — answers anyone. One click.
  • API key — you paste a key or personal access token. Adding one connects immediately, so a key that does not work is a message at once, not a mystery in the middle of a run.
  • REST API entries use a built-in recipe for the vendor’s documented API. Connecting asks for your instance's address and the recipe's own fields (for TestRail, an email and an API key), which become one encrypted header; the fields are never kept. The recipe's tools then sit under the same switches, grants and permissions as any server's. See The Test station. A test run pipeline can use the CircleCI, Buildkite, Semaphore and Checkly API recipes to trigger and read work. Currents API supplies results. Test run pipelines

Two switches

For connections you add by hand, you choose the tools and stations that may use them.

  1. Select the tools. A connected server lists the tools it offers; you turn on the ones you want. A server that offers thirty tools does not hand your agents thirty tools.
  2. For ordinary tools, allow the station to use connections. Under the station's Permissions, use tool connections is off by default.

Testing connections have the PR-station behavior described above. An engineer on Development can have live documentation while the analyst on Backlog has nothing, and a payments tool can be limited to the one finance station that needs it.

In the record

Every tool call an agent makes is a step in its run. Open the run under the station's Runs and the call is there, in order, with everything else the run did.

Tool output is data

Whatever a tool returns — a web page, a document, an issue — is read as information about the task, never as an instruction. Every skill CodeBook wrote says so, and the grants above hold whatever the content says. See The security model.