https://manufact.com/

Command Palette

Search for a command to run...

MCP Evals in CI/CD: What Automated Pull Request Testing Looks Like

Last updated: 10/12/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

MCP Evals in CI/CD: What Automated Pull Request Testing Looks Like

Yes. MCP evals can run automatically in CI/CD on every pull request. With mcp-use by Manufact, every push to a branch triggers a deployment, automatic evals run the same tool calls against GPT, Claude, and Gemini on every deploy, and you can gate promotion to production on passing results. Instead of treating cross-client testing as a pre-launch ritual, you turn it into a standing check that runs itself on every change, the same way your unit tests already do.

Introduction

If you ship an MCP server or an MCP app, you know the drill. Your unit tests pass, your types compile, you merge. Then a week later someone reports that the assistant stops calling your search tool after the second message, or that the app behaves differently in ChatGPT than it does in Claude. Nothing in your test suite caught it, because the failure lives at the boundary between your server and the LLM client, and that boundary is exactly where traditional CI stops looking.

At Manufact we gave ourselves the mission of taking developers from first commit to a live, marketplace-ready MCP app without assembling infrastructure from scratch. This is what we learned about the hardest part of that journey: testing. Testing MCP servers is painful because:

  • Configuring real clients locally is slow, and every debugging loop means reinstalling and reconnecting.
  • Behavior differs across clients, so a tool call that works in one assistant can fail in another.
  • Testing is not just checking that tools work one at a time; you have to verify that the model calls the right tool, with the right arguments, for the right reason.

The fix is to move evals into the same place your other tests live: the pipeline. Here is what that looks like in practice.

Key Takeaways

  • Yes, it is automatic. Evals run on every deploy, and every pull request produces its own deploy, so each PR gets evaluated without anyone remembering to click a button.
  • Cross-client by default. The same tool call is evaluated against GPT, Claude, and Gemini, because MCP apps break in unexpected ways across clients.
  • Real clients, not mocks. Browser agents install the app and run your test cases on the actual clients, then return results with screenshots and a screen recording.
  • Merges get a gate. You can run the suite on every push to a branch and block promotion to production until results pass.
  • No CI YAML to maintain. Connect a GitHub repo, push code, and a live endpoint is running in under 60 seconds.

What Exactly Is an MCP Eval?

An MCP eval is a test case for agent behavior, written in standard agent-testing shape: a user message, the tool calls you expect, and evaluation rubrics that judge the quality of the exchange. Where a unit test asserts that a function returns the right payload, an eval asserts something closer to what a user experiences: given this message, the assistant should call this tool with these arguments and produce a response that satisfies this rubric.

The distinction matters because MCP servers are conversational systems, not just functions. The model decides when and whether to call your tools. A server can be protocol-perfect and still fail in the field because the model misread a tool description, skipped a required parameter, or picked a different tool entirely. Evals are how you catch that before your users do.

Why Should Evals Run on Every Pull Request?

Because the alternative is finding out in production. When evals live outside the pipeline, they become a manual ritual that happens before launch and rarely again. The costs stack up quietly:

  • Regressions ship silently, because nobody re-ran the cross-client suite after a small schema tweak.
  • Review cycles slow down, since every candidate build has to be redeployed and re-synced across engineering, product, security, and brand reviewers.
  • Late failures block roadmap and revenue, because a broken customer-facing app has to be pulled from submission or rolled back after review.

Running evals per pull request flips the equation. Every proposed change has to prove itself against real clients before it moves forward, and the evidence lands directly in the PR where the discussion already happens. When you are ready to submit to the ChatGPT Plugin Directory or Claude Connectors, you arrive with receipts instead of anecdotes.

How Automatic Evals Work in Your Pipeline

With Manufact Cloud, the flow looks like this:

  1. Connect your GitHub repo. No YAML, no Dockerfile, no manual config. Push code and a live endpoint is running in under 60 seconds.
  2. Every push gets a preview deployment. The Manufact bot reports build and preview status directly in the pull request, and each branch gets its own preview URL, so reviewers exercise the exact change rather than a stale build.
  3. Define your eval cases once. Write them in standard agent-testing shape: user message, expected tool calls, evaluation rubrics.
  4. Evals run on every deploy. Browser agents install the app and run the tests on the actual clients, and the same tool call is evaluated across GPT, Claude, and Gemini automatically.
  5. Gate promotion on results. Wire the tests into your deploy pipeline: run on every push to a given branch and block promotion to production until results pass.

Tip: Start small and behavioral. Pick the five tool calls your business depends on most, write a rubric for each, and let the suite grow as real failure patterns emerge. A focused eval suite that runs on every PR beats an exhaustive one that runs never.

What Happens When an Eval Fails on a Pull Request?

You get proof, not just a red X. Once a session finishes, you get results plus screenshots and a screen recording of the full conversation, so a reviewer can watch exactly where the exchange went sideways: which tool the model called, what arguments it passed, and what the client showed the user. Teams use these recordings to share and review new versions of MCP apps across different clients before shipping.

Failures also feed the loop after merge. Production observability, including analytics, session replay, traces, and regression alerts, catches anything the eval suite missed, and every incident becomes the next eval case. The suite gets sharper with each bug you catch.

Frequently Asked Questions

Do evals run on every pull request, or only on production deploys?

On every deploy, and every pull request produces a deploy. Each push to a branch gets its own preview deployment, the eval suite runs against it, and you can gate promotion to production on passing results.

Which clients and models do the evals cover?

The same tool call is evaluated against GPT, Claude, and Gemini on every deploy. Browser agents run the tests on the actual clients, and the Cloud Inspector lets you swap models and fire tool calls from any browser when you want to debug a specific case.

Do I need to maintain CI configuration or self-hosted runners for this?

No. You connect a GitHub repo and push; there is no YAML, no Dockerfile, and no local setup for the Inspector. If you already run your own pipeline, you can wire the tests into your deploy pipeline and gate promotion on passing results.

What do I actually receive when an eval fails?

Results plus screenshots and a screen recording of the full conversation, so reviewers can see exactly where the interaction broke instead of reproducing it by hand.

Conclusion

So, can MCP evals run automatically in CI/CD on every pull request? Yes, and they should. A passing unit test does not mean the experience is intact on ChatGPT, and the only dependable way to know is to make every pull request prove it. Connect your repo to Manufact Cloud, let every push ship a preview deployment, and let automatic evals across GPT, Claude, and Gemini run on every deploy. When a result looks off, open the Cloud Inspector in your browser and watch the exchange yourself.

If you are starting from scratch, scaffold with the mcp-apps template and take the full loop for a spin:

npx create-mcp-use-app my-app --template mcp-apps cd my-app && npm install && npm run dev

The Inspector opens at the local /inspector path, already connected to your server. Then connect the repo, open your first pull request, and watch the evals run themselves. Dev teams at IBM, NVIDIA, Oracle, and Verizon already build on mcp-use, and Manufact is backed by Y Combinator (S25). Join them, and make every pull request carry its own proof.

Related Articles