mcp
v0.3.8Loadmill mcp library
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_test_suites Search Test Suites
A tool to search for Loadmill test suites. Returns a list of test suites
| Parameter | Type | Description |
|---|---|---|
labels | array | |
page | integer | page number for pagination |
search | string | free text filter to search for test suites |
validate_test_suite Validate Test Suite
Validates a Loadmill test-suite against the official JSON Schema and Loadmill server rules. Provide exactly one input source: path, content, or the complete id/branch/platform Git source. Do not combine input sources. After local changes, a client agent with filesystem access should run schema validation itself using https://app.loadmill.com/assets/schema/loadmill-test-suite.schema.v1.json. Do not use path when this MCP server is remote. For authoritative Git validation, commit and push the changes first, then provide id, branch, and platform. Loadmill validates the current remote branch HEAD,…
| Parameter | Type | Description |
|---|---|---|
branch | string | Input source 3 of 3: pushed Git branch whose current remote HEAD should be validated. Pass together with id and platform. |
content | Input source 2 of 3: raw YAML/JSON suite content or a parsed suite object. Do not pass with path or Git fields. Prefer the Git source for large suites when the MCP server runs remotely. | |
id | string | Input source 3 of 3: Loadmill test-suite ID. Pass together with branch and platform, without path or content. |
path | string | Input source 1 of 3: path to a YAML or JSON test-suite file. Do not pass with content or Git fields. Use only when the MCP server shares the client agent filesystem. |
platform | string | Input source 3 of 3: version control platform containing the pushed suite. Pass together with id and branch. |
search_test_flows Search Test Flows
A tool to search for Loadmill test flows. Returns a list of test flows
| Parameter | Type | Description |
|---|---|---|
labels | array | |
page | integer | Page number for pagination |
rowsPerPage | integer | Number of flows to return per page |
search | string | Free text or exact flow ID to search for test flows |
status | string | Filter flows by status, such as Active, Draft, Evaluating, or All |
search_test_suite_runs Search Test Suite Runs
A tool to search for Loadmill test suite runs. Returns a list of test suite runs
| Parameter | Type | Description |
|---|---|---|
page | integer | page number for pagination |
search | string | free text filter to search for test suites |
create_new_test_suite Create New Test Suite
A tool to create a new, empty Loadmill test suite. Returns the ID of the newly created test suite.
| Parameter | Type | Description |
|---|---|---|
name | string | Name of the new test suite |
update_test_suite_notes Update Test Suite Notes
A tool to update the notes of a Loadmill test suite.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the test suite to update |
notes * | string | The new notes content for the test suite. Notes support Markdown; use Markdown formatting when it improves readability. |
update_test_suite_flow_notes Update Test Suite Flow Notes
A tool to update the notes of a Loadmill test suite flow.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | ID of the test suite flow to update |
id * | string | ID of the test suite that contains the flow |
notes * | string | The new notes content for the test suite flow. Notes support Markdown; use Markdown formatting when it improves readability. |
check_test_suite_pending_changes Check Test Suite pending changes
Check whether the suite or any of its flows were edited in Loadmill after the last Git sync. This does not compare the tracked branch with the current Git HEAD. Returns the tracked branch, last synced commit SHA, and whether the last sync was a commit or checkout.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the test suite to inspect |
apply_test_suite_sync Apply Test Suite Git Checkout
Start applying the current Git branch head to the Loadmill working copy. This operation overrides any uncommitted changes in the test suite, including all of its flows. The operation runs asynchronously; use get_test_suite_git_checkout_status with the returned operationId until it completes or fails.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Git branch whose head should replace the working copy |
id * | string | ID of the test suite to update |
platform * | string | Version control platform for the suite sync |
get_test_suite_git_checkout_status Get Test Suite Git Checkout Status
Get the status of a test-suite Git checkout started by apply_test_suite_sync. Poll using the returned operationId until status is completed or failed.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the test suite being updated |
operationId * | string | Checkout operation ID returned by apply_test_suite_sync |
run_test_suite Run Test Suite
A tool to run a Loadmill test suite. Returns the id of the running suite
| Parameter | Type | Description |
|---|---|---|
branch | string | Run the suite from a Git branch. The latest version of the selected Git branch will be used as the test configuration for the chosen suite. |
flows | array | Optional list of test suite flow IDs to run. Used to run only specific flows within the suite. This cannot currently be combined with branch. |
id | string | ID of the test suite to run |
overrideParameters | string | Parameters to override in the test suite. A string of comma separated list of key-value pairs, e.g. "param1=value1,param2=value2". |
get_test_suite_run Get Test Suite Run
A tool to get a Loadmill test suite run by its ID. Returns the run details including the testSuiteFlowRuns list that can be fetched later and is useful for understanding the flow of the test run.
| Parameter | Type | Description |
|---|---|---|
id | string | ID of the test suite run to fetch |
get_test_suite_flow_last_trial Get Test Suite Flow Last Trial
Get the latest trial with a stored result for a regular test suite flow. Returns the trial details and result, or an empty object if none exists. This does not start a new trial.
| Parameter | Type | Description |
|---|---|---|
flowId * | string | ID of the test suite flow |
id * | string | ID of the test suite that contains the flow |
get_test_suite_flow_run Get Test Suite Flow Run
A tool to get a Loadmill test suite flow run by its ID. Returns the run details. Use this when investigating the test run results.
| Parameter | Type | Description |
|---|---|---|
flowRunId | string | ID of the test suite flow run to fetch |
search_test_plans Search Test Plans
A tool to search for Loadmill test plans. Returns a list of test plans with their descriptions (names) and the author's information.
| Parameter | Type | Description |
|---|---|---|
page | integer | Zero-based page number for pagination. |
rowsPerPage | integer | Number of plans to return per page. |
search | string | free text filter to search for test suites |
get_test_plan Get Test Plan
Fetch a complete test-plan configuration, including its ordered suites, selection rules, parameters, notifications, retry settings, setup flow, and audit metadata. Use this before updating a plan so unspecified settings can be preserved.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the test plan to fetch. |
create_test_plan Create Test Plan
Create and configure a test plan. Returns the persisted plan after applying its name, notes, ordered suites, and execution settings.
| Parameter | Type | Description |
|---|---|---|
description * | string | Test-plan name. |
multiRun | object | |
notes | string | Optional test-plan notes. |
scheduleTime | string | null | Five-field cron expression interpreted in UTC, such as "0 8 * * *". Pass null to unschedule the plan. |
testSuiteIds | array | Ordered suite IDs used when multiRun.mode is byId. |
update_test_plan Update Test Plan
Safely update selected test-plan fields. Unspecified fields are preserved, null clears an optional execution setting, and the persisted plan is read back after the update. At least one of description, notes, testSuiteIds, multiRun, or scheduleTime must be provided.
| Parameter | Type | Description |
|---|---|---|
id * | string | ID of the test plan to update. |
description | string | New test-plan name. |
multiRun | object | |
notes | string | New test-plan notes. Pass an empty string to clear them. |
scheduleTime | string | null | Five-field cron expression interpreted in UTC, such as "0 8 * * *". Pass null to unschedule the plan. |
testSuiteIds | array | Complete ordered suite ID list. Pass an empty array to remove all pinned suites. |
archive_test_plan Archive Test Plan
Archive a test plan so it is no longer available for normal use. Only call this after the user explicitly asks to archive that specific plan.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to confirm the explicit archive request. |
id * | string | ID of the test plan to archive. |
run_test_plans Run a Test Plan
A tool to run a Loadmill test plan. Returns the id of the running plan
| Parameter | Type | Description |
|---|---|---|
branch | string | Run the test plan from a Git branch. The latest version of the selected Git branch will be used as the test configuration for the plan's suites. |
id | string | ID of the test plan to run |
labels | array | |
overrideParameters | string | Parameters to override in the test plan. A string of comma separated list of key-value pairs, e.g. "param1=value1,param2=value2". |
get_test_plan_run Get Test Plan Run
Get a Loadmill test plan run with shallow flow summaries and grouped retry attempts by default. Summaries include flow statuses and available failure reasons, without full flow configurations or results. Use these summaries to select flow runs for further investigation with get_test_suite_flow_run.
| Parameter | Type | Description |
|---|---|---|
fetchAllFlows | boolean | Include shallow flow summaries for the plan’s suite runs. Set false for suite-level details only. |
groupFlowAttempts | boolean | Group flow retry attempts, retaining individual attempts in runs and marking recovered failures as FLAKY. Only applies when fetchAllFlows is true. |
id | string | ID of the test plan run to fetch |
rename_labels Rename Labels
Rename multiple team labels by ID while preserving their colors and existing references. Use get_labels to identify labels first. Updates are independent; returns renamed IDs and per-label failures.
| Parameter | Type | Description |
|---|---|---|
labels * | array | Labels to rename. Each ID must appear only once. |
delete_labels Delete Labels
Delete multiple team labels by ID, including their flow and test-plan references. Use get_labels to identify labels first. Only call after the user explicitly requests deletion of these labels. This does not check whether labels are unused. Deletions are independent; returns deleted IDs and per-label failures.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true to confirm the user explicitly requested deleting these labels. |
labelIds * | array | Explicit IDs of the labels to delete. |
get_labels Get Labels
A tool to fetch all available labels in Loadmill.