Pluswithai MCP Server
OfficialEnables testing Cloudflare Pages preview deployments by passing the deployment URL via --base-url in a GitHub Actions deployment_status workflow; can gate merges on test results when the preview host matches a declared pattern.
Provides a GitHub Action (pluswithai/cli@v0) to run Pluswithai tests in CI, wait for results, write a result table to the GitHub step summary, and add annotations for failed tests; supports push/workflow_dispatch and deployment_status workflows.
Enables testing Netlify preview deployments by passing the deployment URL via --base-url in a GitHub Actions deployment_status workflow; can gate merges on test results when the preview host matches a declared pattern.
Enables testing Vercel preview deployments by passing the deployment URL via --base-url in a GitHub Actions deployment_status workflow; can gate merges on test results when the preview host matches a declared pattern.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Pluswithai MCP Serverrun the checkout tests for the shop project and show me what failed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@pluswithai/cli
Run your Pluswithai tests from CI and the terminal. It starts the runs, waits for them and exits non-zero when one fails.
No runtime dependencies. Node 18.3 or later.
Readable CI logs, a GitHub step summary, failure annotations and JUnit XML.
Your API key is only read from the environment, and it is never printed.
Quick start
In the app, open API keys in the sidebar, choose Create key, then pick CI / CLI.
Export the key, then run your project's tests:
export PLUSWITHAI_API_KEY=pwai_…
npx @pluswithai/cli run --project shopStarted 2 runs in shop. Waiting for results…
✓ tests/home.spec.ts passed 8.4s
✗ tests/checkout.spec.ts failed 21.0s
Pluswithai · shop: 1 passed, 1 failed
✗ tests/checkout.spec.ts failed 21.0s
Details: https://pluswithai.com/app?project=shopRelated MCP server: TestPilot MCP
GitHub Actions
Store the key as the repository secret PLUSWITHAI_API_KEY and use the action:
name: Pluswithai tests
on: [push, workflow_dispatch]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: pluswithai/cli@v0
with:
api-key: ${{ secrets.PLUSWITHAI_API_KEY }}
project: shop
environment: staging # optional; default is production (the project URL)To test every pull request's preview deploy (Vercel, Netlify, Cloudflare Pages) and block the merge when a test fails:
on: deployment_status
jobs:
e2e:
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: pluswithai/cli@v0
with:
api-key: ${{ secrets.PLUSWITHAI_API_KEY }}
project: shop
base-url: ${{ github.event.deployment_status.environment_url }}The preview's host must match a preview host pattern declared in the project's
Settings, e.g. myapp-*.vercel.app. See
Environments and PR checks.
Inside GitHub Actions, the CLI also:
writes a table of the results to the job's summary page (turn it off with
--no-summary);adds an error annotation for every failed test.
Commands
Command | What it does |
| Start runs in the cloud, wait for them, exit with their verdict |
| Run the project's tests on this machine, e.g. against |
| Download the project's files to run them yourself |
| List your projects |
| List a project's test files |
| Show recent runs ( |
| Check that the key works |
| Serve Pluswithai's MCP tools over stdio, for AI agents |
Every command takes --help, and every command except mcp takes --json.
Run tests on your machine
pluswithai local downloads the project's tests, installs Playwright the first
time and runs them here — useful against a local server before you deploy:
pluswithai local --project shop --base-url http://localhost:3000
pluswithai local --project shop -t tests/checkout.spec.ts --headedThe files go to pluswithai/<project> (--dir to change it): plain Playwright
plus the project's config and fixture, so npx playwright test works there on
its own too (pluswithai pull only downloads). The site's HTTP auth and extra
headers stay on Pluswithai: set PLUSWITHAI_HTTP_USERNAME,
PLUSWITHAI_HTTP_PASSWORD and PLUSWITHAI_EXTRA_HEADERS (a JSON object) when
the site needs them. Needs Node.js 18+.
AI agents (MCP)
Pluswithai is also an MCP server. With it, an agent like Claude Code, Cursor or Codex can run your tests, read the failures, push new tests and schedule them.
Clients that support remote MCP servers connect straight to https://api.pluswithai.com/mcp. Claude.ai and ChatGPT sign in with OAuth, so you don't copy a key. Clients that only start local servers can use this CLI as a stdio bridge:
{
"mcpServers": {
"pluswithai": {
"command": "npx",
"args": ["-y", "@pluswithai/cli", "mcp"],
"env": { "PLUSWITHAI_API_KEY": "pwai_…" }
}
}
}Use a key with Agent access to get every tool. Logs go to stderr; stdout carries only the protocol.
run options
Option | Default | |
| — | Required |
| every test file | Repeat it to run several files |
| the project's region | Where the browser runs |
| production | An environment from the project's Settings, e.g. |
| — | A preview deploy to test; its host must match a declared preview host |
| 1800 | Stop waiting after this long, counted from when the runs start |
| 5 | Time between status checks |
| — | Also write a JUnit XML report |
| — | Skip the GitHub step summary |
Environment
Variable | |
| Required. There is no |
| Default |
| Default |
Exit codes
Code | Meaning |
0 | Every run passed |
1 | A run failed: your test or your app |
2 | Usage or configuration error |
3 | Pluswithai or network error, or a run ended in |
4 | Timed out waiting for results |
If several apply, the CLI reports the first one in this order: a failed run, then an error, then the timeout.
Development
npm install
npm test # builds, runs unit + end-to-end tests, enforces 100% coverageThe design is documented in SPEC.md.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Hosted runtime for persistent agent teams, durable workflows, memory, schedules, and goals.
QA platform for agents: coverage signals, in-repo test plans, verified tests and release governance.
Writes adversarial test suites for AI-built code. Your agent's test engineer.
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceConnect AI agents to your test results, insights, and targets. Query test runs, failures, flaky tests, and regressions across frameworks including Playwright, Jest, Pytest, Cypress and more.202 npmMIT- AlicenseNot gradedqualityDmaintenanceEnables AI models (Claude, ChatGPT, GitHub Copilot) to run and analyze local tests, rerun failures, and orchestrate QA workflows using existing UI and API test frameworks.3 npmMIT
- AlicenseAqualityBmaintenanceEnables AI assistants to create, run, autocorrect, and monitor Playwright tests for your app with a local dashboard, credential vault, and public status page.16MIT
- FlicenseCqualityCmaintenanceEnables AI agents to interact with TestMonitor projects, test cases, test runs, results, issues, and more through a local stdio MCP server generated from the official REST API specification.173-