Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Advanced Zebrunner MCP Server

@maksimsarychauMCP server · External

Zebrunner analytics, reporting and safe mutations: 79 adv_* tools, 15 resources, 22 prompts.

Software testingv9.4.5AGPL-3.0TypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npmmcp-zebrunnerv9.4.5

Run

npx -y mcp-zebrunner

MCP client config

{
  "mcpServers": {
    "advanced-zebrunner-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-zebrunner"
      ]
    }
  }
}
npmmcp-zebrunnerv9.4.5

Run

npx -y mcp-zebrunner

MCP client config

{
  "mcpServers": {
    "advanced-zebrunner-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-zebrunner"
      ]
    }
  }
}
README32 min read

version

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.4.5 — Artifacts you can actually read: new read-only tools adv_list_test_artifacts, adv_get_file_metadata, adv_download_artifact (page source XML, logs, links attached by automation). Failure analysis (adv_analyze_test_failure, adv_detailed_analyze_launch_failures, adv_analyze_test_execution_video) now lists artifacts and reads the failure page source (crash/permission dialog, keyboard, locator present or missing) to refine the classification. adv_download_test_screenshot no longer fails on XML. Plus API gap fixes and a new npm run self-check regression safety net. See change-logs.md.

v9.4.4 — Test-run metadata agent UX: post-mutation steering hints (discover env/config before update; import does not set badges); dual-MCP routing resource for environments vs Build/Platform; richer tool-intel for adv_manage_test_run. Builds on v9.4.3 env contract — see change-logs.md.

v9.4.3 — adv_prepare_jira_automation_plan + /jira-automation-plan prompt: Zebrunner suite → structured Jira plan; adv_manage_test_run Public API environment as { name } / { id }. See change-logs.md, TEST_PROMPTS.md §20.

v9.3.1 — TCM pagination fixes: correct get_all token walks, root_suite_id subtree scoping, honest bulk metadata. See PUBLIC_API_PAGINATION.md and change-logs.md.

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_case wizard (hybrid form/conversational) to author test cases from best practices with an automatic warn-only similar-case check, plus optional projectAliases in zebrunner-config.json so tools accept short names as well as Zebrunner project keys. 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, report inline: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-failures and /feature-scoped-launch prompts. 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.

🔥 Why This Server

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 76 registered adv_* tools (70 inline-regression suite + 6 handler-module tools; see tools.json) and is safe to run side-by-side with the official server:

📑 Table of Contents

  1. 🔥 Why This Server
  2. 🎯 What is this tool?
  3. 🧠 Intelligent Rules System
  1. 📋 Prerequisites
  2. 🚀 Quick Start Guide
  3. 🔧 Usage Methods
  1. 🛠️ Available Tools
  1. 📎 MCP Resources & Prompts (NEW)
  1. 🎭 Role-Specific Prompts & Workflows
  1. 📖 Output Formats
  2. ⚙️ Configuration Options
  3. 🧪 Testing Your Setup
  4. 🔍 Troubleshooting
  5. 🎯 Example Workflows
  6. 🔧 Advanced Features
  7. 📚 Additional Documentation
  8. 🤝 Contributing
  9. 📄 License
  10. 🎉 You're Ready!

🎯 What is this tool?

This tool allows you to:

  • Retrieve test cases and test suites from Zebrunner
  • Analyze test coverage and generate test code
  • Get test execution results and launch details
  • Validate test case quality with automated checks using intelligent rules
  • Generate reports and insights from your test data
  • Improve test cases with AI-powered suggestions and automated fixes

All through natural language commands in AI assistants!

⬆️ Back to top

🧠 Intelligent Rules System

What Makes This Tool Special

Our MCP server includes a sophisticated 3-tier rules system that transforms how you work with test cases:

🎯 Test Case Review Rules (test_case_review_rules.md)

  • Purpose: Core quality standards and writing guidelines
  • What it does: Defines fundamental principles for writing high-quality test cases
  • Key areas: Independence, single responsibility, comprehensive preconditions, complete step coverage
  • Used by: adv_validate_test_case and adv_improve_test_case tools

