mcp

v0.3.8
@loadmill/mcp Checked 2 hours ago Published 29 days ago

Loadmill 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

ParameterTypeDescription
labelsarray
pageintegerpage number for pagination
searchstringfree 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,…

ParameterTypeDescription
branchstringInput source 3 of 3: pushed Git branch whose current remote HEAD should be validated. Pass together with id and platform.
contentInput 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.
idstringInput source 3 of 3: Loadmill test-suite ID. Pass together with branch and platform, without path or content.
pathstringInput 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.
platformstringInput 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

ParameterTypeDescription
labelsarray
pageintegerPage number for pagination
rowsPerPageintegerNumber of flows to return per page
searchstringFree text or exact flow ID to search for test flows
statusstringFilter flows by status, such as Active, Draft, Evaluating, or All

search_shared_flows Search Shared Flows

Search published Loadmill shared flows that can be used in tests. Search terms can match the flow description or notes in any order.

ParameterTypeDescription
pageintegerPage number for pagination
rowsPerPageintegerNumber of shared flows to return per page
searchstringOptional keywords describing the reusable test logic to find

get_shared_flow Get Shared Flow

Get a Loadmill shared-flow configuration. The active view is the default and returns only the published configuration that executes in tests. Use the draft view before editing; it returns the unpublished configuration, edit metadata, protection state, and whether unpublished changes exist.

ParameterTypeDescription
id *stringID of the shared flow to fetch
viewstringConfiguration to fetch. Use active when incorporating the flow into tests and draft before editing it.

list_shared_flow_versions List Shared Flow Versions

List published versions of a shared flow, newest first. Returns normalized titles, notes, publishing details, and which version is active. Use this before choosing a version to activate.

ParameterTypeDescription
id *stringID of the shared flow whose versions should be listed

update_shared_flow_draft Update Shared Flow Draft

Structurally validate and save the complete unpublished configuration of a shared flow. This updates only the draft and never publishes, activates, or runs it. Pass the complete configuration returned by get_shared_flow with view set to draft. The configuration shape is defined at https://app.loadmill.com/assets/schema/loadmill-test-suite.schema.v1.json#/definitions/SharedFlowConf.

ParameterTypeDescription
conf *objectComplete updated shared-flow draft configuration
id *stringID of the shared flow to update

update_shared_flow_metadata Update Shared Flow Metadata

Update one or more shared-flow metadata fields without changing its configuration or active version. Pass id and at least one of description, notes, or isProtected; multiple metadata fields may be updated together. Only change protection when the user explicitly asks for it. Reports each requested update separately if only part succeeds.

ParameterTypeDescription
id *stringID of the shared flow to update
descriptionstringOptional new shared-flow name or description
isProtectedbooleanOptional protection state; only pass when explicitly requested by the user
notesstringOptional new notes describing when and how to use the shared flow. Notes support Markdown; use Markdown formatting when it improves readability.

create_shared_flow Create Shared Flow

Create an empty unpublished shared-flow draft with the supplied description. Optional notes and protection are applied after creation. Use update_shared_flow_draft afterward to add parameters and steps. If metadata updates partially fail, use the returned sharedFlowId and do not create the flow again.

ParameterTypeDescription
description *stringName or description of the new shared flow
isProtectedbooleanOptional protection state to apply after creating the shared flow
notesstringOptional notes describing when and how to use the shared flow. Notes support Markdown; use Markdown formatting when it improves readability.

run_shared_flow_trial Run Shared Flow Trial

Start a trial of the current unpublished shared-flow draft and immediately return its trialRunId. The trial makes real network requests and may mutate external systems, so only call it after the user explicitly asks for or approves the run. Use get_shared_flow_trial to check its status and result without starting another trial.

ParameterTypeDescription
id *stringID of the shared-flow draft to run

get_shared_flow_trial Get Shared Flow Trial

Get the current status and available result of a previously started shared-flow trial.

