TestRail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TESTRAIL_URL | Yes | The full URL to your TestRail instance (e.g., https://example.testrail.io) | |
| TESTRAIL_API_KEY | Yes | Your TestRail API key (not your password), generated from 'My Settings' > 'API Keys' | |
| TESTRAIL_USERNAME | Yes | Your TestRail email address used for login |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_projectB | Get a project by ID |
| get_projectsB | Get all projects |
| add_projectC | Add a new project |
| update_projectC | Update an existing project |
| delete_projectC | Delete a project |
| get_caseA | Get a test case by ID |
| get_casesC | Get all test cases for a project/suite |
| add_caseC | Add a new test case |
| update_caseC | Update an existing test case |
| delete_caseC | Delete a test case |
| get_runA | Get a test run by ID |
| get_runsC | Get all test runs for a project |
| add_runC | Add a new test run |
| update_runC | Update an existing test run |
| close_runC | Close an existing test run |
| delete_runC | Delete a test run |
| get_resultsC | Get all test results for a test |
| add_resultC | Add a new test result |
| get_datasetC | Get a dataset by ID |
| get_datasetsC | Get all datasets for a project |
| add_datasetC | Add a new dataset |
| update_datasetC | Update an existing dataset |
| delete_datasetC | Delete a dataset |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sker65/testrail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server