testrail-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TESTRAIL_URL | Yes | The URL of your TestRail instance, for example https://yourinstance.testrail.io | |
| TESTRAIL_EMAIL | Yes | The email address associated with your TestRail account | |
| TESTRAIL_API_KEY | Yes | Your TestRail API key |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_projectsC | List all TestRail projects |
| get_projectB | Get a specific TestRail project |
| add_projectC | Create a new TestRail project |
| update_projectC | Update an existing TestRail project |
| delete_projectA | Delete a TestRail project (irreversible) |
| get_suitesC | List test suites for a project |
| get_suiteC | Get a specific test suite |
| add_suiteC | Create a new test suite |
| update_suiteC | Update a test suite |
| delete_suiteB | Delete a test suite (irreversible) |
| get_sectionsA | List sections in a project (optionally filtered by suite) |
| get_sectionC | Get a specific section |
| add_sectionC | Create a new section |
| update_sectionD | Update a section |
| delete_sectionB | Delete a section (irreversible) |
| get_casesC | List test cases for a project with optional filters |
| get_caseB | Get a specific test case |
| add_caseC | Create a new test case in a section |
| update_caseC | Update a test case |
| delete_caseB | Delete a test case (irreversible) |
| get_runsC | List test runs for a project |
| get_runC | Get a specific test run |
| add_runC | Create a new test run |
| update_runD | Update a test run |
| close_runB | Close a test run (no further changes allowed after closing) |
| delete_runB | Delete a test run (irreversible) |
| get_testsC | List tests in a run |
| get_testC | Get a specific test |
| get_resultsC | Get results for a specific test |
| get_results_for_caseC | Get results for a specific test case in a run |
| get_results_for_runC | Get all results for a test run |
| add_resultD | Add a test result to a test |
| add_result_for_caseC | Add a test result for a case in a run |
| add_results_for_casesC | Add multiple test results for cases in a run (bulk) |
| get_milestonesC | List milestones for a project |
| get_milestoneC | Get a specific milestone |
| add_milestoneC | Create a new milestone |
| update_milestoneD | Update a milestone |
| delete_milestoneB | Delete a milestone (irreversible) |
| get_plansC | List test plans for a project |
| get_planA | Get a specific test plan (includes plan entries and runs) |
| add_planC | Create a new test plan |
| add_plan_entryC | Add a new entry (suite configuration) to a test plan |
| update_planD | Update a test plan |
| close_planB | Close a test plan (no further changes allowed after closing) |
| delete_planB | Delete a test plan (irreversible) |
| get_usersB | List all users (admins) or users for a project (non-admins) |
| get_userC | Get a specific user |
| get_user_by_emailB | Look up a user by email address |
| get_statusesB | Get available test statuses (passed, failed, etc.) |
| get_case_fieldsB | Get available case fields (system and custom) |
| get_case_typesC | Get available case types |
| get_prioritiesC | Get available priority levels |
| get_result_fieldsC | Get available result fields |
| get_templatesB | Get available case templates for a project |
| get_configsC | Get test configurations for a project |
| get_case_historyC | Get the change history for a test case |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 57 tools
Most tools target distinct resource/action pairs, and the naming makes the primary entities clear. The main overlap is among result-related tools (get_results, get_results_for_case, get_results_for_run, add_result, add_result_for_case, add_results_for_cases), which require careful reading to select correctly.
The tool set follows a highly predictable verb_noun pattern: get_/add_/update_/delete_ plus resource, with plural forms for list operations. Close_run and close_plan are appropriate domain-specific lifecycle verbs rather than inconsistencies.
At 57 tools, the surface is very large for an agent-facing MCP server and exceeds the typical practical range. While TestRail is a broad domain, many tools could be consolidated or grouped behind fewer parameterized operations.
Coverage is strong across projects, suites, sections, cases, runs, results, milestones, plans, users, and metadata fields. Minor lifecycle gaps remain, such as updating/deleting individual plan entries and broader attachment/history operations.