For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Getting Started with TestMu AI MCP Server

TestMu AI MCP Server is a remote MCP server that connects MCP-compatible AI clients to your TestMu AI testing environment. It gives you access to tools for TestMu AI products - Automation, HyperExecute, SmartUI, Test Manager, mobile apps and devices, Accessibility, Analytics, Agent Testing, and Agent Assurance - which you can invoke through natural language prompts in your IDE or AI client.

Available Tools​


TestMu AI MCP Server provides 110 tools in nine product families. Each tool does one thing and is named <product>_<verb>_<noun>, for example automation_get_test or smartui_list_builds.

ProductToolsWhat you can do
Automation23Web and app automation builds, tests, command, network, console and Selenium logs, sessions, tunnels and concurrency.
HyperExecute13Generate HyperExecute YAML, search the docs, and inspect jobs, stages, logs and artifacts.
SmartUI13Find changed screenshots, summarize comparisons, approve or reject them, and merge baselines.
Test Manager28Generate test cases with AI, build test runs, record results, and track milestones and coverage.
Mobile apps and devices10Upload and list apps, find real devices, and list app builds and sessions.
Accessibility4Scan public URLs or a local app through a tunnel, and read scan reports.
Analytics4Pass rates, trends, flaky tests and common errors for web automation.
Agent Testing5Find and run scenarios for chat, voice, phone caller and image analyser agent projects, and read results.
Agent Assurance10Read Agent Assurance projects, agents, scenarios and runs.

Every tool is marked read-only or not, and destructive or not, so your AI client knows which calls change your account and can ask you to confirm them first.

Analytics​

ToolWhat it doesAccess
analytics_get_summarySummarizes web automation test results in a date range: totals by status, pass rate, average duration and builds, grouped by status, browser, OS, build, device or day.Read-only
analytics_list_flaky_testsLists tests that TestMu AI Test Intelligence marks as flaky in a date range, with each test's flake rate, build and environment.Read-only
analytics_get_trendsDaily trend of web automation test results in a date range: total, passed and failed tests and pass rate per day.Read-only
analytics_get_errorsSummarises failed and errored web automation tests in a date range: counts by failure category and by status, and the failing tests themselves with build and environment.Read-only

Agent Testing​

ToolWhat it doesAccess
agent_testing_overviewShows what is set up in Agent to Agent Testing: your projects with their type and suite and scenario counts, or one project with its suites and agents.Read-only
agent_testing_find_scenariosShows what a chat, voice or phone caller project tests: its scenarios with title, persona, category, a short description and the suites each belongs to.Read-only
agent_testing_get_resultsShows how the agent under test is doing: pass rates per suite, results by outcome across a project, or every scenario result in one suite.Read-only
agent_testing_explain_resultExplains one test result in depth, from the result reference of a row returned by agent_testing_get_results.Read-only
agent_testing_run_suiteStarts a test run of a chat, voice or phone caller suite exactly as it is configured in the product UI: every scenario of the suite, with its voices and personas.Changes data (destructive)

Agent Assurance​

ToolWhat it doesAccess
rook_list_projectsList Agent Assurance projects with agent, run, user, and activity counts.Read-only
rook_list_agentsList AI agents recorded for a Rook project, including versions, counts, findings, and latest verdict summaries.Read-only
rook_get_agentGet one AI agent and its selected or current version, topology, tracks, and invocation profiles.Read-only
rook_list_agent_versionsList recorded versions of an AI agent with feature/scenario counts, model, creation time, and current-version marker.Read-only
rook_list_scenariosList assurance scenarios for an AI agent, including classification, criteria counts, executability, and latest result.Read-only
rook_get_scenarioGet one assurance scenario, its bounded goal and criteria, execution limits, and recent verdict attempts.Read-only
rook_list_runsList recorded assurance runs for an AI agent with status, verdict counts, pass rate, credits, duration, and timestamps.Read-only
rook_get_runGet one recorded assurance run and the status and verdict summary for each scenario attempt.Read-only
rook_get_scenario_resultGet one scenario verdict from a recorded run, including outcome, reason, metrics, and bounded per-criterion explanations/evidence.Read-only
rook_get_credit_balanceGet the account's Agent Assurance credit balance, reservation, and validity.Read-only