✅ Test Case Analysis Checkpoints (test_case_analysis_checkpoints.md)

  • Purpose: Detailed validation checklist with 100+ checkpoints
  • What it does: Provides granular validation criteria for thorough test case analysis
  • Key areas: Structure validation, automation readiness, platform considerations, quality assurance
  • Used by: adv_validate_test_case for comprehensive scoring and issue detection

⚙️ MCP Zebrunner Rules (mcp-zebrunner-rules.md)

  • Purpose: Technical configuration for test generation and coverage analysis
  • What it does: Defines framework detection patterns, code templates, and coverage thresholds
  • Key areas: Framework detection, test generation templates, coverage thresholds, quality standards
  • Used by: adv_generate_draft_test_by_key and adv_get_enhanced_test_coverage_with_rules tools

How the Rules Work Together

mermaid
graph TD
    A[Test Case] --> B[adv_validate_test_case]
    B --> C[test_case_review_rules.md]
    B --> D[test_case_analysis_checkpoints.md]
    B --> E[Validation Result + Issues]
    
    E --> F[adv_improve_test_case]
    F --> G[AI-Powered Improvements]
    
    A --> H[adv_generate_draft_test_by_key]
    H --> I[mcp-zebrunner-rules.md]
    H --> J[Generated Test Code]
    
    A --> K[adv_get_enhanced_test_coverage_with_rules]
    K --> I
    K --> L[Coverage Analysis + Rules Validation]

Why This Matters

  1. Consistency: All team members follow the same quality standards
  2. Automation: Reduce manual review time with automated validation
  3. Learning: New team members learn best practices through AI feedback
  4. Customization: Adapt rules to your project's specific needs
  5. Continuous Improvement: AI suggests improvements based on proven patterns

Customizing Rules for Your Project

You can customize any of the three rules files:

bash
# Copy default rules to customize
cp test_case_review_rules.md my-project-review-rules.md
cp test_case_analysis_checkpoints.md my-project-checkpoints.md
cp mcp-zebrunner-rules.md my-project-technical-rules.md

# Use custom rules in validation
"Validate test case PROJ-123 using custom rules from my-project-review-rules.md"

Example customizations:

  • Mobile projects: Add mobile-specific validation rules
  • API projects: Focus on API testing patterns and data validation
  • Different frameworks: Customize code generation templates
  • Company standards: Align with your organization's testing guidelines

⬆️ Back to top

📋 Prerequisites

What you need to know

  • Basic command line usage (opening terminal, running commands)
  • Your Zebrunner credentials (login and API token)
  • Basic understanding of test management (test cases, test suites)

Software requirements

  • Node.js 18 or newer - Download here
  • npm (comes with Node.js)
  • Access to a Zebrunner instance with API credentials

How to check if you have Node.js

Open your terminal/command prompt and run:

bash
node --version
npm --version

If you see version numbers, you're ready to go!

⬆️ Back to top

🚀 Quick Start Guide

💡 Want more detailed instructions? Check out our More Detailed Step-by-step Install Guide with troubleshooting tips and platform-specific instructions.

Step 1: Get the code

Choose one of these methods:

bash
git clone https://github.com/maksimsarychau/mcp-zebrunner.git
cd mcp-zebrunner

Option B: Download and extract

Download the project files and extract them to a folder.

Step 2: Install dependencies

bash
npm install

Step 3: Configure your Zebrunner connection

Create a .env file in the project folder with your Zebrunner details:

env
# Your Zebrunner instance URL (without trailing slash)
ZEBRUNNER_URL=https://your-company.zebrunner.com/api/public/v1

# Your Zebrunner login (usually your email)
ZEBRUNNER_LOGIN=your.email@company.com

# Your Zebrunner API token (get this from your Zebrunner profile)
ZEBRUNNER_TOKEN=your_api_token_here

# Optional: Enable debug logging (default: false)
DEBUG=false

