OrangePro MCP
OfficialOrangePro MCP is a local, metadata-only server that maps a repo's functions, links them to the tests that call them, ranks the unproven ones by risk, and proves (via mutation) whether a test actually catches a break.
Run the whole loop at once (
orangepro_start): analyze sources, writebehavior-coverage.html,short_behavior-coverage.html,tests.csv,rtm.md, return next actions; reuses the last run when nothing changed (freshforces a full run).Build/refresh the evidence graph locally (
orangepro_analyze_sources), or update it incrementally from changed files (orangepro_update_graph).Find ranked test gaps (
orangepro_find_test_gaps): requirements/flows with weak evidence plus top-risk unproven symbols ranked by OrangePro Risk Score (P × I × D).Prove a test by mutation (
orangepro_prove): baseline passes, sentinel-mutated copy of the target must fail at its own assertion; writes a metadata-only ledger certificate. Supports Jest/Vitest/Mocha, pytest,go test, Java (JUnit 5).Prove with setup (
orangepro_prove_loop): runs trusted local build/install commands first, returnsunrunnableon setup failure, then refreshes the report.Draft grounded tests (
orangepro_generate_tests) with your own model key (OpenAI-compatible, Ollama, Anthropic, ordeterministic), bucket-diverse, with validated evidence,run_hints, and an agent workflow — OrangePro never writes to or runs in your repo.Explain a generated test's grounding (
orangepro_explain_test) — which evidence anchors support it and whether weak/candidate evidence was used.Optional AI lanes (
orangepro_ai_links,orangepro_ai_flows): stage/apply candidate links and flows; they never affect Proven coverage.Report and inspect: traceability matrix in md/csv/json (
orangepro_rtm), PR/changed-file impact vs a base ref (orangepro_changed_impact), workspace status (orangepro_status), graph readiness 0–100 (orangepro_graph_score), next-evidence advice incl. proof blockers (orangepro_doctor), ledger stats (orangepro_stats).Record agent attempts as static diagnostics (
orangepro_record_run) and export a portable evidence pack — JSON + Markdown, optional offline graph HTML, metadata only (orangepro_export_evidence_pack).Install an opt-in post-merge GitHub Actions workflow (
orangepro_install_github_action): preview by default, never commits, pushes, or creates secrets; uninstall supported.Privacy by design: runs on your machine, no telemetry, source read in-process and never uploaded or edited, reports contain metadata not source, and model calls happen only if you configure your own key.
Supports generating and running tests with the Jest framework.
Supports generating and running tests with the Mocha framework.
Enables local test generation with Ollama models.
Enables test generation using OpenAI's models.
Supports generating and running tests with the pytest framework.
Supports generating and running tests with the Vitest framework.
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., "@OrangePro MCP Check my code for untested behaviors and generate tests"
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.
OrangePro maps every public function in your repository, links each one to the tests that actually call it, and ranks what's left by what it can break. For a test you care about, it breaks the function in an isolated copy and checks that the test fails. It runs on your machine, uses no AI model for scoring, and sends nothing to OrangePro. Mapping, gap ranking and proof work with no model key. Drafting a test with real assertions needs a model provider; with no key, provider: deterministic returns placeholders only (see Model setup under Reference).
npx -y @orangepro/mcp-server@latest start .Contents
Related MCP server: mcp-codebase-oracle
What you get
Every run writes two reports and a spreadsheet of tests to .orangepro/:
File | For | What's in it |
| Leads, managers, anyone in a hurry | One page: what to do with the 20 highest-priority functions, the top five with the reason and the tests drafted for each, what changed since the last report, and how to reproduce the run. |
| Developers | Worklist: every ranked function with what to do, filters, and a side panel with the evidence, why it ranks, two drafted tests and the proof command. Map: where tests reach, by area. Run details: inputs, counts, proofs, fingerprints and settings. |
| QA, test managers | One row per test slot (preconditions, steps, test data, expected result, priority, folder), ready for Excel, Google Sheets, TestRail, Jira Xray or Zephyr Scale. Export tests (CSV) in the detailed report downloads it, and its Run details show how the columns map (Importing tests.csv). |
Every function gets one of four things to do:
What it means | What to do | |
Done | A test fails when this code breaks. | Nothing. It moves back to Prove if the code changes. |
Prove | A test runs it, or a coverage run executes it, but no test is proven to catch a break. | Run the proof command. |
Check | A test file or test name points here, but no call was traced. | Read that test file first; prove it if it drives the function, otherwise write one. |
Write | No test catches a break here yet. | Write a test (two are drafted for the top 20), then prove it. |
The one-page summary
The detailed report
Both from OrangePro run on its own repository at commit 64a5213, without a model key, so no tests were drafted. With a key, each of the top 20 shows two drafted tests, and the side panel shows their steps and code.
Why developers use it
It tells you what a test actually checks, not just what it runs. A test that calls a function isn't necessarily checking it.
opro provereplaces the function body with a fixed return value in an isolated copy and reruns your own test, unchanged. If the test still passes, it wasn't protecting that function.It puts consequences first. One filter shows the code paths that reach a delete or purge (cache evictions don't count); others show code that changes often, has many callers or runs on a schedule.
It's honest about evidence. A function is "linked" only when a test calls that exact function. A test with a similar name is a lead, never coverage. Tests that only check mocks don't count.
It's repeatable. Same commit, full git history, same config and same version give the same ranking. Each report records fingerprints, so you can tell when a change in results came from the code and when it came from the tool.
Your coding agent can drive it. As an MCP server it gives Claude Code, Cursor, Copilot, Codex and others the ranked gaps, the suggested test location and the proof step in one loop.
It's free, local and open source (MIT). No account, no API key for analysis, and no upload.
Why OrangePro is better than Qodo and CodeRabbit
OrangePro is the better choice for testing and verifying AI-written code.
Qodo and CodeRabbit review pull requests. That is useful, and it is not the same job as proving that your tests would actually catch a break. OrangePro is built for that proof.
Why OrangePro wins
Independent verification. The tool that wrote the code should not grade that code. OrangePro checks the change after the fact, on your tests and your repository.
Mutation proof. A test counts only if it passes on the original code and fails when that behavior is broken on purpose. You get a receipt, and a test-only patch to review.
Risk ranking from real code. It maps the functions in your repo, links them to the tests that actually call them, and ranks the unproven ones by risk. You start where a break would hurt most.
Free, local, and MIT licensed. It runs on your machine, including as an MCP server, with no OrangePro account, and your code stays on your machine. Mapping, ranking and proof need no model key.
Qodo no longer offers a PR test command. Qodo's legacy PR
testcommand was deprecated on 1 Sep 2026 with "No direct replacement," and was scheduled for removal on 1 Oct 2026. Its current public pages focus on review and governance. If you came to Qodo to generate or prove tests, OrangePro is the stronger fit today.
OrangePro | Qodo | CodeRabbit | |
Built for | Testing and verifying AI-written code, with proof that your tests would catch a break. | AI code review and governance for engineering teams shipping at agent speed. | AI code review, with optional unit test generation and application-level QA. |
How it proves a test | Mutation proof on the functions that matter most. A test counts only with a pass on the original and a fail on a broken copy. | Review comments, coding standards and rules, PR triage, and governance across repositories. | Review comments, summaries, suggested fixes, and pre-merge checks. CodeRabbit Verify generates user journeys and runs them against the application. |
Tests | Ranks real test gaps, then proves or drafts tests. Optional drafting uses your own model key. | The current product pages focus on review and governance. The legacy PR |
|
When it runs | After merge, before release, on the combined code you are about to ship. | On pull requests, and in the agent loop, before merge. | On pull requests, and also in the IDE and CLI, before merge. |
How you run it | Free, MIT licensed, on your machine, including as an MCP server: | A hosted platform. Local review now goes through the Qodo Agentic Toolbox with a coding agent. The IDE plugin was retired on 30 Oct 2026. Qodo pull request review was not affected. | A hosted service. Reviews of public repositories are free. |
Longer write-ups, with the same sources: Qodo alternatives and CodeRabbit alternatives. The product site is orangepro.ai.
Sources
Checked 22 Nov 2026, 3:02 AM PT, against each tool's public pages.
Qodo homepage, "Code review for agents. Governance for humans": qodo.ai
Qodo docs, how code review works: docs.qodo.ai/code-review/overview
Qodo docs, IDE plugin retired 30 Oct 2026; pull request review was not affected: docs.qodo.ai/qodo-ide-plugin-deprecation
Qodo docs, legacy v1
testcommand deprecated 1 Sep 2026 with "No direct replacement," removal scheduled 1 Oct 2026: docs.qodo.ai/sunsetting-legacy-v1-commands and Generate tests (Deprecated)Qodo Cover, still public: github.com/qodo-ai/qodo-cover
CodeRabbit homepage (review, triage, Verify): coderabbit.ai
CodeRabbit docs, code review overview: docs.coderabbit.ai/guides/code-review-overview
CodeRabbit docs, unit test generation, Open Beta, Team plan (Essentials on public repositories): docs.coderabbit.ai/finishing-touches/unit-test-generation
OrangePro positioning matches the live site and this README: after merge, before release, a test counts only with a pass and a fail receipt.
Quick start
cd /path/to/your/repo
# install the repo's own dependencies first (npm ci, uv sync, go mod download, ...)
npx -y @orangepro/mcp-server@latest start .
open .orangepro/short_behavior-coverage.htmlMapping, gap ranking and proof work with no model key. Drafting a test with real assertions needs a model provider (see Model setup); deterministic mode returns placeholders only.
Tips for the most accurate run:
Use a full clone, not a shallow one. Change history drives part of the ranking, and the report says when history was partial.
Exclude what isn't product code with
rank_exclude_paths(see Configuration).Rerun after a change. Each report says what changed since the last one. When nothing changed (same commit, files, settings, coverage and proofs),
startreuses the last reports at once and says so;--freshruns in full anyway.
What's written:
.orangepro/
├── short_behavior-coverage.html ← one-page summary
├── behavior-coverage.html ← detailed report: worklist, map, run details
├── tests.csv ← drafted tests, one row per test
├── report-data.json ← the data both reports show (used to compare and reuse runs)
├── run-key.json, last-start.json ← what the last run saw, so an unchanged repo is not analysed again
├── graph.json ← the evidence graph (deterministic)
├── ledger.json ← proof certificates
├── rtm.md ← traceability matrix
└── config.json ← optional per-repo settings
orangepro_generated/ ← generated tests (real assertions need a model provider; deterministic mode returns placeholders only); your files are never editedEvidence tiers
Every function gets exactly one evidence label. The four things to do above are read from it.
Evidence | What it means | To do |
Proven | A test passed on the original code and failed at its own assertion when this function was broken in an isolated copy. | Done |
Runs under tests | A coverage tool you ran executed this code. | Prove |
Linked | A test calls this exact function. That's a structural link, not proof. | Prove |
Unconfirmed | A test file or a test with a similar name points here, but no call was traced. That's a lead, not evidence. | Check |
No test found | Nothing links a test to it. | Write |
A proof that ran and did not catch the break turns the function into Write; a proof made before the code changed turns it back into Prove.
After opro export-tests, a function can also show a patch status: Verified test patch (not merged) means a new test, in orangepro-tests.patch, catches a fault the existing tests missed. It is not an evidence tier. The row keeps its label and what to do until the merged test is proven.
A successful orangepro_prove sets the oracle field proven to true and writes the ledger status reproven. That status is used the first time too. The report's Proven count is how many behaviors still match one of those certificates. The traceability row says Reproven (this run). That label does not mean the function was proved earlier.
What OrangePro doesn't count, so linked numbers are a floor, not a coverage percentage:
tests that only assert on mocks;
calls made over HTTP or from end-to-end suites, apart from one case: a supertest request to an Express app the test imports is linked to the function its route runs (below);
in Python, objects that reach a test only through a fixture;
in JavaScript and TypeScript, calls on an object a test gets from a fixture (for example Playwright's
test.extend), and calls to an inherited method, which are not linked to the class that defines it.
Check the tests before writing new ones for a flagged path.
"Proven 0" is normal on a first run. Proof runs your tests, so it happens only for the functions you choose, or within the attempt budget of
opro start.
How the ranking works
Each unproven function gets an OrangePro Risk Score, ORS = P × I × D:
P: how likely it is to change. Change history, fan-out, new code and size.
I: what it can break. Incoming references, entry-point position, data sensitivity, and a floor for paths that reach a delete or purge within two calls.
D: how hard a break would be to notice. Evidence tier (a linked test or a coverage run makes a break easier to notice than a name match or nothing), and whether it runs unattended (jobs and schedulers).
The score sets the order of work. It is not a defect probability. The weights are fixed and no AI model is involved. The report shows the inputs behind every row.
Prove a test
# Python: the mutation value is derived from the function (return annotation or its observed result)
opro prove-loop --target-symbol 'sym:app/billing/invoices.py#void_invoice' \
--test 'tests/test_invoices.py::test_void_marks_invoice_void' --replacement sentinel
# TypeScript / JavaScript: give the inert body to substitute
opro prove-loop --target-symbol 'sym:src/orders.service.ts#OrdersService.cancel' \
--test src/orders.service.spec.ts --replacement 'return null;'Proven: the test passes on the original code and fails at its own assertion on the broken copy. The oracle then says
proven: true. The ledger stores that attempt asreproven, including the first time, and the traceability row says Reproven (this run).Not proven: the test still passes on the broken copy, so it doesn't protect that function. That's a finding too.
Unrunnable: setup failed. This is never counted either way.
Arguments for orangepro_prove
For a JavaScript or TypeScript function the call needs:
target_symbol:sym:<file>#<Symbol>. A bare name is refused.test_path: the test file, relative to the repo.replacement: empty, or a singlereturnof a literal, such asreturn null;. A throw, a call, or any other statement is refused.replacement_mode:return-jsonfor a normal function (the default).promise-jsonwhen the function is async, so the literal is returned as a resolved promise.runner:jest,vitest,mocha, orauto. Use the runner the repo uses.
Worked example for an async run in index.js, tested with Jest:
{
"target_symbol": "sym:index.js#run",
"test_path": "index.test.js",
"replacement": "return null;",
"replacement_mode": "promise-json",
"runner": "jest"
}Go and Java do not take replacement. They take test_run (^TestName$ for Go, TestClass#testMethod for Java).
Find weak tests without a model key:
opro roast . # passing tests whose targeted mutant still survivesUse with your coding agent
OrangePro runs as an MCP server. Add it to your client's config:
{
"mcpServers": {
"orangepro-local": {
"command": "npx",
"args": ["-y", "@orangepro/mcp-server@latest", "mcp"]
}
}
}Client | Where to put it |
Claude Code |
|
Cursor |
|
VS Code / Copilot | MCP settings |
Codex / OpenCode / Windsurf |
|
A prompt that runs the whole loop:
"Use
orangepro_start, thenorangepro_find_test_gaps. For the top gap, write a test at the suggested path, run it, then callorangepro_prove_loopand tell me whether it was proven."
Configuration
Optional. Put it in .orangepro/config.json in the repository, or in ~/.orangepro/config.json for defaults across repositories. Every setting that changes the ranking is shown in the report.
{
"classification": {
"rank_exclude_paths": ["ui/**", "docs/**", "scripts/**"],
"test_support_paths": ["internal/testutil/**"],
"destructive_sinks": ["archive*"]
},
"tuning": { "churn_window_days": 180 },
"proof": { "python_runner": "auto", "attempt_limit": 20 },
"overrides": [
{ "symbol": "sym:src/legacy/shim.ts#shim", "action": "suppress", "reason": "generated shim, not product code" }
]
}rank_exclude_pathsremoves paths from the ranking. They are still counted as behaviors.destructive_sinksadds delete-like calls for your codebase.Overrides (
suppress,pin,reclassify) each require a reason, and the report lists them.Weights and tiers can't be configured.
Language support
Language | Map functions | Link tests that call them | Draft tests | Mutation proof |
TypeScript / JavaScript | ✓ | ✓ | ✓ Jest, Vitest, Mocha | ✓ Jest, Vitest, Mocha |
Python | ✓ | ✓ | ✓ pytest | ✓ pytest |
Go | ✓ | ✓ | ✓ | ✓ |
Java | ✓ | ✓ | ✓ JUnit 4 and 5 | ✓ Maven with JUnit 5 only |
Kotlin, Rust, PHP, C#, Ruby, Swift, C, C++ | ✓ | name match only | not yet | not yet |
"Name match only" means a test file or test name that looks like the function makes it Unconfirmed (Check). No call is traced, so these languages never reach Linked or Proven today.
TypeScript and JavaScript are parsed with the TypeScript compiler; the other languages with tree-sitter.
Python proof runs pytest through the repository's own environment: an existing
.venvorvenv, thenuvorpoetrywhen their lock files are present, elsepython -m pytest. Setproof.python_runnerto use your own command.Java proof needs Maven (Surefire) and JUnit 5. Gradle and JUnit 4 projects are mapped and linked, but not proven yet.
Not traced yet, so tested code can show as Unconfirmed: calls through Go test-suite methods and helper constructors, dependency injection that is wired at runtime, reflection, and calls made over HTTP or RPC.
Route links (JavaScript and TypeScript, Express): a supertest request (
request(app).get('/users/1')) to an app the test imports from the repository links the test to the function the matching route runs. A named handler links to itself. An inline handler links to the counted functions it calls directly, one call deep. Exactly one route must match. The row says how the link was made ("reaches it via route GET /users/:id (app.js:12)"). It is a link, not proof. Routes and mounts built at run time, apps a test builds itself, and other HTTP clients are not linked; Run details counts them.Links through what a library hands out (JavaScript and TypeScript): a call through a package's re-export file links to the function it re-exports. A call on a value from a function that copies a module's exported object onto what it returns links to that object's method, and the row says how ("via app = createApplication() (members of lib/application.js)"). A call on a handler's parameter, matched to an exported object of the same name, is Unconfirmed: the step in between runs in code the map does not read.
Requirements and limits
A patched Node.js: 22.23.4 or newer 22.x, 24.22.1 or newer 24.x, or 26.12.1 or newer, on macOS or Linux. Windows isn't tested: proofs use POSIX paths and symlinks.
Use a patched Node.js. The October 21, 2026 Node.js security releases (22.23.4, 24.22.1, 26.12.1) fix several high-severity issues, and Node.js 20 is end-of-life and gets no fix. Odd-numbered lines (23, 25) have no patched release. The
enginesfield inpackage.jsonrecords this, but npm only warns about it unless you setengine-strict=true. Check your version withnode -v. See the Node.js security release notice.Git, for change history. Without it, or in a shallow clone, the ranking uses structure only and the report says so. A folder that isn't a git checkout always runs in full.
Install the repository's dependencies first (
npm ci,uv sync,go mod download,mvn -q install, …). Proof runs your own tests in an isolated copy and needs them to pass there.What's read: source and test files, skipping anything in
.gitignoreor.orangeproignore(negations with!aren't supported), the usual build and dependency folders (node_modules,vendor,dist,build,target,coverage,.venv, …), files over 1 MB, and generated code (files markedCode generated … DO NOT EDIT). Up to 100,000 files;ORANGEPRO_MAX_FILESlowers that andORANGEPRO_MAX_ANALYZE_MSsets a time limit for the scan.Test drafting covers the 20 highest-priority functions, two tests each, in the order the worklist shows, and the reports show those 20. Drafts are kept until the function's code changes.
What counts as "nothing changed" for reusing a run: the commit, every modified or untracked file that git doesn't ignore, OrangePro's settings and ignore files, coverage files, the proof ledger, the
startoptions, whether a model key is set, and the analysis version. A run whose test drafting failed on a provider error (out of credits, rate limit) runs again in full.The CSV column mapping follows each tool's CSV importer (see Importing tests.csv). Check the import preview the first time.
Privacy and network use
Nothing about your code or your runs is sent anywhere. There is no usage telemetry.
Source is read in-process and never stored or uploaded. Reports and the evidence graph contain metadata, not your source.
Your source files are never edited. Proofs run in an isolated copy.
Model calls happen only if you configure a key, and they go directly from your machine to the provider you chose. Keys, the provider, its endpoint and the model are read only from your shell environment, or from the
envblock of your MCP client's config. OrangePro reads no.envfile, so a repository you scan cannot choose where your key is sent, and OrangePro never writes keys anywhere.opro setupsaves only the provider and model name.With a key, the reports and
tests.csvinclude the tests your model drafted, and the prompts include the function names, files and evidence they're based on.Reports load nothing from the network. The only outbound links are ones you click.
Feedback
Reports include a Give feedback link and a This looks wrong link on each finding. Once in a while, after the findings, they also ask whether the report helped.
The links carry nothing about your project. The form sends only what you review and submit.
You stay anonymous unless you leave an email.
opro feedback # print the link and your settings
opro feedback off # stop the "Did this help?" question (links stay)
ORANGEPRO_FEEDBACK_URL=off # hide every feedback linkThe question appears at most once every 14 days (ORANGEPRO_FEEDBACK_COOLDOWN_DAYS). That preference is stored only on your machine. MCP clients get the link as optional result metadata (_meta["ai.orangepro/feedback_url"]), and your agent is never asked to prompt you for feedback.
Reference
opro # same as opro start .
opro start . --no-ai --no-auto # analyze + reports, no model calls, no proof attempts
opro start . --fresh # run in full even when nothing changed since the last run
opro start --base main # scope to a branch diff
opro analyze # build the evidence graph and reports
opro gaps --limit 10 # top unproven behaviors, ranked
opro prove-loop ... # mutation proof for one function (see above)
opro roast . # find tests whose mutant survives (no key needed)
opro doctor --proof # why top targets aren't proven yet
opro generate --base main # tests for this branch (needs a model provider; --provider deterministic returns placeholders only)
opro rtm # traceability matrix
opro export # metadata-only evidence pack
opro coverage # find or generate runtime coverage artifacts
opro feedback [on|off] # feedback link and invitation setting
opro mcp # run as an MCP server (stdio)Add --json to any read command for machine output. Run opro help for every flag.
Tool | What it does |
| Analyze, write both reports and |
| Build or refresh the evidence graph |
| Unproven behaviors ranked by ORS |
| Setup + mutation proof + report refresh for one behavior |
| Mutation proof only |
| Grounded tests. A test with real assertions needs a model provider. |
| What a diff touches |
| Workspace state without running anything |
| What evidence to add next |
| Graph readiness (0–100) |
| Traceability matrix |
| Aggregate statistics |
| Record a test run result |
| Why a test was generated |
| Metadata-only evidence pack |
| Incremental graph update |
| Weak behavior→code suggestions (optional AI, never evidence) |
| Candidate flows (optional AI, never evidence) |
| Preview, or with confirmation write, an opt-in post-merge workflow and its profile; never commits or pushes (tested locally) |
Run your own unit and integration coverage first, then opro start. OrangePro ingests Go coverprofiles, lcov, coverage.py XML and JaCoCo XML, and keeps unit, integration and unclassified coverage separate. To label artifacts, add .orangepro/coverage-suites.json:
{
"artifacts": {
".orangepro/coverage/unit.coverprofile": { "suite": "unit", "command": "make unit-test-coverage" },
".orangepro/coverage/integration.coverprofile": { "suite": "integration", "command": "make integration-test-coverage" }
}
}Provider | Environment variable |
OpenAI-compatible |
|
Anthropic |
|
Ollama (local, no key) |
|
Auto-detect order: OpenAI → Ollama → Anthropic. Override with --provider and --model, or run opro setup.
Model output never changes an evidence tier. Only the mutation proof can mark a behavior Proven.
Generated tests land in
orangepro_generated/with the files and existing tests they're grounded on, and where and how to run them.Drafts whose code fails the compile check are kept as plans ("Plan only"), with the reason named. Without a key, each of the top 20 shows two empty slots with a prompt you can copy into your coding agent.
Without a key,
orangepro_generate_testswithprovider: deterministicreturns placeholders only. That mode smoke-tests the pipeline.A placeholder checks nothing (
expect(true).toBe(true),assert True, at.Fatalfthat never runs), so it can never prove anything. Under Mocha itstoBeline fails outright, because Chai'sexpecthas notoBe.It is still marked
runnable: true, with a run hint (suggested_path,run_command, and aprove_runwhen it targets a counted JavaScript, TypeScript or Python function), whenever its checks pass:Python and Java: its syntax check passes (Python needs
python3).Go:
gofmtpasses and, next to Go source, a compile check passes (never under--static-only).JavaScript and TypeScript: OrangePro can reuse a related test file's imports (even one matched only by name, whose imports may not include the code under test) or derive an import from a source file, and every import resolves.
Otherwise it is
runnable: false, with no run hint.
One row per test, UTF-8. The first 12 columns are for import; the rest keep the priority, evidence and proof command with each test. Priority is High for the five highest-ranked functions and Medium for the rest.
Column in | TestRail | Jira Xray | Zephyr Scale |
ID | Test Case Identifier | (leave Key empty) | |
Title | Title | Summary | Name |
Section ( | Sections Hierarchy | ||
Folder ( | Test Repository Path | Folder | |
Priority | Priority | Priority | Priority (map Medium to Normal) |
Test type | Type | Labels | Labels |
Preconditions | Preconditions | (separate issues in Xray; add to Description if you want them) | Precondition |
Steps | Manual Test Step: Action | ||
Test data | Manual Test Step: Data | ||
Steps with data | Steps | Test Script (Steps) - Step | |
Expected result | Expected Result | Manual Test Step: Expected Result | Test Script (Steps) - Expected Result |
References | References | Description | Objective |
TestRail: Import from CSV with the Test Case (Text) template, one row per test case.
Jira Xray: Test Case Importer; each test imports as one manual step.
Zephyr Scale: it has no test-data field, so Steps with data carries it.
Check the importer's preview before you confirm.
opro generate --base main # tests for what this branch changed (read-only git diff)
opro generate --changed # current branch vs its base
opro generate --pr 1234 # checks out PR #1234 (asks first; refuses on a dirty tree)Hosted platform
This repository is the free local tool. The OrangePro platform adds:
a persistent graph across PRs and repositories;
CI gates on evidence and risk changes;
requirement and incident correlation;
team dashboards.
Contributing
git clone https://github.com/OrangeproAI/orangepro-mcp.git
cd orangepro-mcp && npm ci && npm run build
npm testPRs welcome. Please open an issue first for large changes.
Available Tools
19 toolsorangepro_ai_flowsStage/apply AI candidate flowsA
Opt-in AI lane: propose candidate behavior-flow chains over existing deterministic entry and CodeSymbol ids. Generate writes .orangepro/flows.json only; apply=true stores survivors under analysis.candidate_flows. Candidate flows are a verify-these worklist and never affect Proven, deterministic flow counts, tiers, or coverage.
Inputs: apply, model, provider, workspace.
orangepro_ai_linksStage/apply AI candidate linksA
Opt-in AI lane: propose weak MAY_RELATE_TO candidate links between existing deterministic behavior and CodeSymbol nodes. Generate writes .orangepro/ai/links.json only; apply=true explicitly merges survivors into candidate_edges. These links never affect proven coverage.
Inputs: all, apply, model, provider, +4 more.
orangepro_analyze_sourcesAnalyze local sourcesAIdempotent
Build or refresh the local OrangePro evidence graph from a local checkout/path plus optional CSV/Markdown enrichers. Metadata-only by default — reads source in-process but never stores or uploads code. Optionally stages/applies AI candidate flows and refreshes the report when ai_flows=true.
Inputs: mode, model, paths, ai_flows, +4 more.
orangepro_changed_impactChanged-file impactARead-only
DIFF/PR TOOL — only for real code-review situations. Summarizes what changed vs a base git ref and which local graph behaviors/tests are affected (basic changed-file impact; no deep route/API shape analysis). Requires a git repo and a real diff: returns status 'no_diff' / 'no_code_changes' (diff was docs-only) / 'missing_base_ref' / 'not_a_git_repo' with guidance instead of fabricated impact when there is nothing to analyze. For baseline (no-PR) test opportunities use orangepro_find_test_gaps.
Inputs: base_ref, workspace.
orangepro_doctorRecommend next evidenceARead-only
Recommend the smallest next source that would most improve generated-test quality, with expected score impact. Teaches what data improves output.
Inputs: goal, proof, workspace.
orangepro_explain_testExplain a generated testARead-only
Explain why a generated test exists: which graph evidence anchors support it, source refs, and whether weak/candidate evidence was used. Exposes trust artifacts only, not internal generation logic.
Inputs: generated_test_id (required), workspace.
orangepro_export_evidence_packExport evidence packAIdempotent
Export a portable evidence pack (JSON) plus a human-readable Markdown summary for review or later hosted promotion. Includes facts, provenance, generated outputs, and high-level score metadata — never prompts, weights, traces, or raw source. Validates against the local schema.
Inputs: workspace, graph_html, output_path, include_generated_bodies.
orangepro_find_test_gapsFind test gapsARead-only
List requirements/flows with weak or missing test evidence, plus top_risk_gaps for unproven code symbols ranked by the OrangePro Risk Score (Probability × Impact × DetectionDifficulty). Risk is prioritization only; it never changes coverage/proof status.
Inputs: limit, workspace, min_priority.
orangepro_generate_testsGenerate grounded testsA
Generate a small capped set (1-5) of grounded tests from local evidence using your own model key (BYOK: OpenAI-compatible, Ollama, or Anthropic). Tests are diversified across lightweight LOCAL scenario buckets (happy_path, validation_error, edge_case, integration_flow, security_privacy, regression) chosen from the evidence — unjustified buckets are skipped, never padded. By default it focuses the top-gap behavior and returns up to limit bucket-diverse tests for it; pass multiple target_ids to split the budget across them. Each test reports its bucket plus VALIDATED grounding evidence (every cited entity resolved against the local graph with its kind, evidence strength, and source_ref) and discloses weak/candidate evidence; evidence_summary reports proof coverage and any broken citations, so the grounding is verifiable rather than asserted. If evidence is too thin, returns missing-evidence guidance instead of generic tests. Returns each test's code plus run_hints (a suggested file path + run command) and an agent_workflow: YOU (the agent) write each file and run it with your shell tools, then report pass/fail + stack traces — OrangePro never writes to or runs anything in the repo. Requires the repo's test framework/deps to already be installed.
Inputs: limit, model, compare, base_ref, +6 more.
orangepro_graph_scoreGraph readiness scoreARead-only
Return the local graph readiness score (0-100), band, per-dimension breakdown, and plain-language missing evidence. Readiness signal, not a proof of test lift.
Inputs: workspace.
orangepro_install_github_actionInstall the post-merge GitHub Actions workflowAIdempotent
Preview, by default, the opt-in post-merge workflow (.github/workflows/orangepro-proof.yml: contents: read, no secrets, pinned actions) and the .orangepro/actions/ folder it reads (the profile: target, oracle, fault, selected tests, the test to replay). Writes nothing unless dry_run is false and confirm is "install" (or "uninstall" with uninstall: true). Never commits, pushes, creates secrets, grants permissions or opens pull requests; a file changed since OrangePro wrote it is reported as a conflict and never overwritten or removed. Tested locally; a real Actions run is separate.
Inputs: base, confirm, deliver, dry_run, +5 more.
orangepro_proveRun dynamic targeted proofA
Run the dynamic targeted-proof oracle for a CodeSymbol and append a metadata-only ledger certificate. Public Proven closes only when baseline green plus a valid sentinel mutation of the credited symbol fails the same test at an assertion. Static record_run is diagnostics only.
Inputs: method, run_id, runner, source, +13 more.
orangepro_prove_loopSetup, run dynamic proof, refresh reportA
Product wrapper around orangepro_prove: run trusted-local setup_commands in the source checkout, then the UNCHANGED dynamic targeted-proof oracle, then refresh the behavior report. Setup is non-secret repo prep only (build/install/shim); a setup failure returns unrunnable, does not run the oracle, and leaves the ledger untouched (never Proven). Public Proven still closes only through the unchanged certificate.
Inputs: method, run_id, runner, source, +15 more.
orangepro_record_runRecord gap-fill outcomeA
Record an agent test-writing attempt as static diagnostics. When test_path is provided for TS/JS, OrangePro first tries scoped deterministic re-prove; otherwise it re-analyzes the repo. Static hard COVERS edges render as Linked; public Proven requires orangepro_prove.
Inputs: model, run_id, source, vacuous, +8 more.
orangepro_rtmDeterministic traceability matrixBIdempotent
Write and return a deterministic Requirements Traceability Matrix. Status comes only from the local graph and gap-fill ledger: Proven, Runs under tests, Linked, Unconfirmed, No test found, Reproven, or Generated-unverifiable. No LLM calls.
Inputs: limit, format, status, base_ref, +2 more.
orangepro_startStart OrangeProAIdempotent
One-command local setup for a repo or PR: analyze sources, auto-apply weak AI candidate links and candidate flows when a real BYOK provider is configured, write behavior-coverage.html (detailed report), short_behavior-coverage.html (summary), tests.csv + rtm.md, summarize changed/gap targets, and return agent next actions. When nothing changed since the last run it returns at once with unchanged_since and reuses the reports (fresh=true forces a full run). AI lanes stay separate and never affect Proven coverage.
Inputs: fresh, model, no_ai, ai_all, +9 more.
orangepro_statsGap-fill ledger statsBRead-only
Summarize the local gap-fill ledger: attempted, dynamic-reproven, unproven, legacy static-associated, generated-but-unverifiable, and kept rate. Metadata-only.
Inputs: workspace.
orangepro_statusLocal workspace statusARead-only
Show local workspace state without generating anything: whether the graph is fresh/stale/missing, source mix, score, and privacy settings (always local, no upload).
Inputs: workspace.
orangepro_update_graphIncrementally update graphAIdempotent
Refresh the local graph from changed files. Incremental and non-destructive by default — preserves evidence and marks affected generated tests stale.
Inputs: workspace, force_full_rebuild.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Descriptions go out of their way to draw boundaries (changed_impact explicitly redirects baseline work to find_test_gaps, record_run vs prove static-vs-dynamic is spelled out, ai_links vs ai_flows are separate file targets). The remaining friction is a genuine three-way overlap between start, analyze_sources, and update_graph, all of which build/refresh the same graph with only subtle differences, plus prove vs prove_loop.
All tools share the orangepro_ prefix and snake_case, and most follow verb_noun (record_run, generate_tests, find_test_gaps, export_evidence_pack). A handful are bare nouns/commands (start, status, stats, doctor, rtm) and the AI pair uses noun-only naming (ai_links, ai_flows), a minor deviation from the dominant pattern.
19 tools is at the heavy end for this surface and includes parallel/redundant pairs (prove/prove_loop, ai_links/ai_flows, start/analyze_sources/update_graph) that could plausibly be consolidated. Each lane is defensible on its own, but the set is broader than it needs to be.
The surface covers the full lifecycle of the stated domain: build/refresh graph, score it, find gaps, generate and explain tests, prove dynamically, loop setup+prove, report via RTM/evidence pack, plus status/stats/doctor and GitHub Action install/uninstall. Gaps are minor: no tool to browse or list behaviors/code symbols as generation targets (only gaps are listed), and no explicit reset/cleanup for the graph or AI artifacts.
Maintenance
Related MCP Connectors
Generates unit tests for Python code with coverage before/after reports and concrete edge cases.
Discover software problems, analyze evidence, and create implementation-ready Build plans.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
Related MCP Servers
- AlicenseAqualityDmaintenanceAI-powered characterization test generator that reads Python functions or class methods, synthesizes inputs, captures behavior in a sandbox, and emits pytest files to lock legacy code behavior for safe refactoring.4Apache 2.0
- AlicenseAqualityDmaintenanceAnalyzes software projects to extract architecture, build dependency graphs, and predict the impact of code changes.242MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to analyze codebase behavior through entrypoints, call paths, and tests, providing impact analysis and context packs for code changes.MIT

openhonest-umbraofficial
AlicenseAqualityAmaintenanceAudits a module against its test suite and reports the cases the tests are structurally unable to see, then proves each gap with a real failing test rather than a warning. Covers Python, TypeScript, JavaScript, Java, Rust and Go.43Apache 2.0