testdino-mcp
v1.0.2A 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Your 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…
| Parameter | Type | Description |
|---|---|---|
by_author | string | Filter by commit author name (case-insensitive, partial match). |
by_branch | string | Filter by git branch name (e.g., 'main', 'develop', 'feature/login'). |
by_commit | string | Filter by git commit hash (full or partial). |
by_environment | string | Filter by environment. Example: 'production', 'staging', 'development'. |
by_time_interval | string | Filter 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_all | boolean | Get all results up to 1000 (default: false). |
limit | number | Number of results per page (default: 20, max: 1000). |
page | number | Page 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.
| Parameter | Type | Description |
|---|---|---|
counter | number | Filter by test run counter (sequential number). |
testrun_id | string | Test 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.
| Parameter | Type | Description |
|---|---|---|
htmlReport | string | Specific HTML report path (overrides reportDir). |
jsonReport | string | Specific JSON report file path (overrides reportDir). |
reportDir | string | Path to Playwright report directory. Use absolute path (e.g., '/Users/jon/project/playwright-report' or 'C:\Users\jon\project\playwright-report'). Default: './playwright-report'. |
traceDir | string | Specific trace directory path (overrides reportDir). |
uploadFiles | boolean | Upload file attachments (.md, .pdf, .txt, .log). Default: false. |
uploadFullJson | boolean | Upload complete JSON bundle with all artifacts (alternative to uploadHtml). Default: false. |
uploadHtml | boolean | Upload HTML reports with all data (JSON, images, videos). Recommended. Default: true. |
uploadImages | boolean | Upload screenshot images. Default: false (included in uploadHtml). |
uploadTraces | boolean | Upload Playwright trace files for debugging. Default: false. |
uploadVideos | boolean | Upload test execution videos. Default: false (included in uploadHtml). |
verbose | boolean | Show 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.
| Parameter | Type | Description |
|---|---|---|
by_artifacts | boolean | Filter 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_number | number | Filter by attempt number. Example: 1 for first attempt, 2 for second attempt. (ID/Counter is required while using this parameter) |
by_author | string | Filter 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_branch | string | Filter 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_name | string | Filter by browser name. Example: 'chromium', 'firefox', 'webkit'. (ID/Counter is required while using this parameter) |
by_commit | string | Filter 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_environment | string | Filter 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_category | string | Filter by error category. Example: 'timeout_issues', 'element_not_found', 'assertion_failures', 'network_issues'. (ID/Counter is required while using this parameter) |
by_error_message | string | Filter by error message (partial match, case-insensitive). Example: 'Test timeout of 60000ms exceeded'. (ID/Counter is required while using this parameter) |
by_pages | number | List 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_name | string | Filter by spec file name. Example: 'login.spec.js' or 'user-profile.spec.ts'. (ID/Counter is required while using this parameter) |
by_status | string | Filter by status: 'passed', 'failed', 'skipped', or 'flaky'.(ID/Counter is required while using this parameter) |
by_tag | string | Filter by tag(s). Single tag or comma-separated. Example: 'smoke' or 'smoke,regression'. (ID/Counter is required while using this parameter) |
by_testrun_id | string | Test 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_interval | string | Filter 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_runtime | string | Filter 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) |
counter | number | Test 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_all | boolean | Get 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. |
limit | number | Number 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. |
page | number | Page 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'.
| Parameter | Type | Description |
|---|---|---|
counter | number | Test 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_id | string | Test case ID. Can be used alone to get test case details. Example: 'test_case_123'. |
testcase_name | string | Test 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_id | string | Test run ID. Required when using testcase_name to specify which test run's test case you want. Example: 'test_run_6901b2abc6b187e63f536a6b'. |