---
title: "MCP Server"
description: "Connect Claude, Claude Code, Cursor, VS Code or any MCP client to TestOrchestrator by signing in with OAuth, or with a personal API key for CI and scripts — and how its act-as-you security model works."
source: "https://testorchestrator.com/docs/mcp"
---

# MCP Server

TestOrchestrator exposes its QA data and actions to any MCP-compatible AI client — Claude, Claude Code, Cursor, VS Code, or any agent that speaks the Model Context Protocol — over an MCP server. Your AI client supplies the intelligence; TestOrchestrator supplies the projects, test cases, runs, comments, and traceability it can act on. There is no chat UI inside the product: you connect your own client, either by signing in with OAuth or with a personal API key.

> **Where to find your keys.** Open the account menu, choose **My profile & settings**, and pick **API keys** — the fourth item in the **Personal** group, after [Profile](https://testorchestrator.com/docs/personal-settings/profile), [Preferences](https://testorchestrator.com/docs/personal-settings/preferences) and [Notifications](https://testorchestrator.com/docs/personal-settings/notifications). It is available to every signed-in user: there is no admin step and no plan gate. A key always carries your full permissions — there is no read-only key; to give an app read-only access, [connect it with OAuth](https://testorchestrator.com/docs/mcp#what-you-approve) and leave changes unticked. Its **Personal keys** tab lists _your own_ keys only, so someone else’s key never appears on it. The **Workspace service keys** tab beside it holds the keys CI uses to upload results — a different kind of key that cannot run MCP tools; see [API keys](https://testorchestrator.com/docs/api-keys).

## How it works

The protocol splits the work cleanly: the AI client is the “coworker” that reasons and decides what to do, and TestOrchestrator is the system of record it reads from and writes to. Connect a client once, with OAuth or an API key, and your agent can discover a project’s structure, author detailed test cases, comment, start runs, link cases to Linear or Jira issues, and read coverage and traceability — all from inside your own AI tool.

- **Endpoint:** `https://api.testorchestrator.com/mcp` — MCP 2025-06-18 Streamable HTTP, JSON-RPC 2.0.
- **Authentication:** sign in with **OAuth** — the client opens TestOrchestrator in your browser, you approve it for one workspace, and it receives its own token — or send a **personal API key** as an `Authorization: Bearer <key>` header. API keys remain for CI, scripts and clients without OAuth.
- **Isolation:** every call runs inside one workspace (tenant): the one you chose when you approved the connection, or the key’s. A connection for one workspace can never read or write another workspace’s data.

> **Start with `get_projects`.** Every tool that works on a project takes a `project` argument: the numeric project id. Get it from `get_projects` (call it first). It is also the number in the app URL, `/<workspace>/projects/<id>/…`. A project name is not accepted: it is refused as a malformed argument, JSON-RPC `-32602`. If a project is not found or you can’t access it, the tool returns an error listing the projects you _can_ use (`accessibleProjects`, up to 50), so the agent can retry with the right id. When you can access no project at all, `get_projects` and that error add a `hint`: an assistant that may create projects is pointed to `create_project`, and one that may not is told who can.

## Connect by signing in (OAuth)

Clients that support MCP authorization sign in to TestOrchestrator themselves: you give them the URL, they open TestOrchestrator in your browser, and you approve. You never copy a key and there is nothing to rotate. It works on every plan, Free included, for any signed-in user. If you are signed out when the page opens, sign in the usual way — an emailed link, Google or GitHub — and you come back to the same approval.

The URL is the same in every client:

```
https://api.testorchestrator.com/mcp
```

We have connected these clients to the live service and checked them end to end: Claude (claude.ai and Claude Desktop), Claude Code, Cursor, VS Code, and the MCP Inspector. We have not tested ChatGPT.

### Claude (claude.ai and Claude Desktop)

TestOrchestrator is listed in Claude’s connector directory. Open [TestOrchestrator in the directory](https://claude.ai/directory/connectors/testorchestrator), or search for it under **Directory** in Claude, choose **Add** or **Connect**, and approve in the TestOrchestrator page that opens. There is no URL to paste.

You can also add it yourself as a custom connector:

1. Open **Connectors** in Claude’s settings and choose **Add custom connector**.
2. Name it **TestOrchestrator** and paste the URL. Nothing else is needed: Claude detects that the server signs you in (**Sign in now**) and identifies itself with **Use Claude’s published identity**. Leave the OAuth client ID and secret empty, and add no request header.
3. Add the connector, connect it, and approve in the TestOrchestrator page that opens.

On Claude’s Free plan you can add one custom connector. On Team and Enterprise plans an Owner adds it for the organization, and each member then connects with their own account.

### Claude Code

```bash
claude mcp add --transport http testorchestrator https://api.testorchestrator.com/mcp
```

Then run `/mcp` inside Claude Code, pick **testorchestrator** and authenticate. Your browser opens the TestOrchestrator approval page; Claude Code receives the connection when you approve.

### Cursor

Add the server to `.cursor/mcp.json` in your project, or to `~/.cursor/mcp.json` for every project — the URL alone, no header:

```json
{
  "mcpServers": {
    "testorchestrator": {
      "url": "https://api.testorchestrator.com/mcp"
    }
  }
}
```

Or, with Cursor installed, open this link to add the same entry: [Add TestOrchestrator to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=testorchestrator&config=eyJ1cmwiOiJodHRwczovL2FwaS50ZXN0b3JjaGVzdHJhdG9yLmNvbS9tY3AifQ==). It carries the server URL and nothing else — no key and no token.

The first time Cursor uses the server it opens the sign-in page in your browser; approve, and Cursor picks up the connection. This needs a Cursor version with MCP OAuth support; we tested Cursor 3.9.16.

### VS Code (GitHub Copilot)

From a terminal:

```bash
code --add-mcp '{"name":"testorchestrator","type":"http","url":"https://api.testorchestrator.com/mcp"}'
```

Or open this link: [Install TestOrchestrator in VS Code](https://vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522testorchestrator%2522%252C%2522type%2522%253A%2522http%2522%252C%2522url%2522%253A%2522https%253A%252F%252Fapi.testorchestrator.com%252Fmcp%2522%257D). VS Code opens the server’s details — the name **testorchestrator**, the type `http` and the URL above, no key — so you can review them before you choose to install.

When the server first starts, VS Code asks to sign in: choose **Allow**, then approve in the TestOrchestrator page that opens.

### Codex

The Codex app connects by signing in. In its **Plugins** settings, under **MCPs**, add TestOrchestrator as a server with the URL above, choose **Authenticate**, then approve in the TestOrchestrator page that opens. We tested the Codex app on 29 November 2026 (its MCP client 0.171); its menus may differ in other versions. To connect Codex with an API key instead, use the `config.toml` entry under [Connect a client with your key](https://testorchestrator.com/docs/mcp#2-connect-your-ai-client).

### ChatGPT

Custom MCP connectors are a ChatGPT **Business**, **Enterprise** and **Edu** feature, turned on through developer mode; on **Pro** they are limited to read and fetch, and on **Free** you cannot add one. On an eligible plan, connecting should work by creating a connector in developer mode with the URL above and **OAuth** as the authentication, then approving in the TestOrchestrator page that opens. We have not tested ChatGPT ourselves, and its menus change often; OpenAI’s help pages have the current steps.

### Other clients

Any MCP client that supports OAuth 2.1 with dynamic client registration or client ID metadata documents can connect with the URL alone. For a client that does not — and for scripts, CI and agents without a browser — use an API key; Codex set up through its `config.toml` and other header-based clients are covered there too. See [Create your API key](https://testorchestrator.com/docs/mcp#1-create-your-api-key) below.

### What you approve

The approval page is always on `testorchestrator.com`, and you must be signed in to the account the app will act as. It shows:

- **The app’s name** — as the app gives it — and where that identity comes from: a verified domain (for example `claude.ai`), or _“Registered automatically, not verified by TestOrchestrator”_.
- **Where approving sends you back to**, in large type — a website, or _“an app on this computer”_ for a desktop client. If that is not the app you just used, click **Deny**.
- **What it can do:** read your projects, cases, runs and results (always), and, if the app asked for it, make changes — create and change cases, runs, results, comments and cycles, and create projects (if your access level lets you create projects). Untick that to connect it read-only.
- **Which workspace** it connects to, if you belong to more than one. One connection is for one workspace; connect again to add another.

Your role in that workspace still applies: the app can only do what you can do there. **Approve** becomes clickable a moment after the page appears. A request expires after 10 minutes and works once; if you see _“This request has expired”_, go back to the app and connect again. Ops and support sessions cannot approve apps.

After you approve, the app holds an access token that lasts one hour and renews it on its own. A connection lasts at most 90 days; after that, connect again from the app.

### See and revoke connected apps

**Settings → Connected apps** (under **Personal**, after API keys) lists every app you have connected to the current workspace: its name, its verified domain or _Registered automatically_, its access (**Read only** or **Read & write**), when you connected it and when it was last used. **Revoke access…** in a row’s menu asks you to confirm, then the app’s next request is refused. A revoke cannot be undone; to use the app again, connect it again from the app.

Tenant Admins also see **Users & Access → Connected apps**: every member’s connected apps in the workspace, with a **Member** column, and the same revoke. A connection also stops working while its owner is deactivated or once they are removed from the workspace, and a Tenant Admin’s **Force logout** of the owner or a change of their email address ends it for good.

## 1. Create your API key

Use an API key for CI, scripts, and clients that cannot sign in with OAuth. API keys are **personal and self-service** — any user can create their own, no admin needed.

1. Open **Settings → API keys** (under **Personal**).
2. Click **New key** in the panel head. On a workspace with no keys yet, the empty state offers **Create a key** instead — same dialog.
3. In the **Create API key** dialog, give the key a **Label** (up to 120 characters; the placeholder suggests _“e.g. Claude Desktop — Alex”_) and choose when it **Expires**.
4. Click **Create key**. The key is issued and shown to you once, in a dialog you cannot dismiss by accident — see [the one-time reveal](https://testorchestrator.com/docs/mcp#the-one-time-reveal) below.

### Expiry is a choice, and it defaults to 90 days

The **Expires** row offers four options. There is no free-form date field, and no way to leave the question unanswered.

| Choice | What the dialog says |
| --- | --- |
| **30 days** | “The key stops working automatically after this. You can create a replacement any time.” |
| **90 days** — the default |
| **1 year** |
| **Never expires** — marked _Not recommended_ | “This key stays valid until someone revokes it.” |

Whatever the expiry, a personal key acts as you, so it also stops working with your access: it is refused while you are deactivated or once you are removed from the workspace, and a Tenant Admin’s **Force logout** on your account or a change of your email address revokes all of your personal keys. Create a new key afterwards if you still need one.

The label is required. Leaving it empty and clicking **Create key** replaces the field’s hint with _“Enter a label so you can recognise this key later”_; the error appears only on that save attempt, never when you tab out of the field, and it clears as soon as you start typing.

### The one-time reveal

The **API key created** dialog is the only place the full key ever exists in the UI, so it is built so you cannot lose it by mis-clicking: **clicking outside it does nothing, Escape does nothing, and there is no × to close it**. Two explicit actions end it.

- **Copy and close** — copies the key to your clipboard and closes the dialog. If your browser blocks the clipboard, the dialog **stays open** and says so: _“Your browser blocked the clipboard. Select the key above and copy it by hand before you close this — it cannot be shown again.”_ The key stays on screen, and one click selects the whole of it.
- **I’ve saved it elsewhere** — closes the dialog once you have stored the key yourself. The confirmation reads _“Key saved. It cannot be shown again.”_

The dialog states the rule plainly — _“This is the only time the key is shown. Copy it now.”_ — and carries a link to this page (_How to configure an MCP client_) for the moment you are holding the key and need to know where to paste it.

> Treat an API key like a password. It grants access to everything you can reach in the app. The dialog says the same thing: _“Anyone with this key can read and modify this workspace’s test data.”_ Don’t commit it to source control or paste it into shared documents; store it in your MCP client’s config or a secrets manager.

**Only a prefix is kept.** Once the dialog closes, the list shows the first characters of the key (`to_live_…`) and nothing more — hovering the cell says _“prefix only — the full key is never shown again”_. There is no way to re-read a key you did not save.

## 2. Connect a client with your key

For a client you are not signing in with OAuth, point it at the endpoint and pass your key in the `Authorization` header. Restart the client afterwards; you should see the TestOrchestrator tools become available. Replace `to_live_…` with the key you created.

### Claude Code (CLI)

```bash
claude mcp add --transport http testorchestrator \
  https://api.testorchestrator.com/mcp \
  --header "Authorization: Bearer to_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.testorchestrator]
type = "http"
url = "https://api.testorchestrator.com/mcp"

[mcp_servers.testorchestrator.http_headers]
Authorization = "Bearer to_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

### Cursor (`.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "testorchestrator": {
      "url": "https://api.testorchestrator.com/mcp",
      "headers": {
        "Authorization": "Bearer to_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}
```

### Other MCP clients

Clients that support remote (HTTP) MCP servers with a custom header can use the same configuration shape. Claude Desktop and claude.ai connect with OAuth instead — see [Claude](https://testorchestrator.com/docs/mcp#connect-claude) above.

```json
{
  "mcpServers": {
    "testorchestrator": {
      "type": "http",
      "url": "https://api.testorchestrator.com/mcp",
      "headers": {
        "Authorization": "Bearer to_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}
```

Once connected, confirm it works by asking the agent something like _“list the test cases in project 6.”_ See the [Tool Reference](https://testorchestrator.com/docs/mcp/tools) for everything an agent can do.

## 3. Manage your keys

The same page lists every key you own, newest first. There is no sort control and no search box — a personal key list is a handful of rows — but there is a status filter, because revoked and expired keys stay in the list rather than disappearing from it.

### What each row tells you

| Column | What it shows |
| --- | --- |
| **Label** | The name you gave the key, with when it was created on a second line (_Created today_, _Created 13 weeks ago_). Hover either line for the full label and the exact creation timestamp. |
| **Key** | The non-secret prefix, `to_live_…`. This is the only key material the list ever shows. |
| **Status** | A coloured dot and one word — **Active**, **Expired** or **Revoked**. The two dead states carry the reason on hover: _“The key stopped working on its expiry date. Create a new one to restore access.”_ and _“Switched off. A revoked key cannot be reactivated.”_ Expired and revoked rows are dimmed. |
| **Last used** | When the key last authenticated a request, as a relative time (the exact timestamp is on hover). It is updated at most once a minute. A key that has never been used reads **Never** and explains itself: _“This key has never authenticated a request. The client using it may be misconfigured.”_ |
| **Expires** | A relative deadline, or **Never** for a non-expiring key. Inside the last two weeks the cell turns into a warning — _“Expiring soon. Whatever uses this key stops working then.”_ |

### The key-expiry warning banner

When any active key falls inside the 14-day window, a warning banner sits above the panel and names the deadline — for a single key, _“Nightly CI pipeline expires in 9 days. Whatever uses it stops working then — create a replacement before it lapses.”_; for more than one, _“2 keys expire within two weeks. Whatever uses them stops working then.”_ Its **Show active** button switches the list to the Active filter.

### The status filter

The **Status** control in the panel head filters to **All**, **Active**, **Expired** or **Revoked**, with a live count beside each of the three states. The count next to the panel title follows the filter. Filtering to a state you have none of gives you, for example, _No expired keys_ / _Try a different status._ and a **Clear filter** button.

### Revoking a key

Each row’s **…** menu offers **Copy key prefix** and **Revoke key…**. On an already-revoked key the revoke item is simply absent — there is nothing left to switch off.

The confirmation changes with what the key is actually doing:

- **A key still in use** — one that authenticated a request within the last week — asks you to **type `REVOKE`** before the button enables, and names the evidence: _“This key authenticated a request 2 days ago, so something is using it right now. That client loses access the moment you revoke.”_
- **A dormant key** gets a plain confirm: _“Any client still holding this key loses access immediately.”_

Both dialogs carry the same note, because it is the part that decides the answer: _“A revoked key cannot be reactivated. You will need to create a new key and update the client’s configuration.”_

> **Revoking cannot be undone.** The row flips to **Revoked** at once and the confirmation toast carries no Undo. There is no reactivate action anywhere in the product, and no rotate button either — **rotation is create a new key, update the client, then revoke the old one**, in that order.

## The security model

The MCP server is designed so a connection — an OAuth connection or a key — can never do more than the person it belongs to. Three guarantees back that up:

- **A connection acts as you.** An OAuth connection acts as you in the one workspace you chose when you approved it; a key acts as the person who created it, in its workspace. Either way it inherits _your_ permissions — your [access level](https://testorchestrator.com/docs/users-and-access/access-levels), [global role](https://testorchestrator.com/docs/users-and-access/roles), and whatever each project’s [access default and exceptions](https://testorchestrator.com/docs/projects/project-access) give you. It can do only what you can do in the app, in the projects you can access — nothing more. (This mirrors how Linear API keys inherit the issuer’s permissions.)
- **Least privilege by default.** Because the connection is scoped to you, granting an agent access never widens your reach. If you can’t edit a project, neither can your agent. An OAuth connection approved read-only cannot write at all.
- **Strict tenant isolation.** Every call runs inside one workspace. A connection for one workspace can never read or write another workspace’s data.

OAuth connections get short-lived access tokens that the client renews on its own; the app never sees your TestOrchestrator sign-in, and the approval page is the only place a connection is created.

Errors for missing or forbidden resources are reported as _“not found or access denied”_ without revealing whether the resource exists in another workspace. A missing, invalid, revoked, or expired credential returns **HTTP 401**, and so does one whose owner is deactivated or no longer in the workspace; the credential is never echoed back or written to logs. A request that carries a browser `Origin` other than TestOrchestrator’s own is refused with **HTTP 403** before the key is looked at, so a page on another site cannot call `/mcp` from your browser. MCP clients send no `Origin` and are unaffected.

## What an agent can do

The server exposes **40 tools**, grouped by area — discovery, projects, test cases, folders, comments, test runs, cycles, attachments, and traceability, plus three tools for automated results and automation keys. The [Tool Reference](https://testorchestrator.com/docs/mcp/tools) documents the tools of those nine areas with their arguments. In short, an agent can:

- Discover a workspace’s projects, folders, fields (including steps and priority), integration sources, cycles, environments, workflow states, statuses, tags, and users.
- Create a project, when the person it acts as has an access level that can create projects (Tenant Admin or Project Admin) and the connection may make changes.
- List, search, read, create, and update test cases — including steps and priority via custom field values — and organise the folder tree.
- Read, add, edit, and delete comments on a test case.
- Start and edit test runs, record per-case results with an optional status and note for each step, read a run’s summary or one case inside it with its steps and what was recorded on them, and close it out.
- Create, update, and reopen cycles that group those runs.
- Attach files — upload a screenshot or document to a test case field or step, a test run result, or an exploratory session result.
- Link a case to a Linear or Jira issue and read coverage gaps and reverse traceability.

## Protocol notes & limits

- **Transport.** MCP **2025-06-18 Streamable HTTP**: JSON-RPC request/response over `POST /mcp` (`application/json`). The server keeps no session state and sends no server-initiated messages.
- **Keep one session open.** Connect once and reuse the session for `tools/list` and `tools/call`. The server returns an `Mcp-Session-Id` on `initialize`; sending it back is optional, and no request is ever rejected for leaving it out. Opening a new session more than 30 times a minute per credential (an API key or an OAuth connection) returns **HTTP 429** with `Retry-After` (JSON-RPC error `-32029`, `data.errorCode` `MCP_INITIALIZE_RATE_LIMITED`). Tool calls are never limited by this.
- **`GET /mcp`.** With a valid credential it returns **HTTP 405** by design: the server sends no server-initiated messages, and MCP clients handle this automatically. Without one it returns the 401 sign-in challenge below.
- **Request size.** A request to `/mcp` can carry a body of up to 4 MB (4 194 304 bytes); the OAuth endpoints a client signs in with (`/oauth/register`, `/oauth/token`, `/oauth/revoke`) take up to 64 KB. A request whose `Content-Length` is over the limit is answered `413` before the credential is checked. A body sent without a length that runs past the limit is refused once it has been read that far, unless it was refused for another reason first: on `/mcp` that refusal is the same `413`. A `multipart/*` body to any of these is answered `415`. Both are plain HTTP errors with a JSON body, not JSON-RPC errors.
- **JSON-RPC methods:** `initialize`, `tools/list`, `tools/call`, `ping`, and `notifications/initialized`.
- **Search is keyword/filter, not semantic.** `search_test_cases` matches on title and number; there is no embedding or semantic search.
- **Permissions apply per tool.** Write tools (create, update, comment, link, start run, create project) require the same permissions they need in the app, so some calls may be denied for a person who cannot make that change. A read-only OAuth connection lists every tool but cannot call a write tool.
- **Errors.** Tool execution failures return a `tools/call` result with `isError: true`. A refusal the agent can act on — a closed run, a name that is too long, a plan limit — carries an `errorCode`, a `message` and an HTTP-style `status`; anything not found or outside your access stays the opaque _“not found or access denied”_. Malformed arguments return JSON-RPC `-32602`. The HTTP answers, the plan-limit answer and the [busy answers](https://testorchestrator.com/docs/mcp#busy-answers) are below; a credential is never echoed or logged.

### HTTP answers

| Status | When | What the client sees |
| --- | --- | --- |
| **401** | No credential, or one that is invalid, expired, revoked, or whose owner is deactivated or no longer in the workspace. | A `WWW-Authenticate: Bearer` header with `resource_metadata` (where the client discovers how to sign in) and `scope="mcp:read mcp:write"`, plus `error="invalid_token"` when a credential was sent. OAuth clients use it to start or renew sign-in. The JSON body carries `errorCode` `MCP_UNAUTHORIZED`. |
| **403** | A write tool called through a read-only OAuth connection. | `WWW-Authenticate: Bearer error="insufficient_scope"` and a JSON-RPC error (`data.errorCode` `MCP_INSUFFICIENT_SCOPE`): _“This connection is read-only; reconnect and allow changes to use \<tool>.”_ |
| **403** | A request carrying a browser `Origin` other than TestOrchestrator’s own. | Refused before the credential is looked at; the JSON body carries `errorCode` `MCP_ORIGIN_NOT_ALLOWED`. MCP clients send no `Origin`. |
| **413** | A body over 4 MB on `/mcp`, or a declared `Content-Length` over 64 KB on the OAuth endpoints. With a `Content-Length` over the limit this comes before the credential is checked. | The JSON body carries `errorCode` `PAYLOAD_TOO_LARGE`, with the limit in bytes in `details`, and the connection is closed. See [Request size](https://testorchestrator.com/docs/mcp#request-size). |
| **415** | A `multipart/*` body. | Refused before the credential is checked or the body is read; the JSON body carries `errorCode` `UNSUPPORTED_MEDIA_TYPE`. Send `application/json`. |
| **429** | More than 30 new sessions a minute for one credential. | `Retry-After`; see [Keep one session open](https://testorchestrator.com/docs/mcp#keep-one-session-open). |

### Plan limits

When the workspace is at a limit of its plan — for example the Free plan’s 200 test cases — a tool call that would go over it is refused inside a normal `tools/call` result: `isError: true`, and the text carries `errorCode` `PLAN_QUOTA_EXCEEDED`, `status` `409` and a message that names the limit and the plan that lifts it, for example _“Your workspace is at its test-case limit (200) on the Free plan. Upgrade to Starter for unlimited test cases. Ask a workspace admin to upgrade at Settings › Subscription.”_ The same call with an API key gets the same answer. While the workspace is at the limit, a folder id you cannot see returns this message too, rather than _“not found or access denied”_. Limits per plan are in [Limits & locks](https://testorchestrator.com/docs/plans-and-billing/limits). `create_project` at the plan’s project limit gets the same kind of answer.

### Busy answers

Four answers mean “try again in a moment”. Each comes back as a normal `tools/call` result: the `/mcp` response itself is HTTP 200, the result has `isError: true`, and its text is a JSON object with an `errorCode`, a `message` that says what to do, and a `status` number. That `status` is a field of the text, not the HTTP status of the response.

- **`RESULT_BUSY`** — from `record_test_result`, or from `create_attachment_from_upload` on a run result, while the workspace is saving many results at once (`status` 429) or another change to the same result is being saved (`status` 409). Nothing was recorded or attached: send the same call again in a few seconds.
- **`SERVER_BUSY`** — from any tool, when the server could not get a database connection in time (`status` 503). Send the same call again in a few seconds.
- **`PROJECT_CREATE_BUSY`** — from `create_project`, while another project is being created in the same workspace (`status` 429). Nothing was created: call it again in a few seconds. Calling it again with the same name does not create a second project.
- **`MCP_CALL_LIMITED`** — from any tool, when one connection (an API key or an OAuth connection) already has 16 tool calls running at once or has sent 600 tool calls in a minute, or the workspace already has 24 tool calls running at once across all its connections (`status` 429). Nothing was done: send the same call again after the number of seconds in `retryAfterSeconds` (the response also carries a `Retry-After` header), and run fewer calls at the same time. `tools/list` and `ping` are not counted.

**Send result writes a few at a time, not dozens in parallel,** and retry on a busy answer. A busy answer is the server saying so. A call your own client gave up on before any answer came back is different: it may still be waiting or writing, and it can still be recorded after you look. Wait a few seconds, then read the case with `get_run_case_details` before you send the call again. A call that is still in flight can land after your read, so a retry can still record the result twice; if that matters, check the case again before you close the run.

> **Out of scope.** CI-intelligence tools (flaky-test detection, failure history), test-pack tools, and semantic search are _not_ offered — the server only advertises tools backed by a real capability. `tools/list` is a contract that everything in it works.

## Troubleshooting

### My assistant does not see a new tool or a new argument

An assistant reads the server’s tool list when it connects, and a conversation that was already open keeps the list it read then. The server does not tell connected clients that the list has changed: its `initialize` answer advertises tools without change notifications, and it sends no server-initiated messages. So after we add a tool or an argument, disconnect the TestOrchestrator connector and connect it again, then start a new conversation. Some clients read the tool list only when the client itself starts, so if the tool is still missing, restart the client.

## Related

- [Tool Reference](https://testorchestrator.com/docs/mcp/tools) — Every tool — discovery, projects, test cases, folders, comments, runs, cycles, attachments, and traceability — with its arguments.
- [Integrations](https://testorchestrator.com/docs/integrations) — How linking to Linear, Jira, and other issue trackers works — the traceability the MCP tools read and write.