Access shows what a tool can do to your account: Read-only tools only read data; Changes data tools create or edit something; destructive tools overwrite, delete, stop, approve, merge, spend credits or place calls, so your AI client may ask you to confirm before it runs them.

Tool Names Changed in Version 1.1.0​

Version 1.1.0 renamed every tool and split the tools that took an action or resource argument into one tool per operation. If you call tools by name (for example in a script or a saved prompt), update the names:

  • The old names in the first table below keep working until 15 December 2026. They are no longer listed, and each result carries a note with the new name.
  • The tools in the second table were split or removed. Their old names, including automationQuery, no longer work: use the tools listed beside them.
Old and new tool names
Old nameNew name
buildLocalAppForAnalysisa11y_get_tunnel_setup_steps
analyzeAppViaTunnela11y_run_local_scan
getAnalyticsErrorsanalytics_get_errors
getAnalyticsDataanalytics_get_summary
getTestTrendsanalytics_get_trends
getFlakyTestsanalytics_list_flaky_tests
deleteUploadedAppsapp_delete_apps
getMobileConcurrencyapp_get_concurrency
listUploadedAppsapp_list_apps
listMobileBuildsapp_list_builds
getMobileCapabilityGeneratorapp_list_device_catalog
listDevicesForTestingapp_list_devices
listMobileSessionsapp_list_sessions
checkAppProcessingStatusapp_prepare_real_device_features
upload_appapp_upload_real_device
uploadAppVirtualDeviceapp_upload_virtual_device
postSessionExceptionsautomation_add_session_exceptions
postTestExceptionsautomation_add_test_exceptions
deleteBuildautomation_delete_build
deletePrerunFileautomation_delete_prerun_file
deleteSessionautomation_delete_session
deleteUserFileautomation_delete_user_file
getAutomationTestCommandLogsautomation_get_command_logs
getOrgConcurrencyautomation_get_concurrency
getAutomationTestBrowserConsoleLogsautomation_get_console_logs
getAutomationTestNetworkLogsautomation_get_network_logs
getAutomationTestSeleniumLogsautomation_get_selenium_logs
getSessionScreenshotsautomation_get_session_screenshots
getSessionVideoautomation_get_session_video
getAutomationTestDetailsautomation_get_test
getSupportedPlatformsautomation_list_platforms
listTunnelsautomation_list_tunnels
stopBuildautomation_stop_build
stopSessionautomation_stop_session
stopTunnelautomation_stop_tunnel
updateBuildautomation_update_build
updateSessionautomation_update_session
analyzeHyperExecuteJobhyperexecute_analyze_job
generateHyperExecuteYAMLhyperexecute_generate_yaml
getJobArtifactDetailhyperexecute_get_artifact
downloadJobArtifacthyperexecute_get_artifact (artefactName is passed as artifactId)
getHyperExecuteJobInfohyperexecute_get_job
getHyperExecuteStageLogshyperexecute_get_stage_logs
getHyperExecuteTaskLogshyperexecute_get_task_logs
getHyperExecuteJobArtifactshyperexecute_list_job_artifacts
getHyperExecuteJobSessionshyperexecute_list_job_sessions
listHyperExecuteJobshyperexecute_list_jobs
getHyperExecuteStageTaskshyperexecute_list_stage_tests
getHyperExecuteStagehyperexecute_list_task_stages
answerHyperExecuteQueryhyperexecute_search_docs
smartui_comparison_analyzesmartui_analyze_comparison
smartui_screenshot_uploadsmartui_upload_screenshots
Split or removed tools
Old nameNow
automationQueryautomation_list_builds, automation_get_build, automation_list_sessions, automation_get_session, automation_get_test and the automation_get_*_logs tools
smartui_project_querysmartui_list_projects, smartui_get_project
smartui_build_querysmartui_list_builds, smartui_get_build, smartui_get_build_verdict
smartui_comparison_querysmartui_list_comparisons, smartui_get_comparison
smartui_screenshot_reviewsmartui_approve_screenshot, smartui_reject_screenshot
smartui_baseline_managesmartui_merge_branch_baseline, smartui_merge_build_baseline
getAccessibilityReporta11y_run_scan (new scan), a11y_get_report (read a scan by testId)
tm_get_test_casestm_list_test_cases, tm_get_test_case
tm_get_test_runstm_list_test_runs, tm_get_test_run
tm_get_milestone (list mode)tm_list_milestones; tm_get_milestone gets one milestone
tm_generate_test_cases with request_id or auto_savetm_get_test_case_generation, tm_save_generated_test_cases
tm_update_test_run with archivetm_archive_test_run
getSessionV2CommandLogs, getSessionV2SeleniumLogs, getLiveSessionLogsRemoved: they returned the same log as automation_get_command_logs and automation_get_selenium_logs
getHyperExecuteTask, getHyperExecuteJobLiveStreamRemoved: a duplicate of hyperexecute_list_task_stages, and a stream with no backend endpoint
triggerSuiteRun, getSuiteOverviewReplaced by the five agent_testing_* tools, which cover phone caller projects alongside chat, voice and image analyser

