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 Automation MCP Tool


Automation MCP Tool is part of the TestMu AI MCP Server. It connects your AI client to test execution data on TestMu AI, letting you triage and debug automation failures directly from your IDE.

Key Benefits​


Use the Automation tool to accelerate debugging and test analysis:

  • Access your test execution data on TestMu AI directly from your IDE or editor.
  • Triage and troubleshoot test failures to identify the root cause (RCA).
  • Fix your test code based on the RCA and accelerate your development.
  • Generate new test cases using execution data from TestMu AI.
  • Use network logs, Selenium logs, and console logs to pinpoint bottlenecks and failures.

Available Tools​


The Automation MCP Tool provides 23 tools for web and app automation builds, tests, logs, sessions and tunnels. Tools that read a test take a platform argument: web for browser automation, app for mobile app automation.

ToolWhat it doesAccess
automation_get_testGets one TestMu AI web or app automation test by test ID: status, browser or device, OS, duration, build, capabilities, commandCount and totalPageCount (the number of 100-command pages that automation_get_command_logs serves).Read-only
automation_get_command_logsGets the command log of a TestMu AI automation test, one page of 100 commands at a time.Read-only
automation_get_network_logsGets the network log (HTTP requests and responses) of a TestMu AI automation test.Read-only
automation_get_console_logsGets the browser console messages of a TestMu AI web automation test.Read-only
automation_get_selenium_logsGets the raw driver log of a TestMu AI automation test: the Selenium log for web tests, the Appium log for app tests, or the instrumentation log for XCUI and Espresso app tests (detected from the test).Read-only
automation_list_buildsLists TestMu AI web or app automation builds, newest first, with each build ID and status.Read-only
automation_get_buildGets one TestMu AI web or app automation build by build ID: name, status, start and end time, duration, project and dashboard link.Read-only
automation_list_sessionsLists TestMu AI web or app automation sessions (one per test), newest first, optionally only those in one build or with one status.Read-only
automation_get_sessionGets one TestMu AI web or app automation session by session ID (the test ID also works): status, browser or device, OS, duration and build.Read-only
automation_update_buildRenames a TestMu AI web automation build.Changes data (destructive)
automation_stop_buildStops every running test in a TestMu AI web automation build.Changes data (destructive)
automation_delete_buildPermanently deletes a TestMu AI web automation build and its test results.Changes data (destructive)
automation_list_platformsLists the OS, browser and device combinations the TestMu AI web automation grid supports, to find valid os, browser and version values for a test configuration.Read-only
automation_list_tunnelsLists the TestMu AI tunnels running in the account, with each tunnel ID, name, user and status.Read-only
automation_stop_tunnelStops a running TestMu AI tunnel by tunnel ID.Changes data (destructive)
automation_delete_sessionPermanently deletes a TestMu AI web automation test session.Changes data (destructive)
automation_update_sessionUpdates a TestMu AI web automation test session: its name, result status, the reason for the status, or its tags.Changes data (destructive)
automation_stop_sessionStops a running TestMu AI web automation test session.Changes data (destructive)
automation_get_session_screenshotsChecks that a TestMu AI test session has command-by-command screenshots and returns the link to the test's dashboard page, where the signed-in user views and downloads them.Read-only
automation_get_session_videoChecks that a completed TestMu AI test session has a video recording and returns the link to the test's dashboard page, where the signed-in user watches and downloads it.Read-only
automation_add_session_exceptionsAdds exception messages to a TestMu AI web automation test, found by session ID.Changes data
automation_add_test_exceptionsAdds exception messages to a TestMu AI web automation test, found by test ID.Changes data
automation_get_concurrencyGets the organization's parallel test limits per product, with how many are running and available, and the queue limit.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.

How to Invoke​


Once your MCP client is connected, use natural language to interact with the Automation tool. Example prompts:

  • "Triage the failure for TestID <testID>."
  • "Show me the network logs for TestID <testID>."
  • "What console errors occurred during the last failed test?"
  • "Pull the Selenium command logs for <testID> and tell me where it failed."
  • "Generate a new test case based on the execution flow of TestID <testID>."

Your AI client will route the request to the appropriate tool, pull the relevant data from TestMu AI, and return the results inline.

Help and Support

Related Articles