get_sections
Navigate the precise folder/section hierarchy of any test suite.
How to use it
get_sections is exposed by the Testrail MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_sections tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL TESTRAIL MCP SERVER LISTINGOther tools in Testrail MCP Server (29)
Add an attachment (screenshot, log, file, or auto-zipped directory) to a test case or test run (entitytype: "case" \
Seamlessly create a new test case equipped with robust custom field validation.
Submit test results to a test run using the specific testid.
Submits results to a run mapping directly to caseids, streamlining automation workflows.
Create a new reusable set of shared test steps.
Deletes a specified TestRail entity (supports "case", "sharedstep", or "attachment") by its ID. Requires TESTRAILALLOWDELETEOPERATIONS to be set to true in your environment.
Fetch complete, structured details of a specific test case, including custom steps and fields.
Discover custom field definitions, formats, and UI dropdown options. Supports filtering by projectid.
Query test cases with advanced filtering (priority, template, type, etc.) and pagination.
Retrieve all configuration groups and configurations for a project.
Retrieve priority levels configured within your instance structure.
Retrieve paginated results for a specific test ID.
Retrieve precise details of a specific shared test step set.
View the complete audit trail and version history of a shared step set.
List shared test steps for a project with optional reference filtering.
Systematically list all configured test statuses (Passed, Failed, Blocked, Retest, etc.).
Identify available case templates to mandate correct AI structuring.
Retrieve individual tests for a specific test run, with optional status filtering.
Retrieve active users. Handles per-project filtering and automatic fallback polling for non-admin accounts.
Create a new test run or update an existing one in TestRail.
Create a new section or update an existing section in TestRail.
Create a new test suite or update an existing one in TestRail.
Download an attachment to a local file (action: "one") or retrieve attachment metadata for a test case or test run (action: "many", supporting outputfile export).
Retrieve a single project (action: "one") or all active projects (action: "many").
Retrieve a single test run (action: "one") or all test runs for a project (action: "many", supporting filters).
Retrieve a single test suite (action: "one") or all test suites for a project (action: "many").
Modify an existing test case's steps, metadata, or titles.
Execute bulk-updates on multiple test cases simultaneously to save time.
Modify an existing shared step set (changes propagate to all linked test cases).