zephyr-mcp-server
0
Zephyr MCP Server is designed to integrate seamlessly with Zephyr Scale, providing tools to fetch and filter test cases efficiently. Its standout features include filtering capabilities by project and folder, making it a valuable tool for managing test cases.
Zephyr MCP Server
A Model Context Protocol (MCP) server for integrating with Zephyr Scale.
Setup Instructions
-
Clone this repository:
git clone https://github.com/nandishnagaraj/zephyr-mcp-server.git cd zephyr-mcp-server
-
Install dependencies:
pip install -r requirements.txt
-
Configure VS Code:
- Open your VS Code settings (JSON)
- Add the following to your MCP configuration:
{ "mcpServers": { "zephyr": { "command": "python", "args": ["zephyr/zephyr.py"] } } }
-
Set your Zephyr Scale API token:
- Create a
.env
file in the project root - Add your API token:
ZEPHYR_API_TOKEN=your_api_token_here
- Create a
Features
- Fetch test cases from Zephyr Scale
- Filter by project key and folder ID
- Limit number of results
Usage
The server provides the following tools:
get_test_cases
: Fetch test cases from Zephyr Scale- Parameters:
project_key
: Project key (e.g., "SM")folder_id
: (Optional) Folder ID to filter test casesmax_results
: Maximum number of test cases to return (default: 10)
- Parameters:
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request