Skip to main content
Glama
trtmn

TestRail MCP Server

by trtmn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TESTRAIL_URLYesYour TestRail instance URL (e.g., https://example.testrail.io)
TESTRAIL_API_KEYNoTestRail API key (recommended)
TESTRAIL_PASSWORDNoTestRail password (alternative to API key)
TESTRAIL_USERNAMEYesTestRail username or email

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
check_testrail_authA

Verify the configured TestRail credentials and report a structured diagnosis.

Calls a lightweight TestRail endpoint (get_priorities, which every authenticated user can reach) and translates the outcome into an actionable result the LLM can act on. Use this when:

  • A user reports the server isn't working

  • Another tool returns a 401/403/auth error and the cause is unclear

  • Confirming setup is correct before kicking off a longer workflow

Returns a dict with at least:

  • ok: bool — True if the credential check succeeded

  • config: which URL / username / auth method the server is using (never includes the secret itself)

On success, also includes the priorities count and the username TestRail associates with the credentials. On failure, includes error_class, error, status_code (when extractable), and a human-readable hint explaining the most likely cause and remediation.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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