Zephyr MCP Server
A Model Context Protocol (MCP) server for integrating with Zephyr Scale.
Setup Instructions
-
Clone this repository:
bash git clone https://github.com/nandishnagaraj/zephyr-mcp-server.git cd zephyr-mcp-server -
Install dependencies:
bash pip install -r requirements.txt -
Configure VS Code:
- Open your VS Code settings (JSON)
- Add the following to your MCP configuration:json { "mcpServers": { "zephyr": { "command": "python", "args": ["zephyr/zephyr.py"] } } } -
Set your Zephyr Scale API token:
- Create a.envfile in the project root
- Add your API token:ZEPHYR_API_TOKEN=your_api_token_here
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 cases
- max_results: Maximum number of test cases to return (default: 10)
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request