# Optional: Enable intelligent rules system (auto-detected if rules file exists)
ENABLE_RULES_ENGINE=true

How to get your Zebrunner API token:

  1. Log into your Zebrunner instance
  2. Go to your profile settings
  3. Find the "API Access" section
  4. Generate a new API token
  5. Copy the token to your .env file

Step 4: Build the project

bash
npm run build

Step 5: Test your connection

bash
npm run test:health

If you see "✅ Health check completed", you're ready to go!

🔄 Updating to New Version

Check current version

bash
# Check your current version
npm run version
# or manually check package.json
cat package.json | grep '"version"'

Update steps

bash
# 1. Pull latest changes from master branch
git pull origin master

# 2. Install any new dependencies
npm install

# 3. Rebuild the project
npm run build

# 4. Test your connection (requires valid .env file)
npm run test:health

Important Notes:

  • ✅ Your .env file must be properly configured for the health check to work
  • ✅ Restart Claude Desktop/Code after updating to reload the MCP server
  • ✅ Check release notes for any breaking changes before updating

If the health check fails, verify your .env configuration and Zebrunner credentials.

⬆️ Back to top

🔧 Usage Methods

Add this configuration to your Claude Desktop or Claude Code settings. Important: You must use the full absolute path to your project folder.

json
{
  "mcpServers": {
    "mcp-zebrunner": {
      "command": "node",
      "args": ["/full/absolute/path/to/mcp-zebrunner/dist/server.js"],
      "env": {
        "ZEBRUNNER_URL": "https://your-company.zebrunner.com/api/public/v1",
        "ZEBRUNNER_LOGIN": "your.email@company.com",
        "ZEBRUNNER_TOKEN": "your_api_token_here",
        "DEBUG": "false",
        "ENABLE_RULES_ENGINE": "true",
        "DEFAULT_PAGE_SIZE": "100",
        "MAX_PAGE_SIZE": "100"
      }
    }
  }
}

Example paths:

  • Windows: C:\\Users\\YourName\\Projects\\mcp-zebrunner\\dist\\server.js
  • macOS/Linux: /Users/YourName/Projects/mcp-zebrunner/dist/server.js

Alternative: Command Line Integration (Claude Code)

You can also add the server using the command line:

bash
claude mcp add mcp-zebrunner \
  --env ZEBRUNNER_URL="https://your-company.zebrunner.com/api/public/v1" \
  --env ZEBRUNNER_LOGIN="your.email@company.com" \
  --env ZEBRUNNER_TOKEN="your_api_token_here" \
  --env DEBUG="false" \
  --env ENABLE_RULES_ENGINE="true" \
  -- node /full/absolute/path/to/mcp-zebrunner/dist/server.js

Important: Replace /full/absolute/path/to/mcp-zebrunner/ with the actual full path to your project folder.

Method 2: Run as standalone server

Development mode (with auto-reload)

bash
npm run dev

Production mode

bash
npm start

Method 3: Smart URL-Based Analysis 🚀

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:

  • Parse the URL to extract project, launch, and test IDs
  • Call the appropriate analysis tool
  • Use recommended settings (videos, screenshots, AI analysis enabled)

📋 Supported URL Patterns

1. Test Analysis URLs

https://your-workspace.zebrunner.com/projects/PROJECT/automation-launches/LAUNCH_ID/tests/TEST_ID

What happens:

  • Claude automatically calls adv_analyze_test_failure
  • Extracts: projectKey, testRunId (launch ID), testId
  • Enables: includeVideo: true, analyzeScreenshotsWithAI: true, all diagnostics

Example:

User: "Analyze https://your-workspace.zebrunner.com/projects/MCP/automation-launches/120911/tests/5455386"

Claude automatically calls:
{
  projectKey: "MCP",
  testRunId: 120911,
  testId: 5455386,
  includeVideo: true,
  analyzeScreenshotsWithAI: true,
  includeLogs: true,
  includeScreenshots: true,
  analyzeSimilarFailures: true,
  screenshotAnalysisType: "detailed",
  format: "detailed"
}

