freshcrate
Skin:/
Home > MCP Servers > mcp-testrail

mcp-testrail

Testrail MCP Server

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

Testrail MCP Server

README

TestRail MCP Server

This Model Context Protocol (MCP) server provides tools for interacting with TestRail directly from Claude AI and other MCP-supported clients like Cursor. It allows you to manage test cases, projects, suites, runs, and more without leaving your conversation with the AI.

Available Tools

The TestRail MCP server provides the following tools:

Category Tools
Projects getProjects, getProject
Suites getSuites, getSuite, addSuite, updateSuite
Cases getCase, getCases, addCase, updateCase, deleteCase, getCaseTypes, getCaseFields, copyToSection, moveToSection, getCaseHistory, updateCases, addBdd, getBdd
Sections getSection, getSections, addSection, moveSection, updateSection, deleteSection
Runs getRuns, getRun, addRun, updateRun
Tests getTests, getTest
Results getResults, getResultsForCase, getResultsForRun, addResultForCase, addResultsForCases
Plans getPlans
Milestones getMilestones
Shared Steps getSharedSteps

Usage

You can connect this MCP server by setting like the below. This method uses npx to automatically download and run the latest version of the package, eliminating the need for local installation.

// Example configuration using npx
{
  "mcpServers": {
    "testrail": {
      "command": "npx",
      "args": ["@bun913/mcp-testrail@latest"],
      "env": {
        "TESTRAIL_URL": "https://your-instance.testrail.io", // Replace with your TestRail URL
        "TESTRAIL_USERNAME": "your-email@example.com", // Replace with your TestRail username
        "TESTRAIL_API_KEY": "YOUR_API_KEY" // Replace with your TestRail API key
      }
    }
  }
}

Troubleshooting

  • spawn node ENOENT errors: Ensure that Node.js is properly installed and in your PATH.

  • Authentication issues: Check your TestRail API credentials.

  • Your conversation is too long: Use limit and offset parameters for test cases and sections to paginate results.

  • HTTP 400 errors when creating/updating test cases: TestRail projects have different templates, custom fields, and required fields. This MCP server passes your parameters directly to the TestRail API — it does not validate or transform them. If you encounter 400 errors, define your project's rules in CLAUDE.md or AGENTS.md so the LLM sends the correct parameters. For example:

    # TestRail Rules for This Project
    - Project ID: 1
    - Always use template 2 (Separated Steps) when creating test cases
      - Use `customStepsSeparated` (array of step objects)
      - Do NOT send `customSteps` or `customExpected` with template 2
    - Required custom fields: custom_automation_type (default: 0)
    - Call `getCaseFields` at the start of a session to check available fields

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

Release History

