ContactSign inSign up
Contact

Chromatic for agents Beta

Chromatic for agents lets your coding agent read every Chromatic build and act on what it finds. It fixes broken stories and accessibility violations in your code, points out the visual changes that need a person to review, and tells you whether your branch is ready to merge.

It has four parts:

  • Chromatic MCP server connects your coding agent to your Chromatic account.
  • Skills teach your agent workflows such as fixing accessibility violations or reviewing visual changes.
  • Plugins for Claude Code, Codex, and Cursor bundle the server and skills into a single package.
  • Chromatic API enables you to build custom agent workflows and pull data into internal dashboards.

Your coding agent, such as Claude Code or Codex, uses the Chromatic plugin's skills and MCP server, which call the Chromatic API to read builds, tests, and accessibility results

Get started

The plugin is the recommended starting point: it configures the MCP server, installs skills, and (for Claude Code) sets up hooks that check your build after each push.

1. Install the Chromatic plugin for your agent

claude plugin marketplace add chromaui/chromatic-plugins
claude plugin install chromatic@chromatic

Then start a session, run /mcp, choose chromatic, and approve the request in your browser. In the Claude Code desktop app, send any first message, such as “hi”, before you run /mcp.

claude mcp list should show plugin:chromatic:chromatic.

2. Verify the connection

Ask your agent: “What time is it on the Chromatic server?” If it answers with a time, you are connected and logged in.

Claude Code answering "What time is it on the Chromatic server?" with the server time after calling Chromatic

3. Connect your project

Your agent needs to know which Chromatic project your repository belongs to. It reads the projectId from chromatic.config.json at the root of your repository. Ask your agent to connect your Chromatic project, and the connect-project skill finds the project from your Git remote and writes the file for you.

The project ID is not your project token, and your agent never asks for the token. See Chromatic MCP » Project ID for more info.

4. Try out a workflow

Here are a few sample prompts you can ask your agent:

“What’s the latest Chromatic build on this branch?”
Your agent reports the build’s status, how many tests changed or broke, what to do next, and a link to the build.

“Fix the accessibility violations Chromatic found in this build.”
It lists the stories whose violations got worse, fixes them in your component source, and checks the fix on the next build.

“Which visual changes on this build look unintended?”
It compares each changed snapshot with your code change, and sorts the changes into the ones your code explains and the ones worth a closer look.

“Find our unstable tests and fix them.”
It finds quarantined and unstable stories, fixes what makes them render differently between runs, and checks the next build.

Skills at work: a build's visual changes summarized by cause, unstable tests fixed and unquarantined, and accessibility violations fixed and confirmed by a new build

Next steps


Frequently asked questions

How do I update the plugin?

Refresh the marketplace, update the plugin, then restart your session.

claude plugin marketplace update chromatic
claude plugin update chromatic@chromatic

To check your version in Claude Code, run claude plugin list and look for chromatic@chromatic.

How do I remove the plugin?
claude plugin uninstall chromatic@chromatic
claude plugin marketplace remove chromatic
Why does Chromatic show up twice in my MCP list?

You have it as a connector or a server you added by hand, and as a plugin. This is harmless. To keep only the plugin’s server, run claude mcp remove chromatic or codex mcp remove chromatic, or remove the connector.