Release Intelligence — setup & end-to-end
Turn your IDE into a release-confidence engine: validate PRs with PASS / WARN / BLOCK, share results in the web app, and ship with a data-driven Go / No-Go — without leaving Cursor or VS Code.
testneo_pr_validation_workflow — one call returns risk score, findings, fix plan (NOW/NEXT), and a ready-to-paste PR comment. Planning runs without write access; test execution needs confirm: true.
The intelligence lifecycle
Teams with few tests today: start with MCP Customer E2E (generate → run), then return here for PR validation.
What is a release verification?
One release verification (RV) = one PR validation workflow:
- Impact analysis on changed files
- Risk score (0–100) and PASS / WARN / BLOCK
- Optional impacted test execution
- Evidence, fix plan, and PR comment draft
Each run is stored at /web/pr-validation/<workflow_id> — share the link in GitHub or Slack.
| Signal | Score | Meaning |
|---|---|---|
| 🟢 PASS | 0–34 | Low risk; standard review |
| 🟡 WARN | 35–69 | Review impacted validation before merge |
| 🔴 BLOCK | 70–100 | Blocking findings; hold the release |
Setup — MCP in your IDE
1. Account & API key
Sign up → Settings → API keys (tn_…).
2. Cursor mcp.json
{
"mcpServers": {
"testneo": {
"command": "npx",
"args": ["-y", "@testneo/mcp-server"],
"env": {
"TESTNEO_BASE_URL": "https://app.testneo.ai",
"TESTNEO_API_KEY": "YOUR_API_KEY",
"TESTNEO_MCP_ALLOW_WRITE": "false"
}
}
}
}
Set TESTNEO_MCP_ALLOW_WRITE to true only when you want test execution inside validation.
3. Verify
In chat: Validate my TestNeo connection or call testneo_validate_connection.
4. IDE playbooks (auto-behavior)
Clone or copy from the TestNeo repo: Cursor uses .cursor/rules/testneo-pr-validation.mdc; VS Code Copilot uses .github/copilot-instructions.md — they auto-detect git context and call testneo_pr_validation_workflow first.
Full install steps: MCP Quickstart.
End-to-end checklist (PR focus)
| Step | Action |
|---|---|
| 1 | MCP connected (testneo_validate_connection) |
| 2 | testneo_list_projects → note <PROJECT_ID> |
| 3 | Optional: preflight — historical risk on files you are changing |
| 4 | testneo_pr_validation_workflow with confirm: false (planning) |
| 5 | Open /web/pr-validation/<workflow_id> in the app |
| 6 | If BLOCK → testneo_explain_failure + testneo_suggest_fix |
| 7 | Sprint ship → release readiness / PR history trend |
Greenfield (no tests yet)? Run Customer E2E first, then repeat from step 4 on every PR.
Prompt techniques (copy-paste)
Replace <PROJECT_ID> and <PR_NUMBER> with your values. More prompts: MCP Prompt Packs — PR Validation.
Validate PR (planning only)
Ask in Cursor / Copilot:
Validate PR <PR_NUMBER> for project <PROJECT_ID>. Use git to detect base_sha, head_sha, and changed_files. Call testneo_pr_validation_workflow with confirm false. Show PASS/WARN/BLOCK, risk score, top findings, and the PR comment draft. Give me the workflow_id link to the web board.
Preflight (before you push)
I'm modifying [list files] in project <PROJECT_ID>. What's the historical failure rate and flakiness on related tests? Have we seen BLOCK-level PRs on these paths recently?
After BLOCK — explain & fix
Explain why this PR is blocked — root cause per finding. Then give me the NOW/NEXT fix plan and which tests to rerun.
Release readiness (end of sprint)
Is project <PROJECT_ID> ready to release to production? Give me release confidence and a Go / No-Go verdict with top risks.
PR risk trend
Show recent PR validation history for project <PROJECT_ID> — what's the risk trend over the last two weeks?
Web UI (same data as MCP)
- PR Validation board —
/web/pr-validation - PR detail —
/web/pr-validation/<workflow_id> - Branch health — Analytics → Branch (CI + PR risk overlay)
- Release readiness — confidence score and ship checklist
Tool reference and JSON contracts: PR Validation & Release Confidence.
Plans & limits
| Plan | Release verifications / 30d | MCP writes / day |
|---|---|---|
| Free | 100 | 50 |
| Pro | 300 per user | Unlimited |
| Team | 2000 shared pool | Unlimited |
Errors: release_verification_limit_reached (monthly RV cap) or MCP 403 (daily write cap on Free). See MCP troubleshooting — limits.
Last updated June 2026 · Aligns with TestNeo API docs (docs/product/RELEASE_INTELLIGENCE_GETTING_STARTED.md).