MCP Server
Orangebeard has a Model Context Protocol (MCP) server. Connect an AI agent to it, such as a coding assistant, and the agent can read your test results: find failed runs, inspect logs and screenshots, and look up how similar failures were analyzed before.
The server is read-only: none of its tools changes anything in Orangebeard. It does not need an AI model to be configured in Orangebeard, because the agent uses its own.
This is the opposite direction of the MCP Servers tab in the organization settings. That tab gives the Orangebeard AI assistant access to external tools. This page is about external agents that use Orangebeard.
Everything an agent reads, including logs and attachments, is passed on to that agent and to the AI provider behind it. Check that your organization allows this before you connect an agent.
Connecting an agent
To connect, you need:
- A personal access token with the
MCPscope, with access to the organization and the project. - Membership of the project. A token never reaches more than you can access yourself.
- An agent that supports MCP over streamable HTTP and can send a custom header. OAuth is not supported.
Server address
https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp
Replace {ORGANIZATION} with the name of your organization, as it appears in the Orangebeard address. For private cloud
environments, use your own host. Do not add a slash at the end.
The organization is part of the address. To use more than one organization, add a server for each of them, with different names.
Client configuration
After you create a token with the MCP scope, Orangebeard shows these configurations with your token and address
filled in. To set up a client by hand, replace {ORGANIZATION} and obp_YOUR_TOKEN in one of the examples below.
- Claude Code
- Cursor
- Codex
- Hermes
- Other
Run in a terminal:
claude mcp add --transport http orangebeard https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp --header "Authorization: Bearer obp_YOUR_TOKEN"
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"orangebeard": {
"url": "https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp",
"headers": {
"Authorization": "Bearer obp_YOUR_TOKEN"
}
}
}
}
Add to ~/.codex/config.toml:
[mcp_servers.orangebeard]
url = "https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp"
http_headers = { "Authorization" = "Bearer obp_YOUR_TOKEN" }
Add to ~/.hermes/config.yaml:
mcp_servers:
orangebeard:
url: "https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp"
headers:
Authorization: "Bearer obp_YOUR_TOKEN"
Configure a streamable HTTP MCP server with:
URL: https://app.orangebeard.io/{ORGANIZATION}/auto-test-pilot/mcp
Authorization: Bearer obp_YOUR_TOKEN
These configurations contain your token in plain text. Keep the file private and never commit it to a repository.
Asking questions
Tell the agent which project to look in, because no tool lists your projects. For example:
Which test runs in the Orangebeard project
my-projectfailed this week, and what went wrong?
Tools
| Tool | What it returns |
|---|---|
get_test_runs_since | The test runs of a project in a period |
get_last_runs_for_set | The latest runs of one test set |
get_test_run | One test run and its tests |
get_test | One test with steps, logs and attachments |
get_test_timeline | Earlier executions of a test |
get_attachment | The content of an attachment |
get_historical_analyses | Earlier analyses of similar failures |
Every tool takes a project argument: the project name as it appears in the Orangebeard address. The agent finds run,
test and attachment IDs in the results of other tools.
get_test_runs_since
Finished test runs that started in a period, newest first.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
startTime | Yes | Earliest start time, for example 2026-11-01T00:00:00Z. |
endTime | No | Latest start time, in the same format. Default: now. |
status | No | PASSED, FAILED, STOPPED, SKIPPED, TIMED_OUT or INTERRUPTED. |
testSetName | No | Only runs of this test set. |
Times are in UTC. A time with an offset, such as +02:00, is converted, and a time without an offset is read as UTC. A
date without a time is not accepted.
For each run, the result contains the test set name, run ID, start and end time (milliseconds since 1970), status and the number of passed, failed, skipped and total tests.
One call returns at most 100 runs, together with:
totalRuns: the number of runs that match.statusCounts: the number of runs per status in the period (and test set), regardless of thestatusargument.returnedRuns: the number of runs in this result.nextEndTime: present when there are older runs. The agent gets them by calling the tool again with the same arguments and this value asendTime.
get_last_runs_for_set
The latest runs of a test set, at most 25.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
testSetName | Yes | The test set name. |
For each run, the result contains IDs, start and end time, status and test counts. The testsDefectTypes list counts
the failed tests per defect type. In each entry, first is the number of failed tests and second is their defect type.
In this example, 2 failed tests are classified as product bug and 1 is still to be investigated:
"testsDefectTypes": [
{ "first": 2, "second": "PRODUCT_BUG" },
{ "first": 1, "second": "TO_INVESTIGATE" }
]
get_test_run
One test run with its status, analysis summary, and tests grouped by suite, with their defect analyses.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
testRunId | Yes | The test run ID. |
status | No | Which tests to return: NOT_PASSED (default), ALL, PASSED, FAILED, SKIPPED, STOPPED, TIMED_OUT, INTERRUPTED or IN_PROGRESS. |
offset | No | The number of matching tests to skip. A whole number, default 0. |
One call returns at most 50 tests. The page object in the result contains statusCounts (all tests of the run per
status), matchingTests, returnedTests, offset and, when there are more tests, nextOffset. The agent gets the
next tests by calling the tool again with the same arguments and that value as offset.
get_test
One test: details, steps, logs, analysis and attachments.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
testRunId | Yes | The test run ID. |
testId | Yes | The test ID. |
get_test_timeline
The previous 10 executions of a test, with test and run IDs, sequence number, status, issue type and start and end time. Useful to see whether a failure is new, ongoing or flaky.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
testId | Yes | The test ID. |
get_attachment
An attachment, such as a screenshot or a response body.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
attachmentId | Yes | The attachment ID. |
| Attachment type | Result |
|---|---|
| Images | The image, up to 4 MB. Larger images are left out. |
Text (text/*, application/json, application/xml) | The text. Of larger files, only the first 4 MB is returned. |
| Anything else, such as video, ZIP or PDF | Only information about the file, not its content. |
get_historical_analyses
The 5 most similar earlier defect analyses for a test, with their analysis status, defect classification, reasoning and similarity score.
| Argument | Required | Description |
|---|---|---|
project | Yes | The project name. |
testId | Yes | The test ID. |
Limits
- Each user can make 120 requests per minute by default, shared by all of their tokens. When the limit is reached, the
server answers with status
429and aRetry-Afterheader. - Text arguments cannot contain
/,\,?,#,%or... Runs of a test set with one of these in its name cannot be requested by test set name. - Revoking a token, reducing its access or being unassigned from a project takes effect within 15 seconds at most.
Troubleshooting
| Response | Likely cause |
|---|---|
401 | The token is missing, mistyped, expired or revoked, or it does not have the MCP scope. |
403 Access denied | The token has no access to this organization or project, you are not a member of the project, or the project does not exist. |
403 without that message | The address ends with a slash, or the request comes from a web page. Requests from browsers are not accepted. |
429 | Too many requests. Wait for the number of seconds in Retry-After. |
503 | Access could not be checked at the moment. Try again later. |
Error code -32602 | The agent passed an unknown, missing or invalid argument. The message says which. |
The tool call failed. Check the arguments... | The run, test or attachment does not exist in this project. |
Technical details
- Transport: streamable HTTP. The server is stateless and only accepts
POSTrequests. - Protocol versions:
2026-07-28,2025-11-25and2025-06-18. - Authentication:
Authorization: Bearer <personal access token>.
Ask Orangebeard