> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Spacelift

> Check Spacelift stacks, runs and infrastructure changes from an investigation.

Connect Spacelift's [MCP server](https://docs.spacelift.io/concepts/intelligence/spacelift-mcp) as a [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents check stacks, runs and the infrastructure changes they applied, so an investigation can spot a change that went out just before things broke.

**What you'll need:**

* Your Spacelift account name, from the URL you sign in at, such as `example.app.spacelift.io`.
* A Spacelift user with access to the spaces and stacks agents should check.
* The **Manage Nexus sources** permission in incident.io.

## Connect it in incident.io

Spacelift's MCP server signs in with OAuth, so calls run with the access of the Spacelift user who connects it.

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **MCP server**.
2. Leave network access as **Public internet**, and give the connector a display name such as `Spacelift`.
3. Enter `https://<account name>.app.spacelift.io/mcp` as the server URL, and click **Check URL**. For accounts in the US region, use `https://<account name>.app.us.spacelift.io/mcp`.
4. Under **Authentication**, choose **OAuth**, click **Connect with OAuth** and sign in to Spacelift.
5. On Spacelift's consent screen, uncheck `mcp:write` to keep agents to tools that only read, and approve.
6. Review which tools are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

> [!NOTE]
>
> If Spacelift refuses the sign-in with an unsupported redirect URI, a Spacelift account admin needs to add
> `app.incident.io` under **Organization settings**, in the OAuth redirect allowlist.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Spacelift, say which spaces and stacks manage which services' infrastructure, and which runs are routine.
