loading…
Search for a command to run...
loading…
MCP server for TestNeo quality workflows, enabling test generation, execution, and analysis through MCP-compatible IDE clients.
MCP server for TestNeo quality workflows, enabling test generation, execution, and analysis through MCP-compatible IDE clients.
TestNeo MCP connects Cursor, VS Code, Claude Desktop, and other MCP-compatible clients to TestNeo — so your AI chat can list projects, inspect runs, generate tests from context (including Swagger/OpenAPI and design context), and (when you allow it) execute tests with guardrails.
| Resource | Link |
|---|---|
| Product | testneo.ai |
| Sign up & app | app.testneo.ai/signup |
| Hosted MCP docs (quickstart, tools, workflows, security) | testneo.ai/docs/testneo-mcp.html |
| Source | github.com/gururajhm-neo/testneo-mcp |
tn_…). Treat it like a password.Use the production API base URL:
| Variable | Value |
|---|---|
TESTNEO_BASE_URL |
https://app.testneo.ai |
TESTNEO_API_KEY |
your tn_… key |
Self-hosted customers can set TESTNEO_BASE_URL to their own API origin instead.
npx)No global install required. Example for Cursor (~/.cursor/mcp.json or Settings → MCP):
{
"mcpServers": {
"testneo": {
"command": "npx",
"args": ["-y", "@testneo/mcp-server"],
"env": {
"TESTNEO_BASE_URL": "https://app.testneo.ai",
"TESTNEO_API_KEY": "tn_YOUR_KEY_HERE",
"TESTNEO_MCP_ALLOW_WRITE": "false"
}
}
}
}
Keep TESTNEO_MCP_ALLOW_WRITE at false until you intentionally want execute/rerun/Swagger-write tools; read-only tools still work. Write tools also need confirm=true on each call — see hosted security section.
Restart the IDE (or reload MCP servers), then in chat:
Validate my TestNeo connection
List my TestNeo projects
Follow TestNeo MCP — Docs for quickstart detail, tool reference, workflows (e.g. qa_intelligence_workflow), and troubleshooting. This repo’s docs/MCP_TOOL_REFERENCE.md mirrors the same tool list for offline browsing.
TESTNEO_MCP_ALLOW_WRITE=true and pass confirm=true.From a clone of this repo, after npm install and npm run build:
TESTNEO_BASE_URL="https://app.testneo.ai" TESTNEO_API_KEY="tn_YOUR_KEY_HERE" npm run smoke
Copy .env.example to .env and edit values if you prefer loading env from a file (your shell or tooling must export them before npm run smoke).
npxnpm install
npm run build
Point your MCP config at:
node /absolute/path/to/this/repo/dist/index.js
See docs/IDE_SETUP.md for more client-specific notes.
_telemetry (request_id, duration_ms, backend_paths, etc.) for support and auditing.testneo_get_failure_bundle (and triage-heavy testneo_run_agent_workflow steps) may include suggested_nlp_patch when include_nlp_patch_suggestion is true (default). Details: docs/MCP_TOOL_REFERENCE.md.project_precondition_failed unless the project resolves a real https base URL for the app under test (website_url or environment base_url). example.com placeholders are rejected. For special dev setups only: TESTNEO_MCP_RELAX_PROJECT_PRECONDITIONS=true.contract_version: execution_intelligence.v1 (or pipeline variants) and canonical_status (queued | running | passed | failed | cancelled | unknown) alongside raw backend status.Read-heavy: connection, projects, executions, logs, trends, watch, failure bundles, agent workflows, unified contexts, Swagger preview, route map, etc.
Writes (guarded): execute generated test, testneo_run_generated_test_pipeline (run + wait + report), rerun failed, trigger Playwright, Swagger upload/impact, NLP updates, route map persist, Figma ingest, etc.
Full list: docs/MCP_TOOL_REFERENCE.md or hosted tool reference.
Required
TESTNEO_BASE_URL — use https://app.testneo.ai for TestNeo Cloud; otherwise your self-hosted API origin.TESTNEO_API_KEY — from the app after signup.Common optional flags
TESTNEO_MCP_ALLOW_WRITE — default false; set true only when you want mutating tools.TESTNEO_MCP_RELAX_PROJECT_PRECONDITIONS — default false.TESTNEO_MCP_TELEMETRY_JSONL, TESTNEO_MCP_POLICY_MODE, TESTNEO_MCP_TIMEOUT_MS, TESTNEO_MCP_SWAGGER_TIMEOUT_MS, TESTNEO_MCP_USER_AGENTTESTNEO_ROUTE_HARDENING, TESTNEO_ROUTE_PROFILE, TESTNEO_ROUTE_MAP_JSONGeneration: testneo_generate_tests_from_context defaults to auto_align_saucedemo_route_map=true for SauceDemo-style auth presets when no custom map is set.
npm test
Runs build checks and offline guardrail scripts (no TESTNEO_BASE_URL required).
TESTNEO_MCP_ALLOW_WRITE=true.confirm=true (and optional idempotency_key for safe retries).More policy detail: Security & Governance on the hosted docs.
LICENSE.SECURITY.md.CHANGELOG.md.The npm package and gururajhm-neo/testneo-mcp mirror are synced from the private TestNeo monorepo. Do not put monorepo paths or internal CI tokens in your MCP client config — that is maintainer workflow only.
Instructions (local push, optional GitHub Actions secret): docs/PUBLISHING.md.
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"testneo-mcp-server": {
"command": "npx",
"args": []
}
}
}