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 | 
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description | 
|---|---|
| No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description | 
|---|---|
| No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description | 
|---|---|
| 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 |