Provides tools for managing test cases, test executions, test cycles, and test plans in Zephyr Scale Cloud, including bulk operations and JQL-based searching for test management within Jira projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Zephyrcreate a login test case for the PROJ project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Zephyr Server
A comprehensive Model Context Protocol (MCP) server for Zephyr Scale Cloud API that enables seamless integration with your test management workflows.
π Features
Core Capabilities
Project Management: List and retrieve project details
Folder Organization: Create and manage hierarchical folder structures
Test Case Management: Create, read, and update operations for test cases
Test Steps Management: Get and append test steps (note: no individual step update/delete)
Test Script Management: Create and manage BDD/Gherkin test scripts (mutually exclusive with steps)
Reference Data: Access statuses and priorities for test case configuration
π οΈ Available Tools
Project Tools
list_projects- Get all Zephyr-integrated Jira projectsget_project- Retrieve detailed project information
Folder Tools
list_folders- List folders with project/folder filteringget_folder- Get detailed folder informationcreate_folder- Create new folders with optional parent hierarchy
Test Case Tools
list_test_cases- List test cases with filtering (project, folder)get_test_case- Retrieve detailed test case informationcreate_test_case- Create new test cases with full configurationupdate_test_case- Update existing test cases
Test Steps Tools
get_test_steps- Get test steps (paged, 100 items max)get_all_test_steps- Get all test steps (auto-pagination)append_test_steps- Add new steps to existing sequence (max 100 per request)
Test Script Tools
get_test_script- Get BDD/Gherkin test scriptcreate_test_script- Create/update test script (removes existing steps)create_bdd_test_script- Helper for BDD script creation with validation
Reference Data Tools
list_statuses- Get all available statuses (Draft, Ready, Approved, etc.)list_priorities- Get all available priorities (High, Medium, Low, etc.)get_reference_data- Get both statuses and priorities in one call
π Prerequisites
Node.js 18.0.0 or higher
Zephyr Scale Cloud account with API access
Jira project with Zephyr integration enabled
π§ Installation
Clone or download this repository
Install dependencies:
npm installSet up environment variables:
cp .env.example .envEdit
.envand add your Zephyr API token:ZEPHYR_API_TOKEN=your_bearer_token_here ZEPHYR_REGION=us
π Getting Your API Token
Log in to your Jira Cloud instance
Click on your profile picture in the bottom left
Select "Zephyr API keys"
Generate a new API token
Copy the token to your
.envfile
π Running the Server
Development Mode
Production Mode
With MCP Client
π§° Testing Individual Tools
For development and debugging, you can test individual tools without running the full MCP server using the test-tools.js script:
List Available Tools
Test a Tool
Note: Make sure your .env file is configured with ZEPHYR_API_TOKEN before running test tools.
π Usage Examples
Basic Project Operations
Folder Management
Test Case Creation
Test Steps Management
BDD Test Script Creation
Get Reference Data
β οΈ Important Notes
Test Steps vs Test Scripts
Mutually Exclusive: A test case can have either test steps OR a test script, not both
Script Creation Warning: Creating a test script automatically removes existing test steps
Step Limitations: Individual test steps cannot be updated or deleted, only appended in batches
API Constraints
Pagination: Most endpoints support pagination (max 1000 items per request)
Step Limits: Maximum 100 test steps can be added per request
Rate Limits: Respect Zephyr Cloud API rate limits
Region Support: US and EU regions supported via configuration
Data Format
Test Case Keys: Format
[A-Z]+-T[0-9]+(e.g.,PROJ-T1)Project Keys: Format
[A-Z][A-Z_0-9]+(e.g.,PROJ,PROJ123)Folder IDs: Numeric strings (e.g.,
"123")Test Scripts: Gherkin format for BDD, plain text for simple scripts
π§ͺ Testing
π Code Quality
ποΈ Project Structure
π MCP Integration
This server implements the Model Context Protocol specification:
Tool Discovery: Automatic tool listing via
ListToolsRequestSchemaTool Execution: Standardized tool calling via
CallToolRequestSchemaError Handling: Consistent error responses for all operations
JSON Schema: Input validation for all tool parameters
π Troubleshooting
Common Issues
"ZEPHYR_API_TOKEN environment variable is required"
Ensure you've created
.envfile with a valid API tokenCheck that the token is not expired
"Invalid testCaseKey format"
Test case keys must match pattern
[A-Z]+-T[0-9]+Examples:
PROJ-T1,PROJECT123-T456
"Request timeout"
Check your internet connection
Try reducing
maxResultsparameter for large requests
"Test case not found"
Verify the test case key exists in your Zephyr instance
Ensure you have proper project permissions
Debug Mode
Enable debug logging by setting the environment variable:
π License
MIT License - see LICENSE file for details.
π€ Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Run the test suite
Submit a pull request
π Support
Zephyr Documentation: Zephyr Scale Cloud API Docs
MCP Specification: Model Context Protocol
Issues: Report bugs via GitHub Issues