With the MCP server connected and the plugin or skills installed, there are four workflows you can try first. Each one is a skill the agent runs for you.
The TestRail MCP is currently available in closed Beta. To request access, please contact TestRail Support.
Skill: Spec Implementer
Build from the cases QA already wrote
What it does The Spec Implementer reads your TestRail test cases and feeds them directly into your coding agent as structured context. The agent gets the actual acceptance criteria your QA team defined, so the code it produces is grounded in the real spec, not a guess.
When to use it
- QA has written cases for a feature you're about to build
- Right after QA marks a plan as ready for development
- When you want to skip the QA bug-filing cycle
What you get back
- First-attempt implementation aligned with QA
- Inline comments tracing each decision to a case ID
Example Claude invocation
/testrail:spec-implementer Test cases for this are in TestRail under Suite "API v2" > "Milestones".Example invocation in another agent
/testrail-spec-implementer Test cases for this are in TestRail under Suite "API v2" > "Milestones".Skill: Regression Preventer
Keep your code from breaking that works
What it does Works out what your change can actually reach, then reads the TestRail cases already guarding that surface — weighing each one by its recorded results, so a case that passes today counts for more than one that has never run. It presents a guard rail brief and waits for you to confirm it before writing anything, then implements new code, or repairs code you've already started, so those contracts survive.
When to use it
- Before or while building in an area existing cases already cover
- After a refactor touches shared code that many features depend on
- When you want the blast radius before the code, not after continuous integration
What you get back
- A guard rail brief: impact surface, protected contracts, and coverage gaps
- Code annotated with the ID of the case each decision protects
- Deliberate contract changes raised for your decision, never made silently
Example Claude invocation
/testrail:regression-preventer I'm adding bulk delete to the Projects API. What existing TestRail cases could this break?Example invocation in another agent
/testrail-regression-preventer I'm adding bulk delete to the Projects API. What existing TestRail cases could this break?Skill: Change Evaluator
Predict pass or fail before you push
What it does Reads your recent code changes and cross-references them against your TestRail cases. For each case, it predicts PASS, FAIL, or UNCERTAIN with specific reasoning tied to the exact lines of code that changed.
When to use it
- Before you push code, not after tests fail in continuous integration
- After a refactor, to catch regressions early
- When reviewing a PR for test impact
What you get back
- Risk level: Low / Medium / High
- Impact table sorted FAIL first, with reasoning per case
- Recommended actions: fix, verify, or update cases
Example Claude invocation
/testrail:change-evaluator Evaluate PR 123 against the TestRail test suite. Which cases are at risk?Example invocation in another agent
/testrail-change-evaluator Evaluate PR 123 against the TestRail test suite. Which cases are at risk?Skill: Case Importer
Bring cases you already have into TestRail
What it does The Case Importer reads test cases out of a file you already have — a spreadsheet, CSV, Markdown, XML, plaintext, feature files, or existing test code — and creates them in TestRail. It shows you every case it found first, in the source's own wording, and writes nothing until you choose which ones to import.
When to use it
- Migrating off spreadsheets, so cases live in TestRail instead of a shared drive
- When a feature's cases were drafted in a doc or a ticket and never made it into TestRail
- When automated tests exist in code but have no TestRail cases behind them
What you get back
- A numbered index of every candidate case, faithful to the source, so you can take all of them or just a range
- Sign-off on every decision — which cases, where they land, and how the fields map — with nothing written to TestRail until you confirm
- Created cases with their new TestRail case ids — and any failure named with TestRail's error, never silently skipped
Example Claude invocation
/testrail:import ./legacy-cases.xlsxExample invocation in another agent
/testrail-import ./legacy-cases.xlsx