> For the complete documentation index, see [llms.txt](https://docs.steadybit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.steadybit.com/integrate-with-steadybit/remote-mcp-server.md). Agents can also search and read this documentation through its [MCP server](https://docs.steadybit.com/~gitbook/mcp).

# Remote MCP server

Steadybit ships a hosted [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server, so you can connect AI assistants such as Claude, Claude Code, ChatGPT, Codex, or GitHub Copilot in VS Code directly to your Steadybit tenant. Once connected, the assistant can explore your environments, targets, actions, services, experiments, and execution results — and, with the right permissions, help you design, save, and run experiments — so you can understand your system, reason about resilience, and act on it.

Every tool runs with the permissions of the credential you connect with — the same team permissions, environment allowances, and license that apply in the UI and public API — so the assistant can only do what that credential is allowed to do. When you sign in, the credential is your own user account; an access token acts with the token's own scope (a single team, all teams, or an admin token's tenant-wide access).

{% hint style="info" %}
The MCP server is a licensed feature. If the endpoints below reject your requests, ask your Steadybit administrator to confirm that MCP is enabled for your tenant. The AI-assisted tools (experiment design, suggestions, and run analysis) additionally require the Steadybit AI feature.
{% endhint %}

## Capabilities

The server groups its tools into a few areas:

**Explore & analyze**

* Environments, teams, targets (with counts and statistics), and actions
* Services and their Service Risk breakdown
* Experiments and experiment templates
* Executions (runs): per-step results, notably failed targets, logs, and the metrics collected during a run
* Reliability advice for your targets
* Reporting trends — experiment executions and Service Risk over time

**Design & author**

* Turn a natural-language description into an experiment design, or get experiment suggestions for an environment or service
* Create a new experiment, update an existing one, or create one from a template

**Run**

* Start an experiment execution, or cancel a running one

{% hint style="warning" %}
Running an experiment injects **real faults** into your infrastructure. Treat the run tools as destructive — a well-behaved client will confirm with you before starting a run, and execution requires the same team and environment permissions as running from the UI or public API.
{% endhint %}

## Choose how to connect

There are three ways to connect an assistant. All of them reach the same server and offer the same tools; the plugins add skills on top.

|                      | [Plugin](#plugins)                                       | [MCP server with sign-in](#mcp-server-with-sign-in)              | [MCP server with an access token](#mcp-server-with-an-access-token) |
| -------------------- | -------------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------- |
| **You get**          | The tools, plus skills for getting started and safe runs | The tools                                                        | The tools                                                           |
| **Steadybit SaaS**   | Yes                                                      | Yes                                                              | Yes                                                                 |
| **Self-hosted**      | No                                                       | With OpenID Connect sign-in                                      | Yes                                                                 |
| **You sign in with** | Your Steadybit account                                   | Your Steadybit account                                           | An access token                                                     |
| **Clients**          | Claude (chat, Cowork, Claude Code), ChatGPT, Codex       | Claude, Claude Code, ChatGPT, Codex, VS Code with GitHub Copilot | Any MCP client that can send an HTTP header                         |

* **On Steadybit SaaS with Claude, ChatGPT, or Codex:** install the [plugin](#plugins).
* **On a self-hosted platform, or with another client:** add the [MCP server with sign-in](#mcp-server-with-sign-in) where your client supports it, otherwise [with an access token](#mcp-server-with-an-access-token).

## Plugins

Steadybit's plugins connect your assistant to Steadybit SaaS and add skills: a guided start that finds out where you stand and walks you to a first result, and the rules for designing and running experiments safely, such as asking you before every run. On first use, you [sign in](#how-sign-in-works) with your Steadybit account.

The plugins always connect to `https://platform.steadybit.com/mcp`. On a self-hosted platform, add the [MCP server](#mcp-server-with-sign-in) instead.

### Claude

Install the [Steadybit plugin](https://claude.ai/customize/plugins/id/30796810-1a9a-4bc4-aa4f-5b07c18d65c6%40anthropic-plugin-directory) from Claude's plugin directory, under **Customize → Plugins** in claude.ai or the Claude desktop app (on Pro, Max, Ultra, Team, and Enterprise plans). It works in:

* **Chat** (web, desktop, mobile) and **Cowork** — connect the Steadybit connector under **Connectors** on the plugin's page.
* **Claude Code** — a plugin installed on your account reaches Claude Code at the next session start; run `/reload-plugins` to load it right away. You can also install it from Claude Code itself:

  ```bash
  /plugin marketplace add steadybit/ai-plugin-claude
  /plugin install steadybit@steadybit
  ```

  Then run `/mcp`, pick `steadybit`, and sign in.

### ChatGPT and Codex

Install the [Steadybit plugin](https://chatgpt.com/plugins/plugin_asdk_app_6afbf494ccd48191befe9a24274dcc63) from ChatGPT's plugin directory; Codex shares it. Sign in when the assistant asks.

{% hint style="info" %}
A plugin's server URL can't be changed. If you belong to [several tenants](#several-tenants), add the MCP server with your tenant's URL instead.
{% endhint %}

## MCP server with sign-in

Add the server to your assistant and sign in with your Steadybit account — no token to copy or store. On Steadybit SaaS the endpoint is:

```
https://platform.steadybit.com/mcp
```

### Add the server

* **Claude** (web, desktop, mobile) — add a custom connector with `https://platform.steadybit.com/mcp`.
* **Claude Code**:

  ```bash
  claude mcp add --transport http steadybit \
    https://platform.steadybit.com/mcp
  ```

  Then run `/mcp`, pick `steadybit`, and sign in.
* **ChatGPT** — open **Plugins**, choose **+** and **Add custom MCP server**, enter `https://platform.steadybit.com/mcp`, and choose OAuth.
* **Codex**:

  ```bash
  codex mcp add steadybit --url https://platform.steadybit.com/mcp
  ```

  Codex signs in on the plain `/mcp` only — see [Several tenants](#several-tenants).
* **VS Code**, including **GitHub Copilot** chat and agent mode — add `https://platform.steadybit.com/mcp` as an HTTP MCP server.

Clients that require Dynamic Client Registration (for example Cursor, Windsurf, and the GitHub Copilot CLI) can't sign in today. Connect those [with an access token](#mcp-server-with-an-access-token).

### How sign-in works

On first use, the client opens a browser window where you sign in to Steadybit through your identity provider and confirm the connection:

<figure><img src="https://853194531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZLJS2c8EXBcu8PiwteIJ%2Fuploads%2Fgit-blob-2b93fca10a551e6e4c6097dee8867a72ca59d5ed%2Fmcp-oauth-consent.png?alt=media" alt="OAuth consent screen granting an MCP client access to Steadybit"><figcaption></figcaption></figure>

The assistant then acts as you, within the tenant and permissions you already have.

#### New to Steadybit

You don't need a Steadybit account before you connect. On the sign-in page, choose **Sign up** and create an account with your email address (you confirm it with a code we send you) or with a social login. If your account doesn't belong to a Steadybit tenant yet, Steadybit then offers a free 30-day trial: choose **Create trial & connect**, and the client connects to your new tenant, which comes with sample data to explore. Choose **Cancel** to stop without a trial — the client then reports that access was denied.

### OAuth on a self-hosted platform

On a self-hosted platform, the MCP server signs users in through the same OpenID Connect identity provider as the platform's UI. Your administrator sets this up once; see [MCP server with OAuth](https://docs.steadybit.com/install-and-configure/install-on-prem-platform/mcp-oauth.md). Without it, connect [with an access token](#mcp-server-with-an-access-token).

## MCP server with an access token

Supported by every MCP client that can send an HTTP header. Create an [access token](https://docs.steadybit.com/integrate-with-steadybit/api.md#access-tokens) in the UI under **Settings → API Access Tokens**, then pass it in the `Authorization` header when adding the server. The token carries its tenant, so you connect to the plain `/mcp` endpoint. On a self-hosted platform, use your platform's URL instead of `https://platform.steadybit.com`.

* **Claude Code**:

  ```bash
  claude mcp add --transport http steadybit \
    https://platform.steadybit.com/mcp \
    --header "Authorization: Bearer <your-access-token>"
  ```
* **Codex**, with the token in the environment variable `STEADYBIT_TOKEN`:

  ```bash
  codex mcp add steadybit --url https://platform.steadybit.com/mcp \
    --bearer-token-env-var STEADYBIT_TOKEN
  ```
* **Any other client** — point it at `https://platform.steadybit.com/mcp` and configure an `Authorization: Bearer <your-access-token>` header.

## Several tenants

* **Sign-in:** if you belong to more than one tenant, connect to the one you want with `https://platform.steadybit.com/mcp/<tenant>`, replacing `<tenant>` with your tenant key. On the plain `/mcp` the connection can't tell which tenant you mean: it connects, but offers only a setup tool that lists your tenant keys, and the assistant passes that on when you ask it anything.
* **Plugins:** their URL can't be changed. Add the [MCP server with sign-in](#mcp-server-with-sign-in) with your tenant's URL instead (in Claude a custom connector, in ChatGPT a custom MCP server).
* **Codex** signs in on the plain `/mcp` only. To connect it to one of several tenants, use an [access token](#mcp-server-with-an-access-token).
* **Access tokens** belong to one tenant, so they always use the plain `/mcp`.
