Skip to main content
Glama
Derrbal

TestRail MCP Server

by Derrbal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging
LOG_LEVELNoSet the log level (e.g., debug)
TESTRAIL_URLYesYour TestRail instance URL (e.g., https://your-instance.testrail.com)
TESTRAIL_API_KEYYesYour TestRail API key
TESTRAIL_USERNAMEYesYour TestRail username

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_caseC

Fetch a TestRail test case by ID.

add_caseA

Create a new TestRail test case in a specific section. IMPORTANT: Before creating a case, gather required information using get_projects, get_suites, get_sections, and get_case_fields tools to ensure proper section_id, type_id, and custom field values. Or ask the user to provide the information if not provided.

update_caseC

Update a TestRail test case by ID with new field values.

get_projectsB

List all TestRail projects.

get_projectB

Get details for a specific TestRail project by ID.

get_suitesB

Get all test suites for a specific TestRail project by ID.

get_suiteC

Get details for a specific TestRail test suite by ID.

get_casesB

Get a list of test cases for a project or specific test suite with optional filtering and pagination.

add_attachment_to_caseC

Upload a file attachment to a TestRail test case.

get_sectionsC

Get a list of sections for a project and test suite with optional pagination.

get_runsA

Get a list of test runs for a project with optional filtering and pagination. Only returns test runs that are not part of a test plan.

get_runB

Returns an existing test run. Please see get tests for the list of included tests in this run.

update_runC

Updates an existing test run. Partial updates are supported.

get_testsC

Returns a list of tests for a test run.

get_testC

Returns an existing test.

update_testC

Updates the labels assigned to an existing test.

add_resultC

Adds a new test result, comment, or assigns a test.

get_case_fieldsB

Returns a list of available test case custom fields.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 18 tools

Disambiguation4/5

Most tools have distinct purposes targeting specific TestRail resources (cases, runs, tests, projects, suites, sections, fields), but there is some overlap between get_case/get_cases and get_test/get_tests that could cause confusion if an agent misinterprets singular vs. plural usage. The descriptions help clarify, but the naming similarity creates minor ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, using clear action verbs like get, add, and update paired with specific nouns (e.g., get_case, add_attachment_to_case, update_run). This uniformity makes the tool set predictable and easy to navigate.

Tool Count4/5

With 18 tools, the count is slightly high but reasonable for a comprehensive TestRail API coverage, including CRUD operations for cases, runs, tests, and supporting resources like projects and suites. It feels slightly heavy but well-scoped to the domain without being excessive.

Completeness5/5

The tool set provides complete CRUD/lifecycle coverage for TestRail's core domain, including projects, suites, sections, cases, runs, tests, and attachments. It supports creation (add_case), retrieval (get_* tools), updates (update_* tools), and result management (add_result), with no obvious gaps for essential workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues