> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# AI Assistants (MCP)

Get Snappy runs an [MCP](https://modelcontextprotocol.io) server, so AI coding assistants such as Claude can look at your visual regression results directly. Instead of pasting screenshots into a chat, you can ask your assistant to find the build for the code you're working on, see which screenshots changed, and look at exactly what changed in each one.

This is useful when you're making changes that ripple across the UI, such as a CSS framework upgrade or a design system change. The assistant can check every changed screenshot, work out what went wrong, and fix the code.

Access is **read-only**. An assistant can look at builds and images but can't approve, reject or change anything. To check a fix, push it and let CI run a new build.

It's available on every plan, and any member of an organisation can connect.

## Server address

```
https://get-snappy.com/mcp
```

You sign in through your browser with your usual Get Snappy (GitHub) login. There are no API keys to create or copy.

## Connecting

### Claude Code

Add the server:

```bash
claude mcp add --transport http snappy https://get-snappy.com/mcp
```

Then, inside Claude Code, run `/mcp`, choose **snappy** and select **Authenticate**. Your browser opens the Get Snappy authorization page.

### Claude (claude.ai and the desktop app)

1. Open **Settings → Connectors** and choose **Add custom connector**.
2. Enter `https://get-snappy.com/mcp` as the URL and save.
3. Select **Connect** on the new connector. Your browser opens the Get Snappy authorization page.

On Team and Enterprise plans, an owner may need to add the connector for your organisation first.

### Other assistants

Any MCP client that supports remote servers over Streamable HTTP with OAuth can connect, as long as it identifies itself with a client ID metadata document. Point it at `https://get-snappy.com/mcp` and it will find the sign-in details automatically.

## Approving access

When you connect, Get Snappy shows which app is asking for access. Check the name and web address are what you expect, then:

1. Choose which of your organisations the assistant can see. If you belong to only one, it's already selected.
2. Select **Approve**.

![The Get Snappy authorization page asking to approve Claude Code, with one organisation selected](/guide-images/mcp/consent-light.png)
![The Get Snappy authorization page asking to approve Claude Code, with one organisation selected](/guide-images/mcp/consent-dark.png)
The assistant can only see projects in the organisations you chose. If you later leave an organisation, the assistant loses access to it straight away.

## What the assistant can do

| Tool             | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `list_projects`  | Lists the projects you've given it access to.                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `find_builds`    | Finds builds, newest first. Filter by project, git commit (a short SHA is fine) or branch. Shows each build's status and how many screenshots matched, changed, are new or are missing. If nothing matches a commit yet, it says so (usually CI hasn't reached the snapshot step) and shows the latest builds for the branch or project instead.                                                                                                                             |
| `get_build`      | Lists the screenshots in a build that need attention, worst first, with their similarity score. It also groups screenshots that probably share a cause (same browser, size and similar score), so one shared change, such as a new header, can be checked once rather than on every page.                                                                                                                                                                                    |
| `get_comparison` | Shows what changed in one screenshot. By default it returns before and after crops of just the changed areas (up to six), which is the clearest way to spot small changes in spacing, borders, colour or text. Very small areas are shown enlarged, and each area's label says how many pixels changed and flags colour changes too faint to see. If most of the page changed, or you ask for the full view, it returns the whole baseline, current and diff images instead. |
| `ping`           | Checks the connection and shows who you're signed in as.                                                                                                                                                                                                                                                                                                                                                                                                                     |

You don't need to call these yourself. Ask in plain language and the assistant picks the tools.

## Example prompts

- "Find the Get Snappy build for my current commit and tell me which screenshots changed."
- "I've upgraded to Tailwind 4. Look at the visual differences on this branch and fix anything that isn't intentional."
- "Why does the settings page look different in the latest build on `main`?"
- "Show me the full before and after images for the checkout screenshot."

A typical session: you push a branch, CI runs a build, and you ask the assistant to review it. The assistant finds the build for your commit, goes through the changed screenshots, compares the before and after images, and suggests or makes code fixes. You push again, and CI checks the result.

## Managing connected apps

Open the account menu in Get Snappy and choose **Connected apps** to see every assistant you've connected, which organisations each can see, and when it was last used. Select **Revoke** to disconnect one immediately.

![The Connected apps page listing Claude Code with its organisations, when it was connected and last used, and a Revoke button](/guide-images/mcp/connected-apps-light.png)
![The Connected apps page listing Claude Code with its organisations, when it was connected and last used, and a Revoke button](/guide-images/mcp/connected-apps-dark.png)
Once connected, an assistant stays signed in while you keep using it. If you don't use it for 30 days, you'll need to connect again.

## Good to know

- **Image retention:** screenshots are kept for two weeks. Older comparisons still show their details, but the images will be reported as no longer available.
- **Image sizes:** full images are scaled down to at most 1568 pixels on the longest side, and very large responses include fewer images, with a note saying what was left out. Ask for a single screenshot at a time if you need more detail.
- **Usage limits:** requests are rate limited. Normal assistant use won't come near the limits. If an assistant is making requests very quickly, it may be told to wait briefly.

## Troubleshooting

**The assistant says it isn't authorised.** Your sign-in may have expired or been revoked. Reconnect: in Claude Code run `/mcp` and authenticate again. In Claude, select **Connect** on the connector.

**A project or build is missing.** Check the organisation it belongs to was selected when you approved access. To change the organisations, revoke the app under **Connected apps** and connect again.

**The authorization page shows an error.** The app's sign-in request couldn't be verified. Check you entered the server address exactly, and if it keeps happening, [contact support](/support/index.md).
