zephyr-mcp-server
v1.0.7
Published
MCP server for fetching Zephyr Scale test cases and test steps
Maintainers
Readme
Zephyr Scale MCP Server
This MCP server exposes a single tool to fetch a Zephyr Scale test case by key, returning its title, owner, priority, status, and all test steps in a readable format.
It uses Zephyr Scale REST API v2 and requires only one environment variable:
API_KEY- your Zephyr Scale API key
Endpoints used
GET /v2/testcases/{testCaseKey}GET /v2/testcases/{testCaseKey}/testscript(primary for steps)GET /v2/testcases/{testCaseKey}/teststeps(fallback when Zephyr returns the known 422 guidance error)
Available MCP tools
get_zephyr_test_case
- Input:
{ "testCaseKey": "PROJECT-T1" } - Fetches the test case metadata and steps in parallel
- Returns a formatted summary:
Title: Login flow validation
Owner: abc123
Priority: High
Status: Active
Test Steps:
----------
Step 1: Navigate to login page
Expected Result: Login page is displayed
Step 2: Enter valid credentials
Test Data: [email protected] / password123
Expected Result: User is redirected to dashboardInstall
npm install -g zephyr-mcp-serverOr use via npx:
API_KEY="your-zephyr-api-key" npx zephyr-mcp-serverRun locally
npm install
API_KEY="your-zephyr-api-key" npm startExample MCP configuration
Using the globally installed binary:
{
"mcpServers": {
"zephyr-scale": {
"command": "zephyr-mcp-server",
"env": {
"API_KEY": "your-zephyr-api-key"
}
}
}
}Using npx:
{
"mcpServers": {
"zephyr-scale": {
"command": "npx",
"args": ["zephyr-mcp-server"],
"env": {
"API_KEY": "your-zephyr-api-key"
}
}
}
}