Skip to content

motus-v1.0.13

Choose a tag to compare

@github-actions github-actions released this 04 Jun 23:35
· 58 commits to main since this release

Motus now ships a Model Context Protocol (MCP) server, so AI agents can drive a real browser through the same engine that runs your tests. The server is a new verb on the CLI — motus mcp — and exposes browser control, page observability, and Motus's testing telemetry as a set of agent tools. Agents perceive a page through its accessibility tree rather than screenshots, addressing elements by stable reference, and the server runs over local stdio or a secured HTTP endpoint for hosted and CI use.

Improvements

  • MCP server via motus mcp - Register it with one command: claude mcp add motus -- motus mcp. Once Motus.Cli is installed as a global tool and a browser is available (motus install), any MCP client — Claude Code, Claude Desktop, or anything that speaks the protocol — can launch it. There is no separate download; the server is a verb on the existing CLI, and it advertises more than forty tools spanning everything below.
  • Navigate, snapshot, and act on a page - Core tools to navigate, take an accessibility snapshot, click, type, and screenshot. Each snapshot returns a compact, labeled element tree where every node carries a stable reference, so agents target elements by that reference instead of brittle CSS or XPath.
  • A complete interaction set - Beyond click and type: hover, key presses, dropdown selection, checkboxes, focus, clearing fields, scrolling elements into view, file uploads, and explicit waits for an element or a condition.
  • Multiple tabs and isolated contexts - Open, list, switch, and close tabs, and create isolated browser contexts so an agent can work across several independent sessions at once.
  • Page utilities, scripting, and dialogs - History navigation (back, forward, reload), arbitrary JavaScript evaluation against the page, and dialog handling for alerts, confirms, and prompts.
  • Network and console visibility - Mock, fulfill, abort, and continue requests, list active routes, inspect recent network traffic, and read console messages and page errors — the same interception engine the test framework uses.
  • Testing-grade telemetry - What sets this apart from browser-only automation: an accessibility audit tool that runs Motus's built-in WCAG rules, and a performance tool that reports Core Web Vitals (LCP, FCP, TTFB, CLS, INP) alongside heap and DOM-node metrics.
  • Recording and code generation - Generate a Page Object Model class from the current page, and capture traces and HAR archives for later inspection.
  • Remote access over HTTP - In addition to local stdio, the server runs over Streamable HTTP for hosted, team, and CI use, including the Anthropic API's MCP connector. Each client gets its own isolated browser session; the endpoint binds to loopback by default and requires a bearer token before it will listen on any other interface.
  • Runs wherever .NET does - The server ships as part of the Motus.Cli global tool, so dotnet tool install --global Motus.Cli is all that is needed. The tool targets .NET 8 and rolls forward, so it also runs on a machine that has only the .NET 10 runtime installed.