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.
| Product | Tools | What you can do |
|---|---|---|
| Automation | 23 | Web and app automation builds, tests, command, network, console and Selenium logs, sessions, tunnels and concurrency. |
| HyperExecute | 13 | Generate HyperExecute YAML, search the docs, and inspect jobs, stages, logs and artifacts. |
| SmartUI | 13 | Find changed screenshots, summarize comparisons, approve or reject them, and merge baselines. |
| Test Manager | 28 | Generate test cases with AI, build test runs, record results, and track milestones and coverage. |
| Mobile apps and devices | 10 | Upload and list apps, find real devices, and list app builds and sessions. |
| Accessibility | 4 | Scan public URLs or a local app through a tunnel, and read scan reports. |
| Analytics | 4 | Pass rates, trends, flaky tests and common errors for web automation. |
| Agent Testing | 5 | Find and run scenarios for chat, voice, phone caller and image analyser agent projects, and read results. |
| Agent Assurance | 10 | Read 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
| Tool | What it does | Access |
|---|---|---|
analytics_get_summary | Summarizes 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_tests | Lists 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_trends | Daily trend of web automation test results in a date range: total, passed and failed tests and pass rate per day. | Read-only |
analytics_get_errors | Summarises 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
| Tool | What it does | Access |
|---|---|---|
agent_testing_overview | Shows 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_scenarios | Shows 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_results | Shows 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_result | Explains one test result in depth, from the result reference of a row returned by agent_testing_get_results. | Read-only |
agent_testing_run_suite | Starts 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
| Tool | What it does | Access |
|---|---|---|
rook_list_projects | List Agent Assurance projects with agent, run, user, and activity counts. | Read-only |
rook_list_agents | List AI agents recorded for a Rook project, including versions, counts, findings, and latest verdict summaries. | Read-only |
rook_get_agent | Get one AI agent and its selected or current version, topology, tracks, and invocation profiles. | Read-only |
rook_list_agent_versions | List recorded versions of an AI agent with feature/scenario counts, model, creation time, and current-version marker. | Read-only |
rook_list_scenarios | List assurance scenarios for an AI agent, including classification, criteria counts, executability, and latest result. | Read-only |
rook_get_scenario | Get one assurance scenario, its bounded goal and criteria, execution limits, and recent verdict attempts. | Read-only |
rook_list_runs | List recorded assurance runs for an AI agent with status, verdict counts, pass rate, credits, duration, and timestamps. | Read-only |
rook_get_run | Get one recorded assurance run and the status and verdict summary for each scenario attempt. | Read-only |
rook_get_scenario_result | Get one scenario verdict from a recorded run, including outcome, reason, metrics, and bounded per-criterion explanations/evidence. | Read-only |
rook_get_credit_balance | Get 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 name | New name |
|---|---|
buildLocalAppForAnalysis | a11y_get_tunnel_setup_steps |
analyzeAppViaTunnel | a11y_run_local_scan |
getAnalyticsErrors | analytics_get_errors |
getAnalyticsData | analytics_get_summary |
getTestTrends | analytics_get_trends |
getFlakyTests | analytics_list_flaky_tests |
deleteUploadedApps | app_delete_apps |
getMobileConcurrency | app_get_concurrency |
listUploadedApps | app_list_apps |
listMobileBuilds | app_list_builds |
getMobileCapabilityGenerator | app_list_device_catalog |
listDevicesForTesting | app_list_devices |
listMobileSessions | app_list_sessions |
checkAppProcessingStatus | app_prepare_real_device_features |
upload_app | app_upload_real_device |
uploadAppVirtualDevice | app_upload_virtual_device |
postSessionExceptions | automation_add_session_exceptions |
postTestExceptions | automation_add_test_exceptions |
deleteBuild | automation_delete_build |
deletePrerunFile | automation_delete_prerun_file |
deleteSession | automation_delete_session |
deleteUserFile | automation_delete_user_file |
getAutomationTestCommandLogs | automation_get_command_logs |
getOrgConcurrency | automation_get_concurrency |
getAutomationTestBrowserConsoleLogs | automation_get_console_logs |
getAutomationTestNetworkLogs | automation_get_network_logs |
getAutomationTestSeleniumLogs | automation_get_selenium_logs |
getSessionScreenshots | automation_get_session_screenshots |
getSessionVideo | automation_get_session_video |
getAutomationTestDetails | automation_get_test |
getSupportedPlatforms | automation_list_platforms |
listTunnels | automation_list_tunnels |
stopBuild | automation_stop_build |
stopSession | automation_stop_session |
stopTunnel | automation_stop_tunnel |
updateBuild | automation_update_build |
updateSession | automation_update_session |
analyzeHyperExecuteJob | hyperexecute_analyze_job |
generateHyperExecuteYAML | hyperexecute_generate_yaml |
getJobArtifactDetail | hyperexecute_get_artifact |
downloadJobArtifact | hyperexecute_get_artifact (artefactName is passed as artifactId) |
getHyperExecuteJobInfo | hyperexecute_get_job |
getHyperExecuteStageLogs | hyperexecute_get_stage_logs |
getHyperExecuteTaskLogs | hyperexecute_get_task_logs |
getHyperExecuteJobArtifacts | hyperexecute_list_job_artifacts |
getHyperExecuteJobSessions | hyperexecute_list_job_sessions |
listHyperExecuteJobs | hyperexecute_list_jobs |
getHyperExecuteStageTasks | hyperexecute_list_stage_tests |
getHyperExecuteStage | hyperexecute_list_task_stages |
answerHyperExecuteQuery | hyperexecute_search_docs |
smartui_comparison_analyze | smartui_analyze_comparison |
smartui_screenshot_upload | smartui_upload_screenshots |
Split or removed tools
| Old name | Now |
|---|---|
automationQuery | automation_list_builds, automation_get_build, automation_list_sessions, automation_get_session, automation_get_test and the automation_get_*_logs tools |
smartui_project_query | smartui_list_projects, smartui_get_project |
smartui_build_query | smartui_list_builds, smartui_get_build, smartui_get_build_verdict |
smartui_comparison_query | smartui_list_comparisons, smartui_get_comparison |
smartui_screenshot_review | smartui_approve_screenshot, smartui_reject_screenshot |
smartui_baseline_manage | smartui_merge_branch_baseline, smartui_merge_build_baseline |
getAccessibilityReport | a11y_run_scan (new scan), a11y_get_report (read a scan by testId) |
tm_get_test_cases | tm_list_test_cases, tm_get_test_case |
tm_get_test_runs | tm_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_save | tm_get_test_case_generation, tm_save_generated_test_cases |
tm_update_test_run with archive | tm_archive_test_run |
getSessionV2CommandLogs, getSessionV2SeleniumLogs, getLiveSessionLogs | Removed: they returned the same log as automation_get_command_logs and automation_get_selenium_logs |
getHyperExecuteTask, getHyperExecuteJobLiveStream | Removed: a duplicate of hyperexecute_list_task_stages, and a stream with no backend endpoint |
triggerSuiteRun, getSuiteOverview | Replaced 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"
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:
Or configure manually:
- Open Cursor Settings > Tools & MCP and click Add new MCP server.
- Paste the configuration:
{
"mcpServers": {
"mcp-lambdatest": {
"url": "https://mcp.lambdatest.com/mcp"
}
}
}
- 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:
Verifiedclaude 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
- Open Settings > Connectors.
- Click Add Custom Connector and enter the URL:
https://mcp.lambdatest.com/mcp
- 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)
- Go to claude.ai/settings/connectors.
- Click Add custom connector and enter:
- Name: TestMu AI
- URL:
https://mcp.lambdatest.com/mcp
- Click Add, then Connect and complete the OAuth flow.
- To use the connector in a chat, click the + button in the chat input and enable TestMu AI under Connectors.
GitHub Copilot (VS Code)
- Open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and run MCP: Add Server, choosing Workspace or Global. Or create.vscode/mcp.jsonmanually:
{
"servers": {
"mcp-lambdatest": {
"type": "http",
"url": "https://mcp.lambdatest.com/mcp"
}
}
}
- When prompted, confirm that you trust the server.
- Complete the OAuth flow when first invoked. Use MCP: List Servers to manage installed servers.
Antigravity
- In the Agent panel, click the ... menu, then MCP Servers, then Manage MCP Servers.
- Click View raw config and add the configuration to
mcp_config.json:
{
"mcpServers": {
"mcp-lambdatest": {
"serverUrl": "https://mcp.lambdatest.com/mcp"
}
}
}
- Save and refresh the MCP servers panel. Complete the OAuth flow when prompted.
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:
Verifiedcodex mcp add mcp-lambdatest --url https://mcp.lambdatest.com/mcp
Then start an OAuth login:
Verifiedcodex mcp login mcp-lambdatest
Verify with codex mcp list.
Manual config: Add the following to ~/.codex/config.toml:
[mcp_servers.mcp-lambdatest]
url = "https://mcp.lambdatest.com/mcp"
Cline (VS Code)
- Open the Cline panel in VS Code, then MCP Servers > Configure MCP Servers.
- Paste the configuration:
{
"mcpServers": {
"mcp-lambdatest": {
"disabled": false,
"timeout": 60,
"command": "npx",
"args": ["mcp-remote@latest", "https://mcp.lambdatest.com/mcp"],
"alwaysAllow": []
}
}
}
- Click Authenticate and complete the OAuth flow.
Continue
- Create
.continue/mcpServers/testmu-ai.yamlin your workspace and add:
name: TestMu AI mcpServer
version: 0.0.1
schema: v1
mcpServers:
- name: TestMu AI
type: streamable-http
url: https://mcp.lambdatest.com/mcp
- Switch to Agent Mode in Continue and complete the OAuth flow when prompted.
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:
| Transport | URL | Notes |
|---|---|---|
| Streamable HTTP (recommended) | https://mcp.lambdatest.com/mcp | Modern transport, widely supported |
STDIO (via mcp-remote) | See below | Fallback for clients that only support stdio |
Universal STDIO configuration for any client that accepts the standard mcpServers format:
{
"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:
- Open your project in your AI-enabled IDE.
- Open the chat panel of your MCP client.
- 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=euURL, and sign in again. In Claude Code, runclaude mcp remove mcp-lambdatestand then theclaude mcp addcommand 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:
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).