Connecting to TestMu AI MCP Server​


TestMu AI MCP Server works with any MCP-compatible AI client. Pick your client below, paste the configuration, and complete the OAuth flow with your TestMu AI account.

  • Server URL: https://mcp.lambdatest.com/mcp
  • Authentication: OAuth (you will be redirected to testmuai.com on first use)

EU Data Center Accounts​

If your TestMu AI account is in the EU data center (GDPR), add ?region=eu to the server URL in every configuration on this page:

https://mcp.lambdatest.com/mcp?region=eu

With this URL, sign-in opens the EU login page (eu-accounts.lambdatest.com) and the tools work with your EU account data. For example, in Claude Code:

claude mcp add --transport http mcp-lambdatest "https://mcp.lambdatest.com/mcp?region=eu"
note

Always use the ?region=eu URL with an EU account. Without it, sign-in goes to the US login page.

The Agent Testing and Agent Assurance tools, and hyperexecute_get_task_errors, are not available for EU accounts yet. They return a message saying so.

Cursor​

Use the one-click install button to add the server to Cursor:

Install in Cursor

Or configure manually:

  1. Open Cursor Settings > Tools & MCP and click Add new MCP server.
  2. Paste the configuration:
Verified
{
"mcpServers": {
"mcp-lambdatest": {
"url": "https://mcp.lambdatest.com/mcp"
}
}
}
  1. Save and restart Cursor. Complete the OAuth flow when prompted.

Project-level configuration: Create .cursor/mcp.json in your project root to share with your team.

Claude Code​

Run this in your terminal:

Verified
claude mcp add --transport http mcp-lambdatest https://mcp.lambdatest.com/mcp

Then run /mcp inside Claude Code, select mcp-lambdatest, and complete the OAuth flow.

Scope flags: --scope local (default, current project), --scope project (shared via .mcp.json), --scope user (all projects).

Claude Desktop​

  1. Open Settings > Connectors.
  2. Click Add Custom Connector and enter the URL:
Verified
https://mcp.lambdatest.com/mcp
  1. Complete the OAuth flow to connect your TestMu AI account.

Custom connectors in Claude Desktop are configured through Settings > Connectors, not the claude_desktop_config.json file. Custom connectors are available on Pro, Max, Team, and Enterprise plans.

Claude.ai (Web)​

  1. Go to claude.ai/settings/connectors.
  2. Click Add custom connector and enter:
    • Name: TestMu AI
    • URL: https://mcp.lambdatest.com/mcp
  3. Click Add, then Connect and complete the OAuth flow.
  4. To use the connector in a chat, click the + button in the chat input and enable TestMu AI under Connectors.

GitHub Copilot (VS Code)​

  1. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and run MCP: Add Server, choosing Workspace or Global. Or create .vscode/mcp.json manually:
Verified
{
"servers": {
"mcp-lambdatest": {
"type": "http",
"url": "https://mcp.lambdatest.com/mcp"
}
}
}
  1. When prompted, confirm that you trust the server.
  2. Complete the OAuth flow when first invoked. Use MCP: List Servers to manage installed servers.

Antigravity​

  1. In the Agent panel, click the ... menu, then MCP Servers, then Manage MCP Servers.
  2. Click View raw config and add the configuration to mcp_config.json:
Verified
{
"mcpServers": {
"mcp-lambdatest": {
"serverUrl": "https://mcp.lambdatest.com/mcp"
}
}
}
  1. Save and refresh the MCP servers panel. Complete the OAuth flow when prompted.
note

