Using an MCP Server to Fix Tests that Failed on CI

CI/CD
Aug 8, 2025
Dan Manges
Using an MCP Server to Fix Tests that Failed on CI

We just shipped an MCP Server via the RWX CLI. Upgrade to at least version 1.11, and it'll be available via rwx mcp serve.

/bin/bash
$ brew upgrade rwx-cloud/tap/rwx
$ rwx --version
rwx version v1.11.0

MCP Tool to Get Test Failures

With RWX, test results are a semantic output. Rather than having to scroll through logs, you can easily see which tests failed in the UI. And now, AI can easily see which tests failed via an MCP tool.

Claude, fix the tests that failed in this CI run

Add RWX to Claude's MCP configuration:

/bin/bash
$ claude mcp add rwx -- rwx mcp serve

You can then see it in the list of servers:

/bin/bash
$ claude mcp list
Checking MCP server health...
rwx: rwx mcp serve - ✓ Connected

Here's a snippet from a Claude session that gets a list of tests that failed and fixes them.

claude
> fix the test failures from this run:
https://cloud.rwx.com/mint/rwx/runs/df4781e384584db98c3274a84f2bcfc2
⏺ I'll help you fix the test failures from that RWX run. Let me first
get the details of the failed tests.
⏺ rwx - get_run_test_failures (MCP)(run_urls:
["https://cloud.rwx.com/mint/rwx/runs
/df4781e384584db98c3274a84f2bcfc2"])
⎿  Failed tests:
- src/calculator.test.ts
… +2 lines (ctrl+r to expand)
⏺ Now let me examine the test file and the implementation to understand
what's failing.

Demo

Never miss an update

Get the latest releases and news about RWX and our ecosystem with our newsletter.

Share this post

Enjoyed this post? Pleas share it on your favorite social network!

Related posts

Read more on updates and advice from the RWX engineering team

See all posts
tmpfs for Super Fast Writes
CI/CD

tmpfs for Super Fast Writes

To accelerate performance in high iops scenarios like an npm install, we built support for running tasks using tmpfs.

Aug 6, 2025
Read now
RWX July 2025 Recap: ARM runners, VS Code Extension, and more
CI/CD

RWX July 2025 Recap: ARM runners, VS Code Extension, and more

In July we released ARM runners, a VS Code Extension, and an option to start runs manually. Stay tuned for progress on a new way to build container images.

Aug 4, 2025
Read now
The GitHub Actions Base Image is a Whopping 47 GiB
CI/CD

The GitHub Actions Base Image is a Whopping 47 GiB

The decision to bundle a plethora of tools into the GitHub Actions base image is baffling. The base image is a whopping 47 GiB.

Jul 25, 2025
Read now