TestRail MCP Server
TestRail MCP Server
Этот сервер Model Context Protocol (MCP) предоставляет инструменты для взаимодействия с TestRail напрямую из Claude AI и других клиентов с поддержкой MCP, таких как Cursor. Он позволяет управлять тест-кейсами, проектами, наборами тестов, прогонами и многим другим, не прерывая диалог с ИИ.
Доступные инструменты
Сервер TestRail MCP предоставляет следующие инструменты:
Категория | Инструменты |
Проекты |
|
Наборы тестов |
|
Тест-кейсы |
|
Разделы |
|
Прогоны |
|
Тесты |
|
Результаты |
|
Планы |
|
Вехи |
|
Общие шаги |
|
Related MCP server: TestRail MCP Server
Использование
Вы можете подключить этот MCP-сервер, настроив его, как показано ниже. Этот метод использует npx для автоматической загрузки и запуска последней версии пакета, что исключает необходимость локальной установки.
// Example configuration using npx
{
"mcpServers": {
"testrail": {
"command": "npx",
"args": ["@bun913/mcp-testrail@latest"],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io", // Replace with your TestRail URL
"TESTRAIL_USERNAME": "your-email@example.com", // Replace with your TestRail username
"TESTRAIL_API_KEY": "YOUR_API_KEY" // Replace with your TestRail API key
}
}
}
}Устранение неполадок
Ошибки
spawn node ENOENT: Убедитесь, что Node.js правильно установлен и добавлен в ваш PATH.Проблемы с аутентификацией: Проверьте свои учетные данные API TestRail.
Ваш диалог слишком длинный: Используйте параметры
limitиoffsetдля тест-кейсов и разделов для постраничного вывода результатов.Ошибки HTTP 400 при создании/обновлении тест-кейсов: Проекты TestRail имеют разные шаблоны, пользовательские поля и обязательные поля. Этот MCP-сервер передает ваши параметры напрямую в API TestRail — он не проверяет и не преобразует их. Если вы столкнулись с ошибками 400, определите правила вашего проекта в
CLAUDE.mdилиAGENTS.md, чтобы LLM отправляла правильные параметры. Например:
# TestRail Rules for This Project
- Project ID: 1
- Always use template 2 (Separated Steps) when creating test cases
- Use `customStepsSeparated` (array of step objects)
- Do NOT send `customSteps` or `customExpected` with template 2
- Required custom fields: custom_automation_type (default: 0)
- Call `getCaseFields` at the start of a session to check available fieldsВклад в проект
Мы приветствуем любой вклад! Пожалуйста, не стесняйтесь отправлять Pull Request.
Благодарности
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with TestRail test management systems through comprehensive API integration. Supports retrieving and updating test cases, projects, suites, runs, and results, plus adding attachments and managing test data through natural language commands.1843MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact directly with TestRail instances for managing test projects, suites, cases, runs, results, plans, milestones, and attachments through the TestRail API with secure authentication.77931MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for TestRail that enables AI assistants to interact with TestRail's test management platform. It can query and manage projects, test cases, runs, results, plans, milestones, and more.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with TestRail test management system, supporting full CRUD operations on projects, suites, sections, test cases, runs, results, plans, and milestones.351,334MIT
Related MCP Connectors
Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/bun913/mcp-testrail'
If you have feedback or need assistance with the MCP directory API, please join our Discord server