
Testrail Mcp Server
Read and write access to TestRail projects: test cases, suites, runs, results, and attachments.
- GitHub stars
- 46
- tools
- 35
- auth
- Secret needed
- transport
- STDIO
- env vars
- 12
- last updated
- Oct 26, 2026
What it does
- Reads data with
query_project,get_case,get_cases,get_tests, andget_results, covering projects, suites, sections, and users - Writes changes with
add_case,update_cases,add_results,add_attachment, andmutate_run; deletion goes throughdelete_entity, which is off by default - Requires a TestRail API key and username, runs locally over stdio via npx, and the API must be enabled on the instance
- Designed for QA engineers drafting cases, starting runs, and recording results from an AI assistant
Tools
35 toolsPublic tool metadata for what this MCP can expose to an agent.
query_projectBrowse projects, test suites, and sections to automatically map your QA organization.
Browse projects, test suites, and sections to automatically map your QA organization.
No parameter schema in public metadata yet.
query_suite
No parameter schema in public metadata yet.
mutate_suite
No parameter schema in public metadata yet.
query_section
No parameter schema in public metadata yet.
mutate_section
No parameter schema in public metadata yet.
get_users
No parameter schema in public metadata yet.
get_case
No parameter schema in public metadata yet.
get_cases
No parameter schema in public metadata yet.
add_case
No parameter schema in public metadata yet.
update_case
No parameter schema in public metadata yet.
update_cases
No parameter schema in public metadata yet.
get_case_fields
No parameter schema in public metadata yet.
resolve_case_field
No parameter schema in public metadata yet.
get_case_history
No parameter schema in public metadata yet.
export_cases_for_rag
No parameter schema in public metadata yet.
query_run
No parameter schema in public metadata yet.
mutate_run
No parameter schema in public metadata yet.
query_test
No parameter schema in public metadata yet.
get_tests
No parameter schema in public metadata yet.
get_results
No parameter schema in public metadata yet.
add_results
No parameter schema in public metadata yet.
add_results_for_cases
No parameter schema in public metadata yet.
add_attachment
No parameter schema in public metadata yet.
query_attachment
No parameter schema in public metadata yet.
get_shared_step
No parameter schema in public metadata yet.
get_shared_steps
No parameter schema in public metadata yet.
get_shared_step_history
No parameter schema in public metadata yet.
add_shared_step
No parameter schema in public metadata yet.
update_shared_step
No parameter schema in public metadata yet.
get_statuses
No parameter schema in public metadata yet.
get_priorities
No parameter schema in public metadata yet.
get_templates
No parameter schema in public metadata yet.
get_labels
No parameter schema in public metadata yet.
get_configurations
No parameter schema in public metadata yet.
delete_entity
No parameter schema in public metadata yet.
Configuration
TESTRAIL_INSTANCE_URL*Base URL of your TestRail instance (e.g. https://example.testrail.io)
TESTRAIL_USERNAME*Email address used to authenticate with TestRail
TESTRAIL_API_KEY*secretAPI key for authenticating with the TestRail API
TESTRAIL_ENABLE_SHARED_STEPSEnable shared steps management
TESTRAIL_ENABLE_CASE_HISTORYEnable test case history management
TESTRAIL_ENABLE_RAG_TOOLSEnable Knowledge Base and RAG export tools
TESTRAIL_ALLOW_WRITE_OPERATIONSAllow write operations on TestRail (defaults to true)
TESTRAIL_ALLOW_READ_OPERATIONSAllow read operations on TestRail (defaults to true)
TESTRAIL_ALLOW_DELETE_OPERATIONSAllow delete operations on TestRail (defaults to false)
TESTRAIL_ENABLE_DEPRECATED_TOOLSEnable deprecated tools for backward compatibility (defaults to true)
TESTRAIL_DISABLED_TOOLSComma-separated list of tool names to disable
TESTRAIL_REQUEST_TIMEOUT_MSTimeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)
Readme
🚀 TestRail MCP Server
Connect Claude, Cursor, Windsurf, and VS Code to TestRail — an open-source Model Context Protocol (MCP) server for AI-assisted test management.
Manage TestRail projects, search and create test cases, kick off test runs, record results, and attach files through natural-language conversation with your AI assistant — or from CI/CD with the bundled testrail-cli. Built for QA engineers and AI-assisted test automation.
Details
- Repository
- github.com/uarlouski/testrail-mcp-server
- Category
- Testing & QA
- Package
@uarlouski/testrail-mcp-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active
Similar to Testrail Mcp Server
More Testing & QA
testrailSkillalirezarezvani/claude-skills1.6K installsBidirectional sync of Playwright tests with TestRail for importing cases, pushing results, and tracking coverage.
Buildkite Mcp ServerMCP serverbuildkite56 starsRead-only and triggering access to Buildkite pipelines, builds, jobs, logs, and test data for AI tools.
Qase Test ManagementMCP serverqase-tms37 starsQase test cases, runs, defects, and suites via 40 task-oriented tools and direct REST access.
GitLab MCP ServerMCP serverzereight2.1K starsRead and write access to GitLab projects, merge requests, issues, pipelines, and branches.
Redmine Mcp ServerMCP serverjztan92 starsConnects AI assistants to Redmine projects, issues, wiki pages, news, and time tracking.
caselySkilljohnwayneeee/casely-qa-skill921 installsVirtual QA lead that turns requirements into TestRail-importable test cases and Postman API collections.