# v0

> Add Stableship to v0 as a custom MCP server, so it can fix what Stableship finds.

v0 connects to the Stableship MCP server, so it can read what Stableship found, fix it and ask Stableship to verify the fix.

> **Note** We have not yet tested v0 with Stableship end to end. It connects over MCP with the steps below, taken from v0's own docs. If a step does not match what you see, tell us at support@stableship.ai.

## Connect

1. In v0: + in the prompt box, MCPs, custom MCP server.

2. URL:

   ```
   https://api.stableship.ai/mcp
   ```

3. Choose OAuth and approve.

Approving opens app.stableship.ai: sign in, pick the workspace and approve. No token to copy. You can disconnect it any time in Stableship: **Settings**, then **Connections**, then **Connected apps**.

## Use a token instead

First make a token: in Stableship open **Settings**, then **Connections**, open **API tokens and connected apps**, and choose **Create token** with **Read findings and rules** and **Start checks and verify fixes**. Copy it: it starts with `sst_` and is shown once. Use it where these steps say `sst_your_token`.

Choose Bearer Token and paste this token:

```
sst_your_token
```

Keep the token out of your repository.

## Check it works

Back in v0, the server shows connected. Then ask v0 to list your Stableship projects: it calls `list_projects` and names your app.

If it does not connect:

- In MCPs, open Stableship and connect again.
- Or [use a token instead](#use-a-token-instead).

## Hand over the fix plan

On a release, choose **Send to my agent**. With the server connected, v0 can read the fix plan itself; otherwise paste the private link it gives you into v0's chat.
