cd /absolute/path/to/project
pip install -r requirements.txtexport ALLURE_TESTOPS_URL='https://your-allure-instance.com'
export ALLURE_TOKEN='your-api-token'
export PROJECT_ID='1'python test_simple.pyShould output:
✓ ALLURE_TESTOPS_URL: https://...
✓ ALLURE_TOKEN: ...
✓ PROJECT_ID: 1
✓ allure_client imported
✓ index imported
✓ Server initialized with X tools
python test_mcp.pyThis will check:
- Connection to Allure TestOps API
- Tool registration
- Handler execution
- MCP server structure
python index.pyServer should start and wait for input on stdin. You will see:
Allure TestOps MCP Server running on stdio
Connected to: https://...
Project ID: 1
Registered X tools
- Add to
~/.cursor/mcp.json:
{
"mcpServers": {
"allure-testops-python": {
"command": "python3",
"args": [
"/absolute/path/to/index.py"
],
"env": {
"ALLURE_TESTOPS_URL": "https://your-instance.com",
"ALLURE_TOKEN": "your-token",
"PROJECT_ID": "1"
}
}
}
}- Restart Cursor
- Try using the tools in chat
# Make sure you're in the correct directory
cd /path/to/project
# Check that all files are in place
ls -la controllers/- Check the URL is correct
- Check the token
- Check network availability
- Make sure all controllers are imported in index.py
- Check that handlers are implemented