VersionChangesUrgencyDate
v0.19.8## What's Changed * fix: remove console.log from section API methods by @sitiom in https://github.com/bun913/mcp-testrail/pull/130 * chore(deps): bump postcss from 8.5.3 to 8.5.14 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/128 * Update package version to 0.19.7 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/127 ## New Contributors * @sitiom made their first contribution in https://github.com/bun913/mcp-testrail/pull/130 **Full Changelog**: https:High5/19/2026
v0.19.7## What's Changed * Update package version to 0.19.6 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/125 * chore(deps): bump fast-uri from 3.1.0 to 3.1.2 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/126 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.19.6...v0.19.7High5/9/2026
v0.19.5## What's Changed * Update package version to 0.19.4 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/116 * fix: audit fix by @bun913 in https://github.com/bun913/mcp-testrail/pull/119 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.19.4...v0.19.5High4/18/2026
v0.19.4## What's Changed * chore(deps): bump hono from 4.12.7 to 4.12.12 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/113 * chore(deps): bump @hono/node-server from 1.19.11 to 1.19.13 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/112 * chore(deps): bump vite from 6.4.1 to 6.4.2 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/111 * Update package version to 0.19.3 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/110 * fiHigh4/11/2026
v0.19.3## What's Changed * Update package version to 0.19.2 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/107 * feat: add takumi guard by @bun913 in https://github.com/bun913/mcp-testrail/pull/108 * chore: fix release by @bun913 in https://github.com/bun913/mcp-testrail/pull/109 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.19.2...v0.19.3Medium4/2/2026
v0.19.2## What's Changed * Update package version to 0.19.1 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/98 * chore: add issue tempaltes by @bun913 in https://github.com/bun913/mcp-testrail/pull/101 * chore: add trouble shooting by @bun913 in https://github.com/bun913/mcp-testrail/pull/104 * chore(deps): bump path-to-regexp from 8.2.0 to 8.4.0 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/106 * chore(deps): bump picomatch from 4.0.2 to 4.0.4 by @dependabotMedium3/28/2026
v0.19.1## What's Changed * Update package version to 0.19.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/96 * refactor: delete dependencies by @bun913 in https://github.com/bun913/mcp-testrail/pull/97 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.19.0...v0.19.1Low3/18/2026
v0.19.0## What's Changed * Update package version to 0.18.2 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/94 * feat(sections): add auto-pagination to getSections by @andriitvardovskyi in https://github.com/bun913/mcp-testrail/pull/95 ## New Contributors * @andriitvardovskyi made their first contribution in https://github.com/bun913/mcp-testrail/pull/95 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.18.2...v0.19.0Low3/18/2026
v0.18.2## What's Changed * chore: fix setup by @bun913 in https://github.com/bun913/mcp-testrail/pull/90 * Update package version to 0.18.1 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/91 * chore(deps): bump undici from 7.19.1 to 7.24.1 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/92 * chore(deps): bump file-type from 21.3.1 to 21.3.2 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/93 **Full Changelog**: https://github.com/bun913/mcp-Low3/14/2026
v0.18.1## What's Changed * Update package version to 0.18.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/87 * chore(deps): bump file-type and fastmcp by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/89 * chore(deps): bump hono from 4.12.5 to 4.12.7 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/88 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.18.0...v0.18.1Low3/11/2026
v0.18.0## What's Changed * chore(deps): bump ajv by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/75 * feat: add e2e test by @bun913 in https://github.com/bun913/mcp-testrail/pull/80 * fix: image of CI by @bun913 in https://github.com/bun913/mcp-testrail/pull/82 * chore: fix api by @bun913 in https://github.com/bun913/mcp-testrail/pull/83 * chore: fix e2e by @bun913 in https://github.com/bun913/mcp-testrail/pull/84 * fix/e2e by @bun913 in https://github.com/bun913/mcp-testrail/pull/85Low3/7/2026
v0.17.2## What's Changed * Update package version to 0.17.1 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/63 * fix: use trusted provider by @bun913 in https://github.com/bun913/mcp-testrail/pull/64 * feat: fix velnerability by @bun913 in https://github.com/bun913/mcp-testrail/pull/68 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.17.1...v0.17.2Low1/25/2026
v0.17.1## What's Changed * Update package version to 0.17.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/57 * chore(deps): bump body-parser from 2.2.0 to 2.2.1 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/60 * chore(deps): bump @modelcontextprotocol/sdk from 1.20.2 to 1.24.0 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pull/62 * chore(deps): bump express from 5.1.0 to 5.2.1 by @dependabot[bot] in https://github.com/bun913/mcp-testrail/pulLow12/4/2025
v0.17.0## What's Changed * Update package version to 0.16.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/54 * 55: Add plan and plan entry tools by @bun913 in https://github.com/bun913/mcp-testrail/pull/56 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.16.0...v0.17.0Low11/6/2025
v0.16.0## What's Changed * Update package version to 0.15.1 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/53 * Extend get cases filters by @Sairef in https://github.com/bun913/mcp-testrail/pull/51 ## New Contributors * @Sairef made their first contribution in https://github.com/bun913/mcp-testrail/pull/51 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.15.1...v0.16.0Low11/1/2025
v0.15.1## What's Changed * Update package version to 0.15.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/49 * Allow additional fields for custom steps by @bun913 in https://github.com/bun913/mcp-testrail/pull/52 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.15.0...v0.15.1Low11/1/2025
v0.15.0## What's Changed * Update package version to 0.14.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/46 * fix/47 multiple select by @bun913 in https://github.com/bun913/mcp-testrail/pull/48 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.14.0...v0.15.0Low10/29/2025
v0.14.0## What's Changed * Update package version to 0.13.0 by @github-actions[bot] in https://github.com/bun913/mcp-testrail/pull/42 * Support for adding test cases with required custom fields by @bun913 in https://github.com/bun913/mcp-testrail/pull/45 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.13.0...v0.14.0Low10/24/2025
v0.13.0## What's Changed * Update package version to 0.12.1 by @github-actions in https://github.com/bun913/mcp-testrail/pull/39 * Add support for templateId and customStepsSeparated in test case operations by @bun913 in https://github.com/bun913/mcp-testrail/pull/41 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.12.1...v0.13.0Low7/2/2025
v0.12.1## What's Changed * Update package version to 0.12.0 by @github-actions in https://github.com/bun913/mcp-testrail/pull/34 * Fix createSteps bug and improve MCP tool descriptions by @bun913 in https://github.com/bun913/mcp-testrail/pull/37 * chore: Security vulnerability fixes by @bun913 in https://github.com/bun913/mcp-testrail/pull/38 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.12.0...v0.12.1Low6/22/2025
v0.12.0## What's Changed * Update package version to 0.11.14 by @github-actions in https://github.com/bun913/mcp-testrail/pull/32 * chore: update readme by @bun913 in https://github.com/bun913/mcp-testrail/pull/33 ## New Contributors * @github-actions made their first contribution in https://github.com/bun913/mcp-testrail/pull/32 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.14...v0.12.0Low4/22/2025
v0.11.14## What's Changed * chore: remove create branch by @bun913 in https://github.com/bun913/mcp-testrail/pull/31 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.13...v0.11.14Low4/22/2025
v0.11.8## What's Changed * chore: fix shbang by @bun913 in https://github.com/bun913/mcp-testrail/pull/26 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.7...v0.11.8Low4/22/2025
v0.11.7## What's Changed * chore: add shabang by @bun913 in https://github.com/bun913/mcp-testrail/pull/24 * fix: bin command by @bun913 in https://github.com/bun913/mcp-testrail/pull/25 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.6...v0.11.7Low4/22/2025
v0.11.6**Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.5...v0.11.6Low4/22/2025
v0.11.5## What's Changed * chore: add public config by @bun913 in https://github.com/bun913/mcp-testrail/pull/20 * chore: update version by @bun913 in https://github.com/bun913/mcp-testrail/pull/21 * chore: update package json by @bun913 in https://github.com/bun913/mcp-testrail/pull/22 * chore: add package.json by @bun913 in https://github.com/bun913/mcp-testrail/pull/23 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.4...v0.11.5Low4/22/2025
v0.11.4## What's Changed * chore: fix package name by @bun913 in https://github.com/bun913/mcp-testrail/pull/19 **Full Changelog**: https://github.com/bun913/mcp-testrail/compare/v0.11.2...v0.11.4Low4/22/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

kibiRepo-local, per-git-branch, queryable knowledge base for LLM Agents.kibi-mcp@0.16.1
Awesome-Agent-Skills🧭 Discover and navigate AI Agent Skills with Awesome-Agent-Skills, your go-to resource for Claude, OpenAI, and MCP Servers.main@2026-06-07
justoneapi-mcpProduction-ready MCP server exposing JustOneAPI endpoints to AI agents with raw JSON responses.main@2026-06-06
metorial-platformThe engine powering hundreds of thousands of MCP connections 🤖 đŸ”Ĩdev@2026-06-06
claude-code-proxyMonitor and visualize your Claude Code API interactions with Claude Code Proxy. Easily set up a transparent proxy and live dashboard. đŸ› ī¸đŸš€main@2026-06-06

More in MCP Servers

PlanExeCreate a plan from a description in minutes
agentroveYour own Claude Code UI, sandbox, in-browser VS Code, terminal, multi-provider support (Anthropic, OpenAI, GitHub Copilot, OpenRouter), custom skills, and MCP servers.
ProxmoxMCP-PlusEnhanced Proxmox MCP server with advanced virtualization management and full OpenAPI integration.
node9-proxyThe Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.