
milo0821/zephyr_mcp_server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Mcp for Zephyr, management test case, test run and test plan
Обзор
Model Context Protocol server for Zephyr Scale test management, supporting both . Create, read, and manage test cases through the Atlassian REST API with . Access live test case data, example payloads, and file resources through a unified resource system. - ✅ : Seamlessly connects to both Jira Cloud (using API v2) and self-hosted Data Center instances (using API v1) with automatic configuration detection. - ✅ : Tools and data structures match the official Zephyr Scale REST API, ensuring compatibility and reliability. - ✅ : A single create_test_case tool handles all script types (BDD, Step-by-Step, Plain Text) for a simplified workflow. - ✅ : Comprehensive tools to create, read, delete test cases, and manage test runs, executions, and folders. - ✅ (Cloud): Report execution results (Pass/Fail/Blocked), attach bugs as Jira issue links, and discover the Zephyr test cycle linked to any Jira story or epic — bridging a Jira ticket straight to its executions.
README
Показан фрагмент оригинального README. Открыть оригинал.
Zephyr Scale MCP Server
Model Context Protocol server for Zephyr Scale test management, supporting both Jira Cloud and Data Center. Create, read, and manage test cases through the Atlassian REST API with official API-compliant schemas. Access live test case data, example payloads, and file resources through a unified resource system.
Features
- ✅ Jira Cloud & Data Center Support: Seamlessly connects to both Jira Cloud (using API v2) and self-hosted Data Center instances (using API v1) with automatic configuration detection.
- ✅ Official API-Compliant Schemas: Tools and data structures match the official Zephyr Scale REST API, ensuring compatibility and reliability.
- ✅ Unified Test Case Creation: A single
create_test_casetool handles all script types (BDD, Step-by-Step, Plain Text) for a simplified workflow. - ✅ Full Test Lifecycle Management: Comprehensive tools to create, read, delete test cases, and manage test runs, executions, and folders.
- ✅ Execution Reporting & Jira Integration (Cloud): Report execution results (Pass/Fail/Blocked), attach bugs as Jira issue links, and discover the Zephyr test cycle linked to any Jira story or epic — bridging a Jira ticket straight to its executions.
- ✅ Live Templating System: Use real test cases from your Zephyr instance as templates (
zephyr://testcase/KEY) to ensure consistency and correct project-specific fields. - ✅ Unified Resource System: Access live Zephyr data, local files (
file://), and built-in examples through a consistent URI-based system.
Installation and Configuration
You can run the server using npx without installation, or install it globally from npm.
Using npx (Recommended)
Configure your MCP client with the following structure.
Jira Cloud:
{
"mcpServers": {
"zephyr-server": {
"command": "npx",
"args": ["zephyr-scale-mcp-server@latest"],
"env": {
"ZEPHYR_BASE_URL": "https://your-company.atlassian.net",
"ZEPHYR_API_KEY": "your-zephyr-api-key",
"JIRA_USERNAME": "[email protected]",
"JIRA_API_TOKEN": "your-jira-api-token"
}
}
}
}
Note:
JIRA_USERNAMEandJIRA_API_TOKENare optional but required if you want to use theissue_linksfield when creating test cases. Without them, issue linking will fail with a 401 warning (the test case is still created). Generate a Jira API token at id.atlassian.com/manage-profile/security/api-tokens.
Jira Cloud (EU region):
{
"mcpServers": {
"zephyr-server": {
"command": "npx",
"args": ["zephyr-scale-mcp-server@latest"],
"env": {
"ZEPHYR_BASE_URL": "https://your-company.atlassian.net",
"ZEPHYR_API_KEY": "your-zephyr-api-key",
"JIRA_USERNAME": "[email protected]",
"JIRA_API_TOKEN": "your-jira-api-token",
Установка
npx zephyr-scale-mcp-server@latestКонфигурация
{
"mcpServers": {
"zephyr-server": {
"command": "npx",
"args": ["zephyr-scale-mcp-server@latest"],
"env": {
"ZEPHYR_BASE_URL": "https://your-company.atlassian.net",
"ZEPHYR_API_KEY": "your-zephyr-api-key",
"JIRA_USERNAME": "[email protected]",
"JIRA_API_TOKEN": "your-jira-api-token"
}
}
}
}