2. Launch Analysis URLs

https://your-workspace.zebrunner.com/projects/PROJECT/automation-launches/LAUNCH_ID

What happens:

  • Claude automatically calls adv_detailed_analyze_launch_failures
  • Extracts: projectKey, testRunId (launch ID)
  • Enables: includeScreenshotAnalysis: true, comprehensive analysis

Example:

User: "Analyze https://your-workspace.zebrunner.com/projects/MCP/automation-launches/120911"

Claude automatically calls:
{
  projectKey: "MCP",
  testRunId: 120911,
  filterType: "without_issues",
  includeScreenshotAnalysis: true,
  screenshotAnalysisType: "detailed",
  format: "summary",
  executionMode: "sequential"
}

✨ Advanced Usage

Override Default Settings

Claude understands natural language overrides:

User: "Analyze https://...url... but without screenshots"
→ Claude sets: analyzeScreenshotsWithAI: false

User: "Analyze https://...url... in jira format"
→ Claude sets: format: "jira"

User: "Quick analysis of https://...url..."
→ Claude sets: format: "summary", screenshotAnalysisType: "basic"

Multiple URLs

Analyze multiple tests/launches in one request:

User: "Compare these failures:
https://your-workspace.zebrunner.com/projects/MCP/automation-launches/120911/tests/5455386
https://your-workspace.zebrunner.com/projects/MCP/automation-launches/120911/tests/5455390"

→ Claude analyzes both sequentially and compares results

Cross-Workspace Support

⚠️ URLs from different workspaces will show a warning but still attempt analysis:

User: "Analyze https://other-workspace.zebrunner.com/..."
→ Claude warns: "URL is from 'other-workspace.zebrunner.com' but configured workspace is 'your-workspace.zebrunner.com'"
→ Proceeds with analysis using available credentials

📖 URL Pattern Reference

ComponentExampleExtracted AsUsed In Tool
Workspaceyour-workspace.zebrunner.comValidation onlyN/A
Project KeyMCPprojectKeyAll tools
Launch ID120911testRunIdAll tools
Test ID5455386testIdadv_analyze_test_failure only

🎯 Why Use URL-Based Analysis?

✅ 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

💡 Pro Tips

  1. Direct from Zebrunner: Copy URL directly from your browser while viewing a test/launch
  2. Batch Analysis: Paste multiple URLs separated by newlines
  3. Custom Settings: Add natural language instructions to override defaults
  4. Quick Checks: URLs work great for quick "what happened here?" questions
  5. Reports: Combine with format requests: "Generate JIRA ticket for https://...url..."

⬆️ Back to top