ParameterTypeDescription
id *stringID of the shared flow
trialRunId *stringTrial run ID returned by run_shared_flow_trial

publish_shared_flow_version Publish Shared Flow Version

Publish the current shared-flow draft as a new version without running it. Existing shared flows are published inactive. The first version of a new shared flow becomes active automatically because no active version exists yet. Returns the new version ID for optional activation.

ParameterTypeDescription
id *stringID of the shared flow whose draft should be published
title *stringShort title for the published version
descriptionstringOptional details describing the changes in this version

activate_shared_flow_version Activate Shared Flow Version

Make a published shared-flow version active. This changes what tests using the shared flow execute. Only call after the user explicitly asks for or approves activation. Existing server permissions remain authoritative.

ParameterTypeDescription
id *stringID of the shared flow
versionId *stringID of the published version to activate

search_test_suite_runs Search Test Suite Runs

A tool to search for Loadmill test suite runs. Returns a list of test suite runs

ParameterTypeDescription
pageintegerpage number for pagination
searchstringfree 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.

ParameterTypeDescription
namestringName of the new test suite

update_test_suite_notes Update Test Suite Notes

A tool to update the notes of a Loadmill test suite.

ParameterTypeDescription
id *stringID of the test suite to update
notes *stringThe 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.

ParameterTypeDescription
flowId *stringID of the test suite flow to update
id *stringID of the test suite that contains the flow
notes *stringThe 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.

ParameterTypeDescription
id *stringID 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.

ParameterTypeDescription
branch *stringGit branch whose head should replace the working copy
id *stringID of the test suite to update
platform *stringVersion 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.

ParameterTypeDescription
id *stringID of the test suite being updated
operationId *stringCheckout 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

ParameterTypeDescription
branchstringRun 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.
flowsarrayOptional list of test suite flow IDs to run. Used to run only specific flows within the suite. This cannot currently be combined with branch.
idstringID of the test suite to run
overrideParametersstringParameters 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.

ParameterTypeDescription
idstringID 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.

ParameterTypeDescription
flowId *stringID of the test suite flow
id *stringID 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.

ParameterTypeDescription
flowRunIdstringID 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.

ParameterTypeDescription
pageintegerZero-based page number for pagination.
rowsPerPageintegerNumber of plans to return per page.
searchstringfree 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.

ParameterTypeDescription
id *stringID 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.

ParameterTypeDescription
description *stringTest-plan name.
multiRunobject
notesstringOptional test-plan notes.
scheduleTimestring | nullFive-field cron expression interpreted in UTC, such as "0 8 * * *". Pass null to unschedule the plan.
testSuiteIdsarrayOrdered 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.

ParameterTypeDescription
id *stringID of the test plan to update.
descriptionstringNew test-plan name.
multiRunobject
notesstringNew test-plan notes. Pass an empty string to clear them.
scheduleTimestring | nullFive-field cron expression interpreted in UTC, such as "0 8 * * *". Pass null to unschedule the plan.
testSuiteIdsarrayComplete 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.

ParameterTypeDescription
confirm *booleanMust be true to confirm the explicit archive request.
id *stringID 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

ParameterTypeDescription
branchstringRun 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.
idstringID of the test plan to run
labelsarray
overrideParametersstringParameters 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.

ParameterTypeDescription
fetchAllFlowsbooleanInclude shallow flow summaries for the plan’s suite runs. Set false for suite-level details only.
groupFlowAttemptsbooleanGroup flow retry attempts, retaining individual attempts in runs and marking recovered failures as FLAKY. Only applies when fetchAllFlows is true.
idstringID 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.

ParameterTypeDescription
labels *arrayLabels 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.

ParameterTypeDescription
confirm *booleanMust be true to confirm the user explicitly requested deleting these labels.
labelIds *arrayExplicit IDs of the labels to delete.

get_labels Get Labels

A tool to fetch all available labels in Loadmill.