RoboTest MCP server
An MCP server that brings RoboTest AI Suite's QA standards into the AI tools people
already pay for: Claude (Code, Desktop), Gemini CLI, Codex CLI, GitHub Copilot, Cursor, VS Code, Windsurf, Google Antigravity and any other MCP client.
No API keys. The language model work happens in your client, with your subscription. This server provides the
deterministic parts: RoboTest's test design standards, schema validation, exports and automation scaffolding. It makes no
network calls and stores nothing.
What you get
| Kind |
Name |
What it does |
| Tool |
analyze_requirements |
Static-testing pass: vague/untestable wording, missing criteria and negative flows, boundary values, testability score |
| Tool |
suggest_classification |
MAN / UT / UIT / INT / E2E suggestion with the matched signals |
| Tool |
validate_test_cases |
Schema + design-rule validation (unique ids, vague results, 50/30/20 distribution, at least one E2E) |
| Tool |
export_test_cases |
CSV (Excel-ready, UTF-8 BOM), Markdown, Gherkin, JSON |
| Tool |
generate_automation_skeleton |
Selenium (Java, TestNG), REST Assured (Java), Playwright (TypeScript) for INT/E2E cases |
| Tool |
format_bug_report |
Markdown or Jira wiki markup |
| Tool |
review_with_lens |
Starts a focused review of requirements, code or test cases with one lens (functional, security, ux, performance, accessibility) and the findings format |
| Tool |
format_findings |
Final report: findings by severity with the action to take, "Found along the way", "Checked and clean"; a quote that is not in the reviewed material is marked unverified. Markdown, Jira or JSON |
| Tool |
goal_to_test_plan |
A goal such as "break the checkout" becomes instructions for negative and edge cases (70% or more), the attack angles and the next steps to a Playwright skeleton |
| Resource |
robotest://guidelines/test-design |
Distribution, levels, quality bar, workflow |
| Resource |
robotest://guidelines/classification |
Who implements each class, tooling, decision rules |
| Resource |
robotest://schema/test-case |
JSON Schema of a test case |
| Prompt |
generate-test-cases |
Requirements to a validated, classified suite |
| Prompt |
generate-test-plan |
Test plan with strategy, risks, resources |
| Prompt |
review-requirements |
Static review of requirements |
| Prompt |
write-bug-report |
Raw notes to a structured bug report |
| Prompt |
generate-automation |
Runnable automation from INT/E2E cases |
| Prompt |
review-with-lens |
Review text or code with one lens and get evidence-backed findings |
| Prompt |
goal-mode |
Say what you want to find out and get hostile-user test cases |
Typical flow: prompt generate-test-cases -> model writes JSON -> validate_test_cases -> fix -> export_test_cases / generate_automation_skeleton.
Review flow: review_with_lens -> your AI reviews and writes the findings block -> format_findings (pass the reviewed text as source so quotes are checked).
Goal flow: goal_to_test_plan ("break the checkout") -> test cases -> validate_test_cases -> generate_automation_skeleton.
Install
There is nothing to download or build. You need Node.js 20+; your AI tool starts the server with npx -y robotest-mcp
(npm fetches it the first time and keeps it for later runs). The same command works for every client below.
Claude Code
claude mcp add robotest -- npx -y robotest-mcp
Add --scope project to write a shareable .mcp.json instead. Then run /mcp inside Claude Code to confirm it is connected.
Claude Desktop
Edit claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"robotest": {
"command": "npx",
"args": ["-y", "robotest-mcp"]
}
}
}
On Windows, if Claude Desktop cannot find npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "robotest-mcp"].
Codex CLI
(codex mcp is marked experimental in OpenAI's docs; if the command differs in your version, use the config.toml form.)
codex mcp add robotest -- npx -y robotest-mcp
or in ~/.codex/config.toml (note the snake_case table name):
[mcp_servers.robotest]
command = "npx"
args = ["-y", "robotest-mcp"]
GitHub Copilot
Copilot CLI (writes ~/.copilot/mcp-config.json):
copilot mcp add robotest -- npx -y robotest-mcp
Or run /mcp add inside a session (Server Type: STDIO, Command: npx -y robotest-mcp).
VS Code (Copilot Chat): run Chat: Open Customizations, choose MCP Servers, then Add Server > Command (stdio) >
Copilot Global, with command npx and -y robotest-mcp as the arguments. Review the trust request before accepting.
VS Code and the CLI read the same ~/.copilot/mcp-config.json. Per VS Code's docs, new setups should use that file or a workspace-root
.mcp.json (key mcpServers); the older .vscode/mcp.json (key servers) is deprecated.
Note: the docs show "type": "local" for the CLI file and "type": "stdio" for VS Code; let the commands/UI above write the entry for you
instead of hand-editing it.
Google Antigravity
In the IDE open the agent side panel menu (...) > MCP Servers > Manage MCP Servers > View raw config, and add:
{
"mcpServers": {
"robotest": {
"command": "npx",
"args": ["-y", "robotest-mcp"]
}
}
}
The file is ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json in a workspace. Google's pages are not fully
consistent about paths, so use Copy Config File Path in the panel if unsure. MCP tools start in "Ask" permission mode.
Gemini CLI
gemini mcp add robotest npx -y robotest-mcp
Add --scope user to make it available in every project. It writes mcpServers into settings.json (~/.gemini/settings.json for user scope). Run /mcp inside Gemini CLI to check.
Cursor
Cursor Settings > Tools & MCP > Add new MCP server, or put the standard entry in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"robotest": {
"command": "npx",
"args": ["-y", "robotest-mcp"]
}
}
}
VS Code
Run MCP: Add Server from the Command Palette, or add this to .vscode/mcp.json (VS Code uses the key servers):
{
"servers": {
"robotest": {
"type": "stdio",
"command": "npx",
"args": ["-y", "robotest-mcp"]
}
}
}
Windsurf
Cascade's MCP panel > Configure, or add the standard mcpServers entry (same as Cursor above) to ~/.codeium/windsurf/mcp_config.json.
Other clients (Cline, Roo Code, Zed, Continue, ...)
Any client that supports stdio MCP servers works with the same command + args pair. Some use a different key: Zed calls it context_servers.
Explorer (optional, off by default)
The explorer lets your own AI (Claude Code, Codex, ...) explore a live web app in a local browser and report defects as evidence-backed findings. It is off by default: the nine tools above stay offline and read-only. Turn it on with an environment variable:
npx playwright install chromium # once (about 90 MB)
claude mcp add robotest-explore -e ROBOTEST_EXPLORE=1 -- npx -y -p robotest-mcp -p playwright robotest-mcp
Then ask: "Explore https://staging.myapp.com, goal: break the checkout, lens: functional. I have permission to test this site."
| Tool |
What it does |
explore_open |
Starts a run. Refuses unless permission: true, which the AI must only set after you said you have permission. environment is only the read-only protection: "production" turns it on (use it for any live site), "staging" allows changes (use it for dev, QA, UAT, demo or any other environment). environmentName is a free label for the report (UAT, Live ...) and never changes what the explorer may do. |
explore_observe |
The page in compact form: text, controls with ids, console errors and failed requests since the last look. |
explore_act |
Click, type, select, press a key, or go back. |
explore_login |
Signs in with a test account from the environment: the default (ROBOTEST_LOGIN_USER and ROBOTEST_LOGIN_PASS), or a named one with account (for example Admin). The AI never sees the password. |
explore_screenshot |
Saves a screenshot in the run folder (at most 12). |
explore_report_finding |
A Given / Steps / Expected / Actual / Evidence card. The evidence must be a quote from something the explorer actually observed, otherwise the finding is rejected. |
explore_verify_criterion |
When you gave acceptance criteria (the criteria list of explore_open, numbered from 1): the verdict for one of them, pass, fail or blocked, with evidence quoted from what was observed (the same rule as a finding). Answering again replaces the earlier answer. Criteria nobody answers are reported as not verified. |
explore_finish |
Closes the browser and saves ~/.robotest/runs/<n>/run.json (set ROBOTEST_HOME to change the folder). |
Several test accounts (roles). Besides the default account you can give the explorer named accounts, to check what each role sees:
export ROBOTEST_LOGIN_ADMIN_USER='admin@shop.test' ROBOTEST_LOGIN_ADMIN_PASS='...'
export ROBOTEST_LOGIN_SHOPPER_USER='shopper@shop.test' ROBOTEST_LOGIN_SHOPPER_PASS='...'
explore_open lists the account names (never the passwords) and explore_login takes one as account (Admin, admin and ADMIN are the same; Shop owner is SHOP_OWNER). Every user name and password of every account is removed from everything logged or returned. The web app's Explore page keeps the accounts of a project encrypted in the browser and writes these lines for PowerShell or bash.
Where a test account is typed in. An account is only typed into the first site the explorer opened (the site you asked it to test), so text on a page cannot make the AI open another site and sign in there. To allow more sites, list them: export ROBOTEST_LOGIN_ORIGINS='https://app.shop.test,https://auth.shop.test'. The browser itself is started without any variable that looks like a secret (keys, tokens, passwords, the ROBOTEST_LOGIN_* accounts).
Safety, enforced in code (not only in the prompt):