testdino-mcp

v1.0.2
io.github.testdino-inc/testdino-mcp Checked 15 hours ago Published 12 months ago

A MCP server for TestDino

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

health

Check if your TestDino connection is working. Verifies your API key and shows your project name. Use this first to make sure everything is set up correctly.

ParameterTypeDescription
name *stringYour name (used in the greeting message).

list_testruns

Browse and filter your test runs to find specific test executions. Filter by git branch (e.g., 'develop', 'main'), time interval ('1d', '3d', 'weekly', 'monthly', or custom date ranges), commit author, or environment (e.g., 'production', 'staging', 'development'). Supports efficient pagination using page/limit or offset/limit, or use get_all=true to fetch all results (up to 1000). Returns test run summaries with statistics (total, passed, failed, skipped, flaky counts), duration, status, branch, author, and PR information when available. Perfect for answering questions like 'What tests ran on…

ParameterTypeDescription
by_authorstringFilter by commit author name (case-insensitive, partial match).
by_branchstringFilter by git branch name (e.g., 'main', 'develop', 'feature/login').
by_commitstringFilter by git commit hash (full or partial).
by_environmentstringFilter by environment. Example: 'production', 'staging', 'development'.
by_time_intervalstringFilter by time: '1d' (last day), '3d' (last 3 days), 'weekly' (last 7 days), 'monthly' (last 30 days), or '2024-01-01,2024-01-31' (date range).
get_allbooleanGet all results up to 1000 (default: false).
limitnumberNumber of results per page (default: 20, max: 1000).
pagenumberPage number (default: 1).

get_run_details

Get detailed information about test runs. Shows test statistics (passed, failed, skipped, flaky), all test suites and cases, git metadata, and error details. Supports batch operations (comma-separated IDs, max 20). Use this to analyze test execution health or debug specific failures.

ParameterTypeDescription
counternumberFilter by test run counter (sequential number).
testrun_idstringTest run ID(s). Single ID or comma-separated for batch (max 20). Example: 'test_run_123' or 'run1,run2,run3'.

upload_latest_local_test_runs

Upload your local Playwright test results to TestDino. After running tests locally, upload the report to track and analyze results. Automatically detects git info (branch, commit, author). Use absolute paths for best results.

ParameterTypeDescription
htmlReportstringSpecific HTML report path (overrides reportDir).
jsonReportstringSpecific JSON report file path (overrides reportDir).
reportDirstringPath to Playwright report directory. Use absolute path (e.g., '/Users/jon/project/playwright-report' or 'C:\Users\jon\project\playwright-report'). Default: './playwright-report'.
traceDirstringSpecific trace directory path (overrides reportDir).
uploadFilesbooleanUpload file attachments (.md, .pdf, .txt, .log). Default: false.
uploadFullJsonbooleanUpload complete JSON bundle with all artifacts (alternative to uploadHtml). Default: false.
uploadHtmlbooleanUpload HTML reports with all data (JSON, images, videos). Recommended. Default: true.
uploadImagesbooleanUpload screenshot images. Default: false (included in uploadHtml).
uploadTracesbooleanUpload Playwright trace files for debugging. Default: false.
uploadVideosbooleanUpload test execution videos. Default: false (included in uploadHtml).
verbosebooleanShow detailed logging. Default: false.

list_testcase

List test cases with comprehensive filtering options. You can filter by test run (ID or counter), status, spec file, error category, browser, tags, runtime, artifacts, error messages, attempt number, branch, time interval, environment, author, or commit hash. When using test run filters (by_branch, by_commit, by_author, by_environment, by_time_interval, by_pages, page, limit, get_all), the tool first lists test runs matching those criteria, then returns test cases from those filtered test runs. Use this to find specific test cases across your test runs.