🤝 Dual-MCP setup (official 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:

json
{
  "mcpServers": {
    "zebrunner": {
      "url": "https://your-workspace.zebrunner.com/api/mcp",
      "headers": {
        "X-Zebrunner-Username": "your.name@company.com",
        "X-Zebrunner-Api-Token": "<your-zebrunner-api-token>"
      }
    },
    "mcp-zebrunner": {
      "command": "npx",
      "args": ["-y", "mcp-zebrunner"],
      "env": {
        "ZEBRUNNER_URL": "https://your-workspace.zebrunner.com/api/public/v1",
        "ZEBRUNNER_LOGIN": "your.name@company.com",
        "ZEBRUNNER_TOKEN": "<your-zebrunner-api-token>"
      }
    }
  }
}

Rule of thumb when both are connected:

Use zebrunner (official) forUse mcp-zebrunner (Advanced) for
list_projects, shared steps, test run replace/close, custom field createFailure forensics, runtime + flakiness analytics
Server-side filter DSL; file upload + screenshot content in triageReporting, dashboards, regression analyzers
Bulk launch/test comments, issue linking, launcher/preset CRUD, launch_testsPreview/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.

🛠️ Available Tools

Once connected, you can use these tools through natural language in your AI assistant. This section highlights all 79 adv_* tools (see tools.json) 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.

Token-efficient reads

Large TCM exports can consume significant context. Use these opt-in parameters (defaults stay backward-compatible). Full guide: docs/TOKEN_EFFICIENCY.md.

TechniqueExampleWhen 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: falseWrites HTML/PNG to disk, returns pathsHuge dashboards in chat clients
count_only: trueAny bulk TCM/suite readMetrics without payload
Env flags (off)MCP_COMPACT_DEFAULTS=true, MCP_SUMMARY_DEFAULTS=trueServer-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:

  • "List test cases in project MCP with summary detail and compact JSON."
  • "Fetch MCP-1 and MCP-2 in one batch call with summary and compact format."
  • "Generate a quality dashboard for MCP with inline false — save to disk."

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 when ZEBRUNNER_REGISTER_LEGACY_ALIASES=true.

📋 Test Case Management

Core Test Case Tools

ToolDescriptionExample UsageBest For
adv_get_test_case_by_keyGet detailed test case information"Get test case MCP-123 details"All roles
adv_batch_get_test_casesFetch multiple cases by key (partial success)"Get MCP-1 and MCP-2 with summary detail"All roles
adv_get_test_cases_advancedAdvanced 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_stateFilter by specific automation states"Show me all 'Not Automated' test cases in project MCP"SDETs, Managers
adv_get_test_case_by_titleSearch test cases by title (partial match)"Find test cases with title containing 'login functionality'"All roles
adv_get_test_case_by_filterAdvanced 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_statesList available automation states"What automation states are available for project MCP?"All roles
adv_get_automation_prioritiesList available priorities with IDs"Show me all priority levels for project MCP"All roles

Batch Test Case Operations

ToolDescriptionExample UsageBest For
adv_get_all_tcm_test_cases_by_projectGet ALL test cases (handles pagination)"Get all test cases for project MCP"Managers, Leads
adv_get_all_tcm_test_cases_with_root_suite_idAll test cases with hierarchy info"Get all test cases with their root suite information"Analysts
adv_get_test_cases_by_suite_smartSmart suite test case retrieval with root/child auto-detection"Get test cases from suite 18824 in project MCP using smart mode"QA, Analysts

Test Case Change History

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.

ParameterTypeDefaultDescription
include_historybooleanfalseAttach a history array of parsed change entries to each test case
history_filtersteps_onlyevents_onlyall
history_limitnumber (1–100)20Max 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=5

Detected 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.

🌳 Test Suite Hierarchy & Organization

Suite Management

ToolDescriptionExample UsageBest For
adv_list_test_suitesList suites with pagination"List test suites for project MCP"All roles
adv_get_suite_hierarchyHierarchical tree view"Show me the hierarchy of test suites with depth 3"Managers, QA
adv_get_root_suitesGet top-level suites"Show me all root suites for project MCP"Managers
adv_get_all_subsuitesGet all child suites"Get all subsuites from root suite 18697"QA, Analysts

Suite Analysis Tools

ToolDescriptionExample UsageBest For
adv_get_tcm_suite_by_idGet 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_projectComprehensive suite listing"Get all suites for project MCP with hierarchy"Managers
adv_get_all_tcm_test_case_suites_by_projectGet all TCM test case suites with pagination"Get all TCM test case suites for project MCP"Managers, Analysts
adv_get_root_id_by_suite_idFind root suite for any suite"What's the root suite for suite 12345?"Analysts

🔧 Mutation Tools

Safety Model: Every mutation tool follows a two-call confirmation gate. The first call returns a preview; only after user approval should confirm: true be passed to execute the mutation. All mutations are audit-logged to ~/.mcp-zebrunner-audit.jsonl. Use dry_run: true for 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 if review: true was already used. Created test cases are always forced to draft=true, and the hint always reminds the LLM to publish via adv_update_test_case. This approach is inspired by the Strands Agents steering pattern and delivers just-in-time guidance without bloating system prompts.

Suite Mutations

ToolDescriptionExample UsageBest For
adv_create_test_suiteCreate a new Test Suite"Create root suite 'Payments' in project MCP"QA, Managers
adv_update_test_suiteUpdate an existing Test Suite (full PUT)"Rename suite 18697 to 'Login & Registration'"QA, Managers

Test Case Mutations

ToolDescriptionExample UsageBest For
adv_create_test_caseCreate 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_casePartially 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

🔍 Test Coverage & Analysis

Test Impact (PR / code changes) (v9.2.8)

ToolDescriptionExample UsageBest For
adv_analyze_test_impactRank 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.

Coverage Analysis

ToolDescriptionExample UsageBest For
adv_get_test_coverage_by_test_case_steps_by_keyAnalyze implementation coverage"Analyze coverage for MCP-123 against this code: [paste code]"Developers, SDETs
adv_get_enhanced_test_coverage_with_rulesRules-based coverage analysis"Enhanced coverage analysis for MCP-123 with framework detection"SDETs, Leads

Duplicate Analysis

ToolDescriptionExample UsageBest For
adv_analyze_test_cases_duplicatesFind 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_semanticAdvanced 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:

  • Add include_clickable_links: true to make test case keys clickable in markdown output
  • JSON/DTO formats automatically include webUrl fields when enabled
  • Links are generated from your ZEBRUNNER_URL environment variable
  • Example: "Analyze suite 17585 for duplicates with clickable links enabled"

🧪 Test Code Generation & Validation

AI-Powered Tools

ToolDescriptionExample UsageBest For
adv_generate_draft_test_by_keyGenerate test code with framework detection"Generate Java/Carina test for MCP-123 based on this implementation"SDETs, Developers
adv_validate_test_caseQuality validation with improvement"Validate test case MCP-123 and suggest improvements"QA, Managers
adv_improve_test_caseDedicated improvement tool"Improve test case MCP-123 with specific suggestions"QA, SDETs

🚀 Launch & Execution Management

Launch Operations ⭐ Essential for Managers

ToolDescriptionExample UsageBest For
adv_get_launch_detailsComprehensive 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_summaryQuick launch overview"Show me summary for launch 118685"Managers
adv_get_all_launches_for_projectList individual launch executions with pagination"List launches for project MCP from last month"Managers, Leads
adv_get_all_launches_with_filterSearch 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_reportWeekly 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_runtimeRegression 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?"

📊 Reporting & Analytics

Test Failure Analysis 🆕 Game Changer

ToolDescriptionExample UsageBest For
adv_analyze_test_failureDeep 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: true is 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_failures provides 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 compareWithLastPassed parameter in adv_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!

Screenshot Analysis & Visual Forensics 🎯 Enhanced in v4.11.0

ToolDescriptionExample UsageBest For
adv_download_test_screenshotDownload 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_screenshotVisual 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

Read-only access to the files automation attaches to launches and tests (Public API v1 /files). The analysis tools (adv_analyze_test_failure, adv_detailed_analyze_launch_failures, adv_analyze_test_execution_video) use these artifacts automatically.

ToolDescriptionExample UsageBest For
adv_list_test_artifactsList artifacts of a launch/test with name, kind (file/reference) and uuid; no downloads"List artifacts of launch 12345 in project DEMO"QA Engineers, Automation Engineers
adv_get_file_metadataName, content type and size of a file by uuid without downloading it"Get metadata for file aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee"Automation Engineers, Developers
adv_download_artifactRead (inline, default 1 MiB) or save (up to 10 MiB) one artifact; optional redact (off by default)"Download the failure page source for test 67890 in launch 12345"QA Engineers, SDETs, Developers

Storage: analysis tools read artifacts in memory and never save them. Downloads return text inline; only binaries or an explicit outputPath are saved. Saved folders are private (0700), files are 0600, existing files and symlinks are never overwritten, and files in the default temp folders are deleted after ZEBRUNNER_ARTIFACT_TTL_MINUTES (default 60). In HTTP mode artifacts and screenshots are not saved to the server's disk unless ZEBRUNNER_ALLOW_DISK_WRITES_HTTP=true: text comes back inline, screenshots come back inline as base64 (up to 10 MiB), and outputPath is refused. Video frame extraction and the dashboard reports still write to the server's temp or output folders in every mode.

Safety: tools are read-only; the API version path comes from one place (/api/public/v1); saved files only go to the default temp folder zebrunner-artifacts/ or folders listed in ZEBRUNNER_ARTIFACT_DIRS; files over 10 MiB (or over maxBytes for inline return) are refused before download; credentials are never logged or returned. Redaction masks emails and password-node values only when redact: true is set (page sources can contain personal data when returned in full).

📸 Enhanced! Screenshot analysis now integrated directly into adv_analyze_test_failure and analyze_launch_failures - no need to call separately! See Screenshot Analysis Guide for details.

Platform & Results Analysis ⭐ Critical for Management

ToolDescriptionExample UsageBest For
adv_get_platform_results_by_periodAggregated 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_bugsMost frequent defects"Show me top 10 bugs from last week"Managers, Developers
adv_get_bug_reviewDetailed 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_infoComprehensive failure info by hashcode (alternative to auto-fetch)"Get failure info for hashcode 1051677506"Developers, SDETs
adv_get_project_milestonesAvailable milestones (read-only; create milestones with the official MCP create_milestone)"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.

Project Discovery

ToolDescriptionExample UsageBest For
adv_get_available_projectsDiscover all accessible projects"What projects can I access?"All roles
adv_test_reporting_connectionTest API connectivity"Test my connection to Zebrunner"All roles
adv_about_mcp_toolsSummarize 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

🏃 Test Run Management

Public API Test Runs ⭐ Powerful for Analysis

ToolDescriptionExample UsageBest For
adv_list_test_runsAdvanced test run filtering"Get test runs from last 30 days with status 'FAILED'"Managers, SDETs
adv_get_test_run_by_idDetailed test run information"Get details for test run 12345"Managers, QA
adv_list_test_run_test_casesTest cases in a specific run"Show me all test cases in test run 12345"QA, Analysts

Configuration Management

ToolDescriptionExample UsageBest For
adv_get_test_run_result_statusesAvailable result statuses"What result statuses are configured for project MCP?"QA, SDETs
adv_get_test_run_configuration_groupsConfiguration options"Show me configuration groups for project MCP"SDETs, Leads

📎 MCP Resources & Prompts (NEW)

Full guide: docs/RESOURCES_AND_PROMPTS.md — detailed usage, examples, reference tables, and contributor guide.

In addition to tools, the server provides 15 resources and 22 MCP prompts (/pass-rate, /jira-automation-plan, etc.) that improve discoverability and automate complex workflows.

Resources — @ Context Injection

Resources are read-only reference data you attach to your conversation via the @ menu. They help the AI use exact parameter values instead of guessing.

ResourceWhat it provides
@zebrunner://reports/types6 report types with params, defaults, and examples
@zebrunner://periods12 valid time period values (case-sensitive)
@zebrunner://chartsChart formats, types, and 17 supported tools
@zebrunner://formats5 output format families with valid values
@zebrunner://projectsAll accessible projects with keys and IDs
@zebrunner://projects/{key}/suitesRoot test suites for a project
@zebrunner://projects/{key}/suite-hierarchyFull suite tree with parent-child relationships
@zebrunner://projects/{key}/automation-statesAutomation state names and IDs
@zebrunner://projects/{key}/prioritiesPriority levels and IDs
@zebrunner://projects/{key}/milestonesActive and completed milestones
@zebrunner://projects/{key}/result-statusesTest run result statuses
@zebrunner://projects/{key}/configuration-groupsTest run config groups and options
@zebrunner://projects/{key}/fieldsSystem and custom field definitions

Quick example:

@ zebrunner://reports/types
@ zebrunner://projects
Generate an executive dashboard for all starred projects.

Prompts — / Workflow Commands

Prompts are pre-built workflow instructions triggered via the / command menu. Each prompt guides the AI through a tested multi-tool orchestration.

PromptParametersWhat it does
/pass-rateprojects

Similar modules

Browse Software testing