New advertisers: 50% off your first month with code FIRSTMONTHSee slots
uarlouski avatar

Testrail Mcp Server

uarlouski/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
View on GitHub

What it does

  • Reads data with query_project, get_case, get_cases, get_tests, and get_results, covering projects, suites, sections, and users
  • Writes changes with add_case, update_cases, add_results, add_attachment, and mutate_run; deletion goes through delete_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 tools

Public 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*secret

API key for authenticating with the TestRail API

TESTRAIL_ENABLE_SHARED_STEPS

Enable shared steps management

TESTRAIL_ENABLE_CASE_HISTORY

Enable test case history management

TESTRAIL_ENABLE_RAG_TOOLS

Enable Knowledge Base and RAG export tools

TESTRAIL_ALLOW_WRITE_OPERATIONS

Allow write operations on TestRail (defaults to true)

TESTRAIL_ALLOW_READ_OPERATIONS

Allow read operations on TestRail (defaults to true)

TESTRAIL_ALLOW_DELETE_OPERATIONS

Allow delete operations on TestRail (defaults to false)

TESTRAIL_ENABLE_DEPRECATED_TOOLS

Enable deprecated tools for backward compatibility (defaults to true)

TESTRAIL_DISABLED_TOOLS

Comma-separated list of tool names to disable

TESTRAIL_REQUEST_TIMEOUT_MS

Timeout 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.


View the full README on GitHub

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