TestRail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TESTRAIL_URL | Yes | Your TestRail instance URL (e.g., https://example.testrail.io) | |
| TESTRAIL_API_KEY | No | TestRail API key (recommended) | |
| TESTRAIL_PASSWORD | No | TestRail password (alternative to API key) | |
| TESTRAIL_USERNAME | Yes | TestRail username or email |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_testrail_authA | Verify the configured TestRail credentials and report a structured diagnosis. Calls a lightweight TestRail endpoint (
Returns a dict with at least:
On success, also includes the priorities count and the username TestRail
associates with the credentials. On failure, includes |
| browse_testrail_apiA | Browse all available TestRail API categories and their methods. Returns a dict mapping each category name to its description and list of available method names. Use describe_testrail_method() to get details for a specific method, then run_testrail_command() to call it. |
| describe_testrail_methodB | Describe a specific TestRail API method — its parameters, types, and docs. |
| search_test_casesA | Search for test cases by title (case-insensitive substring match). |
| run_testrail_commandC | Execute a TestRail API method. |
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/trtmn/tram-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server