tram-mcp
v0.6.0MCP server exposing TestRail API endpoints as tools for LLMs
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_testrail_auth
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…
browse_testrail_api
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_method
Describe a specific TestRail API method — its parameters, types, and docs.
| Parameter | Type | Description |
|---|---|---|
category * | string | The API category (e.g. "projects", "cases", "runs"). |
method * | string | The method name (e.g. "get_projects", "add_case"). |
search_test_cases
Search for test cases by title (case-insensitive substring match).
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | The ID of the project to search in. |
query * | string | The search string to match against case titles. |
suite_id | Optional suite ID to narrow the search. |
run_testrail_command
Execute a TestRail API method.
| Parameter | Type | Description |
|---|---|---|
category * | string | The API category (e.g. "projects", "cases", "runs"). |
method * | string | The method name (e.g. "get_projects", "add_case"). |
extra_params | Optional dict of additional query parameters that are appended to the API request URL. Use this for filters not directly supported by the method signature, such as custom field filters (e.g. ``{"custo… | |
fields | Optional list of field names to include in each result item. When provided and the response is a list of dicts, each dict is filtered to only contain the specified keys. Useful for reducing response s… | |
max_results | Optional maximum number of items to return. When provided and the response is a list longer than this value, the list is truncated and the return value becomes a dict with ``results`` (the truncated l… | |
params | Optional dict of parameters to pass to the method. |