ParameterTypeDescription
by_artifactsbooleanFilter test cases that have artifacts available (screenshots, videos, traces). Set to true to list only test cases with artifacts. (ID/Counter is required while using this parameter)
by_attempt_numbernumberFilter by attempt number. Example: 1 for first attempt, 2 for second attempt. (ID/Counter is required while using this parameter)
by_authorstringFilter by commit author name (case-insensitive, partial match). Does not require testrun_id or counter. First lists test runs by the specified author, then returns test cases from those test runs.
by_branchstringFilter by git branch name. Does not require testrun_id or counter. First lists test runs on the specified branch, then returns test cases from those test runs. Example: 'main', 'develop'.
by_browser_namestringFilter by browser name. Example: 'chromium', 'firefox', 'webkit'. (ID/Counter is required while using this parameter)
by_commitstringFilter by git commit hash (full or partial). Does not require testrun_id or counter. First lists test runs with the specified commit, then returns test cases from those test runs.
by_environmentstringFilter by environment. Does not require testrun_id or counter. First lists test runs in the specified environment, then returns test cases from those test runs. Example: 'production', 'staging', 'deve…
by_error_categorystringFilter by error category. Example: 'timeout_issues', 'element_not_found', 'assertion_failures', 'network_issues'. (ID/Counter is required while using this parameter)
by_error_messagestringFilter by error message (partial match, case-insensitive). Example: 'Test timeout of 60000ms exceeded'. (ID/Counter is required while using this parameter)
by_pagesnumberList test cases by page number. Does not require testrun_id or counter. Returns test cases from all test runs on the specified page.
by_spec_file_namestringFilter by spec file name. Example: 'login.spec.js' or 'user-profile.spec.ts'. (ID/Counter is required while using this parameter)
by_statusstringFilter by status: 'passed', 'failed', 'skipped', or 'flaky'.(ID/Counter is required while using this parameter)
by_tagstringFilter by tag(s). Single tag or comma-separated. Example: 'smoke' or 'smoke,regression'. (ID/Counter is required while using this parameter)
by_testrun_idstringTest run ID(s). Single ID or comma-separated for multiple runs (max 20). Example: 'test_run_123' or 'run1,run2,run3'. Not required when using test run filters (by_branch, by_commit, by_author, by_envi…
by_time_intervalstringFilter by time interval. Does not require testrun_id or counter. First lists test runs in the specified time period, then returns test cases from those test runs. Supports: '1d' (last day), '3d' (last…
by_total_runtimestringFilter by total runtime. Use '<60' for less than 60 seconds, '>100' for more than 100 seconds. Example: '<60', '>100', '<30'. (ID/Counter is required while using this parameter)
counternumberTest run counter number. Alternative to by_testrun_id. Not required when using test run filters (by_branch, by_commit, by_author, by_environment, by_time_interval, by_pages, page, limit, get_all). Exa…
get_allbooleanGet all results up to 1000 (default: false). Does not require testrun_id or counter. When used alone, first lists all test runs, then returns test cases from those test runs.
limitnumberNumber of results per page (default: 1000, max: 1000). Does not require testrun_id or counter. When used alone, first lists test runs, then returns test cases from those test runs.
pagenumberPage number for pagination (default: 1). Does not require testrun_id or counter. When used alone, first lists test runs on the specified page, then returns test cases from those test runs.

get_testcase_details

Get detailed information about a specific test case. You can identify the test case in two ways: 1) By testcase_id (can be used alone), or 2) By testcase_name combined with testrun_id or counter (required because test cases can have the same name across different test runs). Shows error messages, stack traces, test steps, console logs, and optional artifacts (screenshots, videos, traces). Use this to debug why a test failed or understand how it executed. Example: 'Get test case details for "Verify user can logout and login" in testrun #43'.

ParameterTypeDescription
counternumberTest run counter number. Required when using testcase_name (if testrun_id is not provided) to specify which test run's test case you want. Example: 43.
testcase_idstringTest case ID. Can be used alone to get test case details. Example: 'test_case_123'.
testcase_namestringTest case name/title. Must be combined with either testrun_id or counter to identify which test run's test case you want. Example: 'Verify user can logout and login'.
testrun_idstringTest run ID. Required when using testcase_name to specify which test run's test case you want. Example: 'test_run_6901b2abc6b187e63f536a6b'.