The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Zebrunner listing page.
A Model Context Protocol (MCP) server that brings advanced analytics, reporting, failure forensics, and safe TCM mutations to Zebrunner. Designed to coexist with the official Zebrunner MCP (beta) — see the "Dual-MCP setup" section below.
Tool naming: every tool on this server is registered under the canonical
adv_<name>form (e.g.adv_create_test_case,adv_list_test_runs) so it never collides with the official Zebrunner MCP. The legacy names are kept as deprecated aliases so prompts/scripts that called the old names continue to work for now; aliases will be removed in the next major release.
🆕 v9.3.0 — Multi-PR / period test impact:
change_batches[],/test-impact-period, extended/test-impact. See TEST_IMPACT_WORKFLOW.md and TEST_IMPACT_PR_PERIOD_DESIGN.md.🆕 v9.2.7 — New
adv_scaffold_test_casewizard (hybrid form/conversational) to author test cases from best practices with an automatic warn-only similar-case check, plus configurableprojectAliasesinzebrunner-config.json. See release notes.🆕 v9.2.5 —
adv_get_test_authoring_trend(TAM template 7) completes 22/22 dashboard widget MCP coverage. Hub tools, pass-rate views, period modes. See TEST_PROMPTS.md §18 and change-logs.md.
v9.2.1 — LLM-visible metrics (
include_call_metrics, session breakdown), compact expansion (+19 tools), format/truncation bugfixes. See Token efficiency guide and change-logs.md.
v9.2.0 — Opt-in token/cost optimizations:
format:'compact',detail:'summary',adv_batch_get_test_cases, reportinline:false. Defaults unchanged. See change-logs.md.
v9.1.0 — Launch mutations:
adv_rerun_launch_failures,adv_start_launch(Jenkins Build Now), plus/relaunch-regression-failuresand/feature-scoped-launchprompts. See GitHub Release v9.1.0.📖 Need help with installation? Check out our Step-by-Step Install Guide for detailed setup instructions.
🚀 Installing via npm? See our MCP NPM Installation Guide for Claude Desktop, Cursor, IntelliJ IDEA, and ChatGPT Desktop configuration.
📚 Test vs Test Case vs Launch? See Terminology & Glossary — definitions, counting rules, and how metrics are calculated.
This is the Advanced Zebrunner MCP Server — built to go well beyond basic test case management and help QA teams work smarter and faster with AI. Compared to the official Zebrunner MCP (beta, ~70 tools spanning Public REST + Reporting/TAM/Launcher), this server provides 69 analytics-focused tools (adv_* prefix) and is safe to run side-by-side with the official server:
@ context injection and / workflow commands for streamlined daily operationsThis tool allows you to:
All through natural language commands in AI assistants!
Our MCP server includes a sophisticated 3-tier rules system that transforms how you work with test cases:
test_case_review_rules.md)adv_validate_test_case and adv_improve_test_case toolstest_case_analysis_checkpoints.md)adv_validate_test_case for comprehensive scoring and issue detectionmcp-zebrunner-rules.md)adv_generate_draft_test_by_key and adv_get_enhanced_test_coverage_with_rules toolsYou can customize any of the three rules files:
Example customizations:
Open your terminal/command prompt and run:
If you see version numbers, you're ready to go!
💡 Want more detailed instructions? Check out our More Detailed Step-by-step Install Guide with troubleshooting tips and platform-specific instructions.
Choose one of these methods:
Download the project files and extract them to a folder.
Create a .env file in the project folder with your Zebrunner details:
.env fileIf you see "✅ Health check completed", you're ready to go!
Important Notes:
.env file must be properly configured for the health check to workIf the health check fails, verify your .env configuration and Zebrunner credentials.
Add this configuration to your Claude Desktop or Claude Code settings. Important: You must use the full absolute path to your project folder.
Example paths:
C:\\Users\\YourName\\Projects\\mcp-zebrunner\\dist\\server.js/Users/YourName/Projects/mcp-zebrunner/dist/server.jsYou can also add the server using the command line:
Important: Replace /full/absolute/path/to/mcp-zebrunner/ with the actual full path to your project folder.
NEW in v5.4.1+: Claude can automatically detect Zebrunner URLs and analyze them with optimal settings!
Just paste a Zebrunner URL in your conversation, and Claude will automatically:
1. Test Analysis URLs
What happens:
adv_analyze_test_failureprojectKey, testRunId (launch ID), testIdincludeVideo: true, analyzeScreenshotsWithAI: true, all diagnosticsExample:
2. Launch Analysis URLs
What happens:
adv_detailed_analyze_launch_failuresprojectKey, testRunId (launch ID)includeScreenshotAnalysis: true, comprehensive analysisExample:
Override Default Settings
Claude understands natural language overrides:
Multiple URLs
Analyze multiple tests/launches in one request:
Cross-Workspace Support
⚠️ URLs from different workspaces will show a warning but still attempt analysis:
| Component | Example | Extracted As | Used In Tool |
|---|---|---|---|
| Workspace | your-workspace.zebrunner.com | Validation only | N/A |
| Project Key | MCP | projectKey | All tools |
| Launch ID | 120911 | testRunId | All tools |
| Test ID | 5455386 | testId | adv_analyze_test_failure only |
✅ Faster: No need to manually specify IDs
✅ Convenient: Copy-paste URLs directly from Zebrunner UI
✅ Optimized: Automatic use of recommended settings
✅ Smart: Claude detects intent and adjusts parameters
✅ Flexible: Natural language overrides work seamlessly
zebrunner + Advanced)Zebrunner now offers an official hosted MCP (beta) at
https://{workspace}.zebrunner.com/api/mcp. It is safe to run both servers
in the same Cursor / Claude session: every tool on this server is exposed under
the adv_<name> prefix, so it never collides with the official tools.
Example .cursor/mcp.json:
Rule of thumb when both are connected:
Use zebrunner (official) for | Use mcp-zebrunner (Advanced) for |
|---|---|
list_projects, shared steps, test run replace/close, custom field create | Failure forensics, runtime + flakiness analytics |
Server-side filter DSL; file upload + screenshot content in triage | Reporting, dashboards, regression analyzers |
Bulk launch/test comments, issue linking, launcher/preset CRUD, launch_tests | Preview/confirm TCM mutations; Jenkins Build Now / rerun failures |
Inside chat, ask adv_about_mcp_tools with mode: "routing" or open the
zebrunner://mcp-routing resource for the full live-generated diff and routing table.
Once connected, you can use these tools through natural language in your AI assistant. This section highlights all 69 tools organized by category. For the complete catalog with natural-language examples for every tool, see TOOLS_CATALOG.md.
Dashboard widgets: All 22 Zebrunner dashboard templates have MCP coverage (v9.2.5). See docs/TEST_PROMPTS.md §18 for example prompts and npm run test:api verification.
Large TCM exports can consume significant context. Use these opt-in parameters (defaults stay backward-compatible). Full guide: docs/TOKEN_EFFICIENCY.md.
| Technique | Example | When to use |
|---|---|---|
format: 'compact' | adv_get_all_tcm_test_cases_by_project with format:'compact' | Minified JSON (~22% smaller than pretty json) |
detail: 'summary' | adv_get_test_cases_by_suite_smart with detail:'summary' | After filtering — returns id, key, title, priority, automationState, webUrl only |
adv_batch_get_test_cases | { case_keys: ["MCP-1","MCP-2"], detail:"summary", format:"compact" } | Fetch a shortlist without N round-trips |
adv_generate_report inline: false | Writes HTML/PNG to disk, returns paths | Huge dashboards in chat clients |
count_only: true | Any bulk TCM/suite read | Metrics without payload |
| Env flags (off) | MCP_COMPACT_DEFAULTS=true, MCP_SUMMARY_DEFAULTS=true | Server-wide default flips after eval passes |
Workflow: list/filter with detail:'summary' + format:'compact' → adv_get_test_case_by_key for full body (steps, preconditions) before create/update.
Example prompts for your assistant:
Tool naming: All tools are exposed as
adv_<name>(e.g.adv_get_test_case_by_key). Use these names in prompts, scripts, and when both the official and Advanced MCP are connected. Legacy short names (get_test_case_by_key, etc.) are deprecated and only registered whenZEBRUNNER_REGISTER_LEGACY_ALIASES=true.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_test_case_by_key | Get detailed test case information | "Get test case MCP-123 details" | All roles |
adv_batch_get_test_cases | Fetch multiple cases by key (partial success) | "Get MCP-1 and MCP-2 with summary detail" | All roles |
adv_get_test_cases_advanced | Advanced filtering with automation states, dates | "Get test cases created after 2025-01-01 with automation state 'Manual'" | QA, SDETs |
adv_get_test_cases_by_automation_state | Filter by specific automation states | "Show me all 'Not Automated' test cases in project MCP" | SDETs, Managers |
adv_get_test_case_by_title | Search test cases by title (partial match) | "Find test cases with title containing 'login functionality'" | All roles |
adv_get_test_case_by_filter | Advanced filtering by suite, dates, priority, automation state | "Get test cases from suite 491 created after 2025-01-01 with high priority" | QA, Managers |
adv_get_automation_states | List available automation states | "What automation states are available for project MCP?" | All roles |
adv_get_automation_priorities | List available priorities with IDs | "Show me all priority levels for project MCP" | All roles |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_all_tcm_test_cases_by_project | Get ALL test cases (handles pagination) | "Get all test cases for project MCP" | Managers, Leads |
adv_get_all_tcm_test_cases_with_root_suite_id | All test cases with hierarchy info | "Get all test cases with their root suite information" | Analysts |
adv_get_test_cases_by_suite_smart | Smart suite test case retrieval with root/child auto-detection | "Get test cases from suite 18824 in project MCP using smart mode" | QA, Analysts |
Most test case tools support optional change history enrichment — fetching the audit log of modifications for each test case. This is useful for understanding when steps were changed, when automation state transitioned, or when a test case was deprecated.
| Parameter | Type | Default | Description |
|---|---|---|---|
include_history | boolean | false | Attach a history array of parsed change entries to each test case |
history_filter | steps_only | events_only | all | steps_only | Filter: step/precondition diffs only, lifecycle events only, or all changes |
history_limit | number (1–100) | 20 | Max history entries per test case |
Supported on: adv_get_test_case_by_key, adv_get_test_cases_advanced, adv_get_test_cases_by_automation_state, adv_get_test_case_by_title, adv_get_test_case_by_filter, adv_get_all_tcm_test_cases_by_project, adv_get_test_cases_by_suite_smart
Example prompts:
"Get test case MCP-29 with change history" → sets include_history=true"Show me MCP-29 history, events only" → sets include_history=true, history_filter='events_only'"Get all automated test cases with their last 5 changes" → sets include_history=true, history_limit=5Detected events: became_automated, became_manual, became_deprecated, became_undeprecated, steps_changed, preconditions_changed, postconditions_changed, and dynamically generated became_<state_name> for any project-specific automation state.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_list_test_suites | List suites with pagination | "List test suites for project MCP" | All roles |
adv_get_suite_hierarchy | Hierarchical tree view | "Show me the hierarchy of test suites with depth 3" | Managers, QA |
adv_get_root_suites | Get top-level suites | "Show me all root suites for project MCP" | Managers |
adv_get_all_subsuites | Get all child suites | "Get all subsuites from root suite 18697" | QA, Analysts |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_tcm_suite_by_id | Get suite by ID (simple: fast direct API, full: hierarchy-enriched) | "Show me suite 20421 in project MCP" | All roles |
adv_get_tcm_test_suites_by_project | Comprehensive suite listing | "Get all suites for project MCP with hierarchy" | Managers |
adv_get_all_tcm_test_case_suites_by_project | Get all TCM test case suites with pagination | "Get all TCM test case suites for project MCP" | Managers, Analysts |
adv_get_root_id_by_suite_id | Find root suite for any suite | "What's the root suite for suite 12345?" | Analysts |
Safety Model: Every mutation tool follows a two-call confirmation gate. The first call returns a preview; only after user approval should
confirm: truebe passed to execute the mutation. All mutations are audit-logged to~/.mcp-zebrunner-audit.jsonl. Usedry_run: truefor raw payload inspection.Next-step steering (v7.2.2): After every successful mutation, the server appends a
Tip:block guiding the LLM to the most useful next action (e.g., "validate quality", "publish the draft", "populate the test run"). Hints are conditional -- they are suppressed when redundant. For example, the quality-check hint is omitted ifreview: truewas already used. Created test cases are always forced todraft=true, and the hint always reminds the LLM to publish viaadv_update_test_case. This approach is inspired by the Strands Agents steering pattern and delivers just-in-time guidance without bloating system prompts.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_create_test_suite | (Beta) Create a new Test Suite | "Create root suite 'Payments' in project MCP" | QA, Managers |
adv_update_test_suite | (Beta) Update an existing Test Suite (full PUT) | "Rename suite 18697 to 'Login & Registration'" | QA, Managers |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_create_test_case | (Beta) Create a new Test Case with runtime validation of priorities, automation states, and custom fields. Accepts {file_path} in attachments. Optional source_case_key to pre-populate from an existing test case. | "Create test case 'Verify login' in suite 17470 for project MCP" | QA, SDETs |
adv_update_test_case | (Beta) Partially update a Test Case by ID or key (PATCH). Accepts {file_path} in attachments for local file upload. | "Attach /Users/me/screenshot.png to test case MCP-42" | QA, SDETs |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_analyze_test_impact | Rank Zebrunner cases affected by code changes from compact semantic context | "Analyze test impact for diary edit + serving size changes on PROJ2" | Developers, SDETs |
Use the /test-impact MCP prompt (optional pr_url) for guided workflow. See TEST_IMPACT_WORKFLOW.md. Configure repositoryProjectMap via .env.example.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_test_coverage_by_test_case_steps_by_key | Analyze implementation coverage | "Analyze coverage for MCP-123 against this code: [paste code]" | Developers, SDETs |
adv_get_enhanced_test_coverage_with_rules | Rules-based coverage analysis | "Enhanced coverage analysis for MCP-123 with framework detection" | SDETs, Leads |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_analyze_test_cases_duplicates | Find and group similar test cases by step similarity | "Analyze suite 12345 for duplicates with 80% similarity threshold" | QA Managers, SDETs |
adv_analyze_test_cases_duplicates_semantic | Advanced semantic analysis with LLM-powered step clustering | "Semantic analysis of suite 12345 with step clustering and medoid selection" | Senior QA, Test Architects |
🔗 Clickable Links Feature: Both duplicate analysis tools support clickable links to Zebrunner web UI:
include_clickable_links: true to make test case keys clickable in markdown outputwebUrl fields when enabledZEBRUNNER_URL environment variable"Analyze suite 17585 for duplicates with clickable links enabled"| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_generate_draft_test_by_key | Generate test code with framework detection | "Generate Java/Carina test for MCP-123 based on this implementation" | SDETs, Developers |
adv_validate_test_case | Quality validation with improvement | "Validate test case MCP-123 and suggest improvements" | QA, Managers |
adv_improve_test_case | Dedicated improvement tool | "Improve test case MCP-123 with specific suggestions" | QA, SDETs |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_launch_details | Comprehensive launch information; optional includeJobParameters for Jenkins Build Now discovery | "Get launch details for launch 118685 with job parameters" | Managers, Leads, SDETs |
adv_rerun_launch_failures | 🆕 v9.1.0 Rerun failed/aborted tests for one or many launches (preview/confirm) | "Rerun failures for launch 132522 in project android" | Managers, SDETs |
adv_start_launch | 🆕 v9.1.0 Trigger Jenkins Build Now (not Launch Launchers); preview/confirm | "Build now regression for android milestone 26.19.0 build 50977" | Managers, SDETs |
adv_get_launch_summary | Quick launch overview | "Show me summary for launch 118685" | Managers |
adv_get_all_launches_for_project | List individual launch executions with pagination | "List launches for project MCP from last month" | Managers, Leads |
adv_get_all_launches_with_filter | Search launches by milestone/build/name | "Find launches for milestone 2.1.0 and build 'mcp-app-2.1.0'" | Managers, Leads |
adv_generate_weekly_regression_stability_report | Weekly regression stability report with WoW delta, linked issues, and strict Jira-ready output. Supports launch list or build-based auto-discovery (version-segment build lookup with launch.build validation when needed). | "Weekly stability report for MCP: (120906 vs 120814), (120901 vs 120809)" or "Weekly stability report for builds 9117 vs 48886" | Managers, Leads |
adv_analyze_regression_runtime | Regression Runtime Efficiency — per-launch elapsed time, attempt/re-run breakdown, configurable duration classification (Short/Medium/Long), dual metrics for both Tests and Test Cases (Average Runtime, WRI), duration distribution with test case counts, and baseline comparison with delta tracking. | "Analyze regression runtime for the iOS project on the latest milestone. Show WRI and WRI per test case." or "Compare runtime for latest vs previous milestone" | Managers, Leads, SDETs |
adv_analyze_regression_runtime— Usage Examples:
- "Analyze regression runtime for the iOS project on the latest milestone. Show both average runtime per test and per test case, plus WRI and WRI per test case."
- "Run regression runtime analysis for all three projects on their latest milestones. Compare how many test cases fall into Short vs Medium vs Long buckets per team."
- "Analyze regression runtime for the Android project, latest vs previous milestone. Show WRI and WRI per test case for both. Has efficiency improved or degraded?"
- "Analyze regression runtime with medium_threshold_seconds: 120 and long_threshold_seconds: 300. Show which tests fall into each bucket."
- "What is the average time cost per test case in each duration bucket? Are long-running tests covering proportionally more test cases?"
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_analyze_test_failure | Deep forensic analysis of failed tests with logs, screenshots, error classification, and recommendations. NEW in v5.11.0: Compare with last passed execution! Shows what changed (logs, duration, environment). Also: format: 'jira' generates ready-to-paste Jira tickets with auto-priority, labels, and clickable 🎥 video links! | "Analyze test failure 5451420 in launch 120806 and compare with last passed execution" | QA Engineers, SDETs, Managers |
adv_get_test_execution_history | 🆕 NEW in v5.11.0! Track test execution trends across launches. View pass/fail history, find last passed execution, calculate pass rate. Critical Detection: Highlights when test failed in all recent runs! | "Show execution history for test 5478492" or "Has test 5478492 been failing consistently?" | QA Engineers, SDETs, Managers |
adv_detailed_analyze_launch_failures | 🚀 Enhanced v4.12.1 Analyze failures WITHOUT linked issues with Claude-level intelligence + Jira format support. Auto-deep-dive with executive summary, timeline, patterns, priorities. NEW: Generate Jira-ready tickets for entire launches! | "Analyze failures in launch 120806" or with format: 'jira' | QA Managers, SDETs, Team Leads |
✅ FIXED in v5.2.4! Improved Reliability & Video Links
- 🎥 Video URLs fixed: Now uses test-sessions API (
/api/reporting/v1/launches/{id}/test-sessions) for reliable video artifact extraction- 🛡️ Comprehensive error handling: Gracefully handles missing screenshots/logs (returns empty arrays instead of throwing)
- 🚫 No more "no result received" errors: All API calls have proper try-catch blocks with fallbacks
- 🐛 Better debugging: Enhanced logging when
debug: trueis enabled in config- 📊 Schema updates: Supports both old and new API structures for backward compatibility
🎫 NEW in v4.12.1! Jira-Ready Ticket Format
- Use
format: 'jira'to generate ready-to-paste Jira tickets- Auto-calculated priority based on stability and impact
- Smart labels:
test-automation,locator-issue,flaky-test, etc.- Complete Jira markup: Tables, panels, code blocks, clickable links
- 🎥 Prominent video links: Beautiful panels + links section
- Copy-paste ready: No manual formatting needed
- Saves 5-10 minutes per ticket with consistent quality
🧠 Enhanced in v4.11.1!
adv_detailed_analyze_launch_failuresprovides automatic deep synthesis like Claude would manually provide:
- 🎯 Executive Summary: Key findings, patterns, and stability indicators
- 📅 Timeline Analysis: When failures first appeared, progression tracking
- 🔬 Pattern Analysis: Groups by root cause with affected tests and stability %
- 🎯 Priority-Based Recommendations: 🔴 HIGH / 🟡 MEDIUM / 🟢 LOW with impact analysis
- 📋 Enhanced Test Details: Full error messages, stack traces, timestamps
- ❓ Smart Follow-up Questions: Guides next investigation steps
- Smart filtering: Analyzes only tests WITHOUT linked issues by default
- Optional AI screenshot analysis for all tests
- No manual follow-up needed - get complete picture in one call!
🆕 NEW in v5.11.0! Test Execution History & Comparison
- 📊 Track execution trends: View pass/fail history across launches with
adv_get_test_execution_history- 🔄 Compare with last passed: New
compareWithLastPassedparameter inadv_analyze_test_failure
- Compare logs (new errors detection)
- Compare duration (performance regression)
- Compare environment (device/platform changes)
- Compare screenshots (visual differences)
- ⚠️ Critical detection: Automatically highlights when test failed in all recent executions
- 🎯 Regression analysis: See exactly what changed between passed and failed runs
- 📈 Pass rate metrics: Calculate test stability over time
- See TOOLS_CATALOG.md for example prompts!
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_download_test_screenshot | Download protected screenshots from Zebrunner with authentication | "Download screenshot from https://your-workspace.zebrunner.com/files/abc123 for test 5451420" | QA Engineers, Automation Engineers |
adv_analyze_screenshot | Visual analysis with OCR, UI detection, and Claude Vision | "Analyze screenshot https://your-workspace.zebrunner.com/files/abc123 with OCR and detailed analysis" | QA Engineers, SDETs, Developers |
📸 Enhanced! Screenshot analysis now integrated directly into
adv_analyze_test_failureandanalyze_launch_failures- no need to call separately! See Screenshot Analysis Guide for details.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_platform_results_by_period | Aggregated test results, pass rate, and statistics for a project over a time period | "Get results for MCP during last 7 days" or "Show pass rate for MCP" | Managers, Leads |
adv_get_top_bugs | Most frequent defects | "Show me top 10 bugs from last week" | Managers, Developers |
adv_get_bug_review | Detailed bug review with failure analysis, priority breakdown, and automatic detail fetching | "Get bug review with full failure details for top 10 bugs" | Managers, QA, Developers |
adv_get_bug_failure_info | Comprehensive failure info by hashcode (alternative to auto-fetch) | "Get failure info for hashcode 1051677506" | Developers, SDETs |
adv_get_project_milestones | Available milestones | "Get all milestones for project MCP" | Managers, PMs |
Period behavior for reporting widgets: period is passed to Zebrunner widgets as-is (for example Today, Month, Last 30 Days). If a selected widget does not support a specific period label, the API will return an error.
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_available_projects | Discover all accessible projects | "What projects can I access?" | All roles |
adv_test_reporting_connection | Test API connectivity | "Test my connection to Zebrunner" | All roles |
adv_about_mcp_tools | Summarize tools, prompts, resources, or show session metrics. Modes: summary, tool, prompts, resources, metrics | "Using Zebrunner MCP make a summary of all tools with examples" or "Show me tool usage metrics for this session" | All roles |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_list_test_runs | Advanced test run filtering | "Get test runs from last 30 days with status 'FAILED'" | Managers, SDETs |
adv_get_test_run_by_id | Detailed test run information | "Get details for test run 12345" | Managers, QA |
adv_list_test_run_test_cases | Test cases in a specific run | "Show me all test cases in test run 12345" | QA, Analysts |
| Tool | Description | Example Usage | Best For |
|---|---|---|---|
adv_get_test_run_result_statuses | Available result statuses | "What result statuses are configured for project MCP?" | QA, SDETs |
adv_get_test_run_configuration_groups | Configuration options | "Show me configuration groups for project MCP" | SDETs, Leads |
Full guide: docs/RESOURCES_AND_PROMPTS.md — detailed usage, examples, reference tables, and contributor guide.
In addition to 69 tools, the server now provides 14 resources and 17 prompts that improve discoverability and automate complex workflows.
@ Context InjectionResources are read-only reference data you attach to your conversation via the @ menu. They help the AI use exact parameter values instead of guessing.
| Resource | What it provides |
|---|---|
@zebrunner://reports/types | 6 report types with params, defaults, and examples |
@zebrunner://periods | 12 valid time period values (case-sensitive) |
@zebrunner://charts | Chart formats, types, and 17 supported tools |
@zebrunner://formats | 5 output format families with valid values |
@zebrunner://projects | All accessible projects with keys and IDs |
@zebrunner://projects/{key}/suites | Root test suites for a project |
@zebrunner://projects/{key}/suite-hierarchy | Full suite tree with parent-child relationships |
@zebrunner://projects/{key}/automation-states | Automation state names and IDs |
@zebrunner://projects/{key}/priorities | Priority levels and IDs |
@zebrunner://projects/{key}/milestones | Active and completed milestones |
@zebrunner://projects/{key}/result-statuses | Test run result statuses |
@zebrunner://projects/{key}/configuration-groups | Test run config groups and options |
@zebrunner://projects/{key}/fields | System and custom field definitions |
Quick example:
/ Workflow CommandsPrompts are pre-built workflow instructions triggered via the / command menu. Each prompt guides the AI through a tested multi-tool orchestration.
| Prompt | Parameters | What it does |
|---|---|---|
/pass-rate | projects | Cross-platform pass rate with target comparison |
/runtime-efficiency | projects | Runtime metrics with milestone delta |
/automation-coverage | projects | 7-metric coverage + automation intake rate |
/executive-dashboard | projects | 5-section standup-ready dashboard |
/release-readiness | project, milestone? | Go/No-Go assessment with evidence |
/suite-coverage | projects | Per-suite coverage tables (TOTAL + TOTAL REGRESSION) |
/regression-summary | project, milestone?, build? | Regression results overview, new bugs, top bugs, slowest tests |
/review-test-case | case_key | Validate + improve a test case |
/launch-triage | project | Post-regression failure analysis |
/relaunch-regression-failures | projects, milestone?, build?, period? | 🆕 v9.1.0 Discover failed launches and batch-rerun failures |
/feature-scoped-launch | project, feature, suite_name?, build? | 🆕 v9.1.0 Feature keyword → test_run_rules → Build Now per root suite |
/flaky-review | project | Flaky test detection + stabilization plan |
/find-duplicates | project, suite_id? | Structural + semantic duplicate analysis |
/daily-qa-standup | projects | Daily standup summary with action items |
/automation-gaps | projects | Automation backlog prioritization |
/project-overview | project | Comprehensive project health card |
/session-metrics | (none) | Show tool usage stats for the current session |
Quick example:
All tools support multiple output formats:
json - Structured data (default)markdown - Rich formatted output with sections and tablesstring - Human-readable text summariesdto - Raw data objectsExample:
zebrunner-config.json)The MCP server ships with a zebrunner-config.json in the project root that contains instance-specific settings. Customize this file to adapt the server to your Zebrunner workspace. If the file is missing or contains invalid values, built-in defaults are used automatically.
| Key | Description |
|---|---|
projectAliases | Maps short names (web, android, etc.) to actual Zebrunner project keys. Update these to match your projects. |
testConnectionProjectKey | Project key used by the adv_test_reporting_connection tool when no env var is set. |
widgetTemplates | Numeric IDs for SQL widget templates used by reporting tools. These IDs are tenant-specific — check your Zebrunner instance if reports return empty data. |
dashboardNames | Dashboard display names used by widget SQL queries. Must match dashboard names in your Zebrunner workspace. |
platformMap | Maps platform aliases to widget SQL PLATFORM filter values. |
featureAreaKeywords | Keyword-to-label mapping used by regression stability reports to bucket test names into feature areas. Customize for your application's feature structure. |
localeTestRunRules | Project-scoped Build Now rules — see below. Used by adv_start_launch when locale ≠ en_US. |
relaunchFailures | Project-scoped rerun rules — see below. Used by /relaunch-regression-failures and referenced by adv_rerun_launch_failures. |
Individual keys can be omitted — only the keys you include will override the defaults.
localeTestRunRules & relaunchFailures)These optional blocks configure launch mutation workflows per project. They do not affect read-only tools, TCM tools, or projects outside the configured scope.
localeTestRunRules — adv_start_launch (Jenkins Build Now) when the effective locale is not en_US:
| Sub-key | Description |
|---|---|
enabled | Master switch. Set false to disable locale-based NOT_TAGS logic entirely. |
projectKeys | Zebrunner project keys where rules apply (e.g. ["MCP", "DEF"]). Other projects are unchanged. |
enUsOnlyFeatureSuites | TCM feature suite names that are English-only; auto-excluded via NOT_TAGS in test_run_rules on preview. |
suiteNameMatch | "exact" or "includes" — how suite names are matched when discovering feature suite IDs. |
relaunchFailures — /relaunch-regression-failures prompt and batch rerun guidance:
| Sub-key | Description |
|---|---|
excludeLaunchNamePatterns | Launch names to skip when discovering failures (case-insensitive substring match). Default: ["Performance"]. |
maxLaunchesPerPlatform | Cap per platform in the prompt workflow (default 50, matches adv_rerun_launch_failures max). |
/feature-scoped-launch does not use zebrunner-config.json for Jenkins suite_path — the prompt resolves it from args, recent launches, or by asking the user.
Examples
CUSTOMER-style deployment (shipped defaults in repo zebrunner-config.json):
Generic / non-CUSTOMER deployment (e.g. only project MCP for demos, no locale exclusions):
Minimal override via env (Docker/K8s without mounting the file):
See also: docs/RESOURCES_AND_PROMPTS.md for how prompts and tools consume these settings.
When running in HTTP mode with MCP_AUTH_MODE=selfauth and without setting ZEBRUNNER_URL, each user provides their own Zebrunner instance URL on the login form. This enables multi-tenant hosting where a single MCP server serves users across different Zebrunner organizations.
https://mcp.zebrunner.com)/settingsZEBRUNNER_URL IS set as an environment variable, the URL field is hidden and the env value is used globally (existing behavior, no change)The rules system automatically detects and uses rules files in your project root:
If you have a mcp-zebrunner-rules.md file in your project root, the rules engine will automatically enable itself.
You can customize the three types of rules:
test_case_review_rules.md)test_case_analysis_checkpoints.md)mcp-zebrunner-rules.md)ZEBRUNNER_LOGIN and ZEBRUNNER_TOKENZEBRUNNER_URL is correctdist/server.js is correctnpm run build)adv_about_mcp_tools shows "Total tools: 0"dist/ for npm/Docker installs)npm run build (git clone) or reinstall the package / pull the Docker imageENABLE_RULES_ENGINE=true in your .env fileEnable detailed logging to troubleshoot issues:
This will show:
npm run test:health.env fileProcess multiple test cases at once:
Get data in the format you need:
Find exactly what you need:
Leverage intelligent validation:
npm testThis project is licensed under AGPL-3.0 to ensure that all improvements to the MCP server remain open-source, especially when the software is deployed as a network service.
If you modify and run the server in a way that users interact with it over a network (e.g., Claude Desktop / Cursor clients), you must make the full modified source code available to those users.
Commercial usage is allowed. For closed-source modifications or enterprise licensing, please contact the author. See LICENSE.md file for details.
Once you've completed the setup:
npm run test:healthExample first commands to try:
The intelligent rules system will help ensure your test cases meet quality standards and are ready for both manual execution and automation. Happy testing! 🚀