Antigravity has a global limit of around 100 active MCP tools across all servers. If you are hitting that limit, disable tools you do not need from the MCP settings panel.

OpenAI Codex CLI​

Run this in your terminal:

Verified
codex mcp add mcp-lambdatest --url https://mcp.lambdatest.com/mcp

Then start an OAuth login:

Verified
codex mcp login mcp-lambdatest

Verify with codex mcp list.

Manual config: Add the following to ~/.codex/config.toml:

Verified
[mcp_servers.mcp-lambdatest]
url = "https://mcp.lambdatest.com/mcp"

Cline (VS Code)​

  1. Open the Cline panel in VS Code, then MCP Servers > Configure MCP Servers.
  2. Paste the configuration:
Verified
{
"mcpServers": {
"mcp-lambdatest": {
"disabled": false,
"timeout": 60,
"command": "npx",
"args": ["mcp-remote@latest", "https://mcp.lambdatest.com/mcp"],
"alwaysAllow": []
}
}
}
  1. Click Authenticate and complete the OAuth flow.

Continue​

  1. Create .continue/mcpServers/testmu-ai.yaml in your workspace and add:
Verified
name: TestMu AI mcpServer
version: 0.0.1
schema: v1
mcpServers:
- name: TestMu AI
type: streamable-http
url: https://mcp.lambdatest.com/mcp
  1. Switch to Agent Mode in Continue and complete the OAuth flow when prompted.
note

MCP servers in Continue work in Agent Mode only.

Other Tools​

If your MCP client is not listed above, use one of these connection methods:

TransportURLNotes
Streamable HTTP (recommended)https://mcp.lambdatest.com/mcpModern transport, widely supported
STDIO (via mcp-remote)See belowFallback for clients that only support stdio

Universal STDIO configuration for any client that accepts the standard mcpServers format:

Verified
{
"mcpServers": {
"mcp-lambdatest": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "https://mcp.lambdatest.com/mcp"]
}
}
}

A Typical Workflow​


Once connected, open your project in your AI-enabled IDE and use natural language to invoke tools:

  1. Open your project in your AI-enabled IDE.
  2. Open the chat panel of your MCP client.
  3. Type: Analyze the project and create a TestMu AI YAML file using the TestMu AI MCP Server.

Your client will:

  • Analyze your project structure
  • Identify your testing framework and test files
  • Generate appropriate test runner commands
  • Create a complete TestMu AI YAML configuration tailored to your project
  • Save the YAML file to your project directory

You can also ask questions like:

  • "What does failFast in HyperExecute mean?"
  • "Triage the last failed test on TestID XXXXX."
  • "Which screenshots changed in my latest SmartUI build?"
  • "Run an accessibility report on https://example.com."
  • "Generate test cases from this requirement into my Regression folder in Test Manager."
  • "Show me my flaky tests from the last 7 days."

Troubleshooting​


OAuth flow does not open or fails

  • Make sure pop-ups are not blocked in your default browser.
  • If you have previously connected and the connection has expired, look for a Disconnect or Clear authentication option in your client's MCP settings, then reconnect.
  • Verify your TestMu AI account has the necessary permissions for the workspace you are trying to access.

EU account: the US login page opens or tools return 401

  • Check that the server URL ends with ?region=eu.
  • If you added the server before EU support was available, your client may still hold the old sign-in. Remove the server, add it again with the ?region=eu URL, and sign in again. In Claude Code, run claude mcp remove mcp-lambdatest and then the claude mcp add command above.

Tools not appearing after configuration

  • Fully restart your client (close and reopen, not just reload the window).
  • For Cursor, Claude Desktop, and Antigravity, this means quitting from the Dock or Taskbar.
  • For VS Code, Cline, Continue, and Zed, reload the window via the Command Palette.
  • For Continue, confirm you are in Agent Mode.
  • For Antigravity, check that you have not exceeded the active tool limit across all MCP servers.
  • Verify the configuration JSON, TOML, or YAML is valid (no trailing commas, matching braces, correct indentation).

Command not found: npx errors

This usually means your MCP client cannot find Node.js on its PATH. Use the full path to npx:

Verified
which npx   # macOS/Linux
where npx # Windows

Then replace "command": "npx" in your config with the full path returned (for example, /usr/local/bin/npx).

Help and Support

Related Articles