Skip to main content
Glama

TestRail MCP Server

by sker65

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TESTRAIL_URLYesThe full URL to your TestRail instance (e.g., https://example.testrail.io)
TESTRAIL_API_KEYYesYour TestRail API key (not your password), generated from 'My Settings' > 'API Keys'
TESTRAIL_USERNAMEYesYour TestRail email address used for login

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_project

Get a project by ID

get_projects

Get all projects

add_project

Add a new project

update_project

Update an existing project

delete_project

Delete a project

get_case

Get a test case by ID

get_cases

Get all test cases for a project/suite

add_case

Add a new test case

update_case

Update an existing test case

delete_case

Delete a test case

get_run

Get a test run by ID

get_runs

Get all test runs for a project

add_run

Add a new test run

update_run

Update an existing test run

close_run

Close an existing test run

delete_run

Delete a test run

get_results

Get all test results for a test

add_result

Add a new test result

get_dataset

Get a dataset by ID

get_datasets

Get all datasets for a project

add_dataset

Add a new dataset

update_dataset

Update an existing dataset

delete_dataset

Delete a dataset

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