Test Rail
БесплатноНе проверенLightweight MCP server bridging Cursor to TestRail, exposing get_case_by_id tool to fetch TestRail cases.
Описание
Lightweight MCP server bridging Cursor to TestRail, exposing get_case_by_id tool to fetch TestRail cases.
README
Purpose
- Lightweight Model Context Protocol (MCP) server that bridges Cursor (or any MCP client) to TestRail.
- Exposes a tool
get_case_by_idto fetch TestRail cases and return typed Pydantic models. - Configured via
TESTRAIL_URL,TESTRAIL_USERNAME,TESTRAIL_PASSWORD; deploy via Docker or run locally. - Designed to be easily extended with more TestRail endpoints (runs, results, sections, etc.).
Features
- MCP over HTTP: Works with Cursor and other MCP clients.
- Containerized: One-command Docker setup.
- Extensible: Add more tools without changing the transport.
Setup
Docker Setup
Update docker-compose.yml file with TestRail credentials
TESTRAIL_URL=https://your-instance.testrail.com TESTRAIL_USERNAME=your-username TESTRAIL_PASSWORD=your-api-keyBuild and start:
docker-compose up -d # or on Windows: run the bundled script .\run_docker.batView logs:
docker-compose logs -f testrail-mcpStop:
docker-compose down
Local Development
- Create and activate venv (macOS/Linux):
Windows (PowerShell):python -m venv .venv source .venv/bin/activate.venv\Scripts\Activate.ps1 - Install dependencies:
pip install -r requirements.txt - Copy env and set credentials:
cp env.example .env # Edit `.env` with your TestRail credentials:** ```sh TESTRAIL_URL=https://your-instance.testrail.com TESTRAIL_USERNAME=your-username TESTRAIL_PASSWORD=your-api-key - Run locally:
Or use Docker (see above) which exposespython code/server.py # server listens on http://localhost:8000http://localhost:8001.
Add to Cursor
Add to your Cursor mcp.json:
{
"mcpServers": {
"testrail": {
"type": "http",
"url": "http://localhost:8001/mcp"
}
}
}
- If running locally without Docker, use
http://localhost:8000/mcp. - Enable in Tools & Integrations, ensure the
testrailMCP is enabled.
Tooling API
- get_case_by_id: Fetch a case by numeric
case_id.
Example result (shape):
{
"id": 123,
"title": "Verify login",
"type_id": 1,
"priority_id": 2,
"section_id": 10,
"suite_id": 3,
"custom_fields": {
"custom_steps": "...",
"custom_expected": "..."
}
}
Установка Test Rail
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/kluchick/test-rail-mcpFAQ
Test Rail MCP бесплатный?
Да, Test Rail MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Test Rail?
Нет, Test Rail работает без API-ключей и переменных окружения.
Test Rail — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Test Rail в Claude Desktop, Claude Code или Cursor?
Открой Test Rail на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Test Rail with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
