Zephyr Scale MCP Server
Allows management of test cases, test runs, folders, and assignments through Zephyr Scale, a test management add-on for Jira.
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., "@Zephyr Scale MCP ServerShow me test case PROJ-421"
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.
Zephyr Scale MCP Server
A Model Context Protocol (MCP) server for Zephyr Scale Test Management. This server provides comprehensive tools for interacting with Zephyr Scale through any LLM that supports MCP.
Features
Test Case Management: Search, view, and manage test cases
Test Run Operations: Create, clone, and manage test runs
Folder Management: Organize test runs in folders with automated workflows
Assignment Tools: Bulk assign test results to team members
Complete Workflows: Automated folder creation and test run cloning
Related MCP server: Zephyr Scale MCP Server
Prerequisites
Python 3.10+
Jira instance with Zephyr Scale installed
Jira API token (generate from your Atlassian account settings)
Installation
# Clone the repository
git clone https://github.com/ivinitus/zephyr-scale-mcp.git
cd zephyr-scale-mcp
# Install the package
pip install -e .
# Or install dependencies manually
pip install -r requirements.txtConfiguration
Set the following environment variables:
export ZEPHYR_BASE_URL="https://your-domain.atlassian.net"
export ZEPHYR_USERNAME="your-email@example.com"
export ZEPHYR_API_TOKEN="your-api-token"Getting Your API Token
Go to https://id.atlassian.com/manage-profile/security/api-tokens
Click "Create API token"
Give it a label and copy the token
Use your email as username and the token as password
Usage with MCP Clients
Amazon Q Developer
Add to your MCP configuration:
{
"mcpServers": {
"zephyr-scale": {
"command": "python",
"args": ["-m", "zephyr_scale_mcp"],
"env": {
"ZEPHYR_BASE_URL": "https://your-domain.atlassian.net",
"ZEPHYR_USERNAME": "your-email@example.com",
"ZEPHYR_API_TOKEN": "your-api-token"
}
}
}
}Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"zephyr-scale": {
"command": "python",
"args": ["-m", "zephyr_scale_mcp"],
"env": {
"ZEPHYR_BASE_URL": "https://your-domain.atlassian.net",
"ZEPHYR_USERNAME": "your-email@example.com",
"ZEPHYR_API_TOKEN": "your-api-token"
}
}
}
}Available Tools
Test Case Tools
get_testcase_detail- Get detailed information about a test casesearch_testcases- Search for test cases with filtersget_testcase_attachments- Get attachments for a test caseget_testcase_latest_result- Get the latest test result
Test Run Tools
get_testrun_details- Get test run informationget_testrun_results- Get all results for a test runsearch_testruns- Search for test runsget_testrun_items- Get test run items with details
Assignment Tools
update_test_assignee- Assign a test result to a userbulk_update_test_assignees- Bulk assign multiple test results
Folder Management Tools
get_folder_tree- Get folder structurefind_folder_by_name- Find a folder by nameget_test_runs_in_folder- Get all test runs in a foldercreate_test_folder- Create a new foldergenerate_folder_name- Generate folder name with datecheck_folder_exists- Check if folder exists
Test Run Management Tools
bulk_clone_test_runs- Clone multiple test runsbulk_move_test_runs- Move test runs to a folderbulk_rename_test_runs- Rename test runs (remove cloned suffix)get_recently_created_test_runs- Get recently created test runs
Workflow Tools
create_folder_and_clone_runs- Complete workflow to create folder and clone test runs
Example Prompts
Once configured, you can ask your LLM:
"Show me test case PROJECT-T123"
"Search for test cases in project ABC with status 'Draft'"
"Create a new folder called 'Sprint 24 Testing' in project 12345"
"Clone all test runs from folder 'Sprint 23' to a new folder 'Sprint 24'"
"Assign test results 123, 456, 789 to John Doe"
Project Structure
zephyr-scale-mcp/
├── client.py # Zephyr Scale API client
├── server.py # MCP server with tool definitions
├── __init__.py # Package initialization
├── README.md # This file
├── requirements.txt # Python dependencies
└── .env.example # Example environment variablesDevelopment
Running Tests
python -m pytest tests/Adding New Tools
Add the method to
ZephyrClientinclient.pyCreate a tool function in
server.pywith the@handle_api_errorsdecoratorRegister the tool in the
register_tools()functionExport it in
__init__.py
Security Notes
Never commit your API token to version control
Use environment variables or secure secret management
API tokens have the same permissions as your user account
Consider creating a dedicated service account for automation
Troubleshooting
Authentication Errors
Verify your API token is correct and not expired
Check that your username is your email address
Ensure your user has access to the Jira project
Connection Errors
Verify the base URL is correct (no trailing slash)
Check your network connection and firewall settings
Ensure Zephyr Scale is installed on your Jira instance
Tool Errors
Check that project IDs are numeric strings
Verify test case/run keys follow the format "PROJECT-T123"
Ensure you have permissions for the operations you're attempting
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
License
MIT License - feel free to use this in your projects!
Acknowledgments
Built for the MCP ecosystem to enable AI-powered test management workflows.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/ivinitus/zephyr-scale-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server