Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TESTRAIL_API_KEYYesTestRail API key (generate at My Settings > API Keys)
TESTRAIL_BASE_URLYesTestRail instance URL (e.g., https://company.testrail.io)
TESTRAIL_USERNAMEYesTestRail username (email address)
TESTRAIL_CACHE_DIRNoDirectory for disk cache files~/.testrail-mcp-cache
TESTRAIL_PROJECT_IDYesDefault project ID (used when not specified in tool params)
TESTRAIL_TIMEOUT_MSNoHTTP request timeout in milliseconds30000
TESTRAIL_MAX_RESULTSNoDefault page size for list queries (max 250)250
TESTRAIL_CACHE_ENABLEDNoEnable disk caching for semi-static TestRail datatrue
TESTRAIL_CACHE_TTL_HOURSNoCache time-to-live in hours168

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/bhayanak/testrail-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server