UAT Engine
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
UAT Engine
AI-native testing over Model Context Protocol
Give your AI agent a browser, an HTTP client, and an MCP probe. Let it test anything.
46 MCP tools for browser automation, API testing, and MCP server verification -- controlled entirely through the Model Context Protocol.
Built by OpZero -- the AI-native deployment platform.
Get Started · MCP Tools · Flow Specs · Docker · Architecture
Why UAT Engine?
AI agents are shipping code -- but who tests it? Traditional test frameworks need humans to write and maintain scripts. UAT Engine flips the model: agents describe what to test, the engine handles how.
MCP-native -- Plugs into any MCP client (Claude, Cursor, custom agents). No SDKs, no wrappers, just tool calls.
Browser + API + MCP -- One engine covers UI acceptance testing, API integration testing, and MCP server verification.
Declarative flows -- Write YAML specs with variable interpolation, conditionals, parallel execution, and cross-step data passing. Zero code.
Playwright under the hood -- Full Chromium automation with screenshots, traces, device emulation, and proxy support.
Production-hardened -- Multi-stage Docker image, non-root execution, graceful shutdown with connection draining, readiness probes.
Used in production at OpZero.sh to verify deployments across Cloudflare, Netlify, and Vercel.
Related MCP server: Hermes Browser MCP Server
Quick Start
# Install
bun install
# Start the MCP server
bun run start
# => Listening on http://localhost:3200/mcpPoint any MCP client at http://localhost:3200/mcp and start calling tools:
{
"mcpServers": {
"uat": {
"type": "url",
"url": "http://localhost:3200/mcp"
}
}
}With Docker
docker build -t uat-engine .
docker run --init -p 3200:3200 uat-engineMCP Tools
46 tools across 9 categories. All prefixed with uat_.
Session Management
Tool | What it does |
| Launch a browser session (headless, viewport, device emulation, proxy) |
| List active sessions with status |
| Close a session and release resources |
Browser Navigation
Tool | What it does |
| Navigate to a URL |
| Go back in history |
| Go forward in history |
| Reload the page |
| Wait for a condition (selector, networkidle, timeout) |
Browser Interaction
Tool | What it does |
| Click an element by selector |
| Fill an input field |
| Select a dropdown option |
| Toggle a checkbox |
| Press a keyboard key |
| Scroll the page or to an element |
| Upload a file to an input |
Browser Observation
Tool | What it does |
| Capture a screenshot (full page or element) |
| Get page HTML snapshot |
| Extract text content from an element |
| Read an element attribute |
| Execute JavaScript in the page context |
Assertions
Tool | What it does |
| Assert an element is visible |
| Assert element text matches (exact, contains, regex) |
| Assert current URL matches a pattern |
| Assert page title |
| Assert element count (eq, gt, lt) |
| Assert input field value |
| Assert HTTP response status code |
| Assert value in a response body (supports dotted paths) |
API Testing
Tool | What it does |
| Send HTTP requests with headers, body, auth -- returns structured response with timing |
MCP Server Testing
Tool | What it does |
| Connect to a remote MCP server |
| Discover available tools on a connection |
| Call a tool and measure response time |
| Disconnect from an MCP server |
Flow Execution
Tool | What it does |
| Execute a YAML flow spec |
| Run multiple flows with aggregated pass/fail |
| List available flow specs |
| Validate a flow spec without running it |
| Retrieve results from a completed flow run |
Recording
Tool | What it does |
| Start recording a Playwright trace |
| Stop recording and save the trace file |
| List saved recordings |
Flow Specs
Flows are declarative YAML files that chain tools into complete test scenarios. No code needed -- agents write the YAML, the engine executes it.
Example: Health check
name: health-check
description: Verify a page loads and has expected content
config:
base_url: "${BASE_URL}"
steps:
- action: goto
url: "${BASE_URL}"
- action: wait
condition: networkidle
- action: screenshot
name: homepage-loaded
- action: assert_title
match: contains
value: "${EXPECTED_TITLE}"
- action: assert_visible
selector: "nav"Example: Deploy and verify (API + Browser)
name: api-deploy-verify
description: Deploy via API, then verify the result in a browser
steps:
- action: api_request
method: POST
url: "${BASE_URL}/api/deploy"
headers:
Authorization: "Bearer ${API_TOKEN}"
body:
files:
index.html: "<h1>smoke test</h1>"
assert_status: 200
save_as: deploy
- action: goto
url: "${deploy.body.url}"
- action: assert_text
selector: "h1"
value: "smoke test"Example: MCP server verification
name: mcp-tools-check
description: Verify an MCP server responds with expected tools
steps:
- action: mcp_connect
url: "${MCP_URL}"
auth: "Bearer ${MCP_TOKEN}"
- action: mcp_list_tools
save_as: tools
- action: assert_body
path: "tools.length"
operator: gte
value: 1
- action: mcp_call
tool: "repos_list"
params: {}
save_as: repos
- action: mcp_disconnectFlow features
Variable interpolation --
${VAR}resolves from session context, flow config, then env vars. Dotted paths like${deploy.body.url}supported.Cross-step data --
save_as: namestores step results for use in later stepsConditionals --
if: key/unless: keyfor conditional step executionParallel groups --
parallel:block runs steps concurrentlyAction routing --
api_*goes to HTTP client,mcp_*to MCP probe,assert_*to assertions, everything else to Playwright
Docker
Standalone
docker build -t uat-engine .
docker run --init -p 3200:3200 uat-engineDocker Compose (with network)
docker network create devnet # if not already created
docker compose upThe compose config includes:
init: truefor proper signal handlingread_only: truerootfs with explicit tmpfs mounts2GB memory / 2 CPU limit (Chromium needs headroom)
Health checks on
/healthJoins the
devnetnetwork for service discovery
Deploy to Railway
railway upSee railway.toml for the deploy config.
Architecture
mcp-server/src/
index.ts Entrypoint -- HTTP server, graceful shutdown, readiness probe
types.ts Shared TypeScript types
engine/
browser.ts Playwright browser pool (singleton, isolated contexts per session)
http-client.ts HTTP client with structured responses
mcp-probe.ts MCP client for testing remote MCP servers
trace-manager.ts Playwright trace recording
session-store.ts In-memory session + context store
flow-runner.ts YAML flow execution engine
tools/
session.ts Session lifecycle tools
navigate.ts Browser navigation tools
interact.ts Browser interaction tools
observe.ts Screenshot, snapshot, text extraction
assert.ts Assertion tools (browser + API)
api.ts HTTP request tool
mcp-client.ts MCP connect / list / call / disconnect
flow.ts Flow execution tools
record.ts Trace recording tools
flows/
examples/ Starter flow specsProduction hardening
Multi-stage Dockerfile -- Builder installs deps, runtime copies only production artifacts
Non-root execution -- Runs as
pwuser(uid 1001) from the Playwright base imageGraceful shutdown -- SIGTERM/SIGINT triggers readiness probe failure, connection draining (10s deadline), browser pool shutdown, then clean exit
Readiness probe --
/readinessreturns 503 during drain, separate from/healthlivenessRequest timeout -- 5-minute deadline per MCP request
Transport tracking -- Active connections are tracked and drained on shutdown
Built by OpZero
OpZero is an AI-native deployment platform. Ship websites to Cloudflare, Netlify, and Vercel from any MCP client -- Claude, Cursor, or your own agents.
UAT Engine is how we verify that deployments work. Every deploy to opzero.sh can be smoke-tested by an AI agent using this engine.
opzero.sh -- Deploy from AI
@OpZero-sh -- More open source from OpZero
Contributing
Contributions welcome. Please open an issue first for non-trivial changes.
bun install # install deps
bun run dev # start with watch mode
bun test # run tests
bun run typecheck # type checkLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Email inboxes, webhook URLs, mock APIs and 170+ tools for coding agents over one MCP connection.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that enables AI agents to automate browser testing via Chromium, providing tools for navigation, interaction, and inspection.-
- FlicenseNot gradedqualityDmaintenanceEnables browser automation with AI agent support and secure credential management through 20 MCP tools, accessible via stdio or HTTP bridge.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to drive a real Chrome instance over the Chrome DevTools Protocol — opening and navigating tabs, reading compact YAML page outlines with refs, clicking, typing, scrolling, screenshotting, and evaluating scripts — with no browser extension or installed dependencies. It also audits pages for horizontal overflow and WCAG AA contrast, available both as an MCP tool and as a CI-friendly CLI.15 npmMIT
- AlicenseNot gradedqualityBmaintenanceTurns YAML-defined browser flows into typed MCP tools that Claude, Cursor, VS Code and other MCP clients can call, letting agents run repeatable tasks like logins, form fills, report downloads, price checks and data extraction without letting them wander the page freely. Each call returns JSON output, downloaded files or screenshots, and failures report the step, error, page URL and a screenshot.21 npmMIT