coverage-orchestrator-mcp
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., "@coverage-orchestrator-mcp run test coverage orchestration targeting 90%"
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.
coverage-orchestrator-mcp
A TypeScript MCP server that drives test coverage toward target thresholds by coordinating workspace test execution with code-tree-mcp uncovered-symbol analysis.
What It Does
ensures workspace coverage tooling exists
runs tests with coverage and collects failures
imports LCOV into
code-tree-mcpfetches uncovered symbols from
code-tree-mcpranks the next highest-impact coverage actions
iterates until thresholds are met or a stop condition is reached
Related MCP server: OrangePro MCP
Requirements
Node.js 20+
a reachable
code-tree-mcpbinary, typically vianpx code-tree-mcpa target workspace with a Node-based test runner
Install
npm install
npm run buildRun
One-command server startup after build:
npx coverage-orchestrator-mcpRun the fixture workflow and call the orchestrator from npx:
npx coverage-orchestrator-mcp implementTestCoverageOptional target percentage:
npx coverage-orchestrator-mcp implementTestCoverage 90If the percentage is omitted, this command targets 100% (highest possible target).
During local development:
npm run devSetup
Print VS Code MCP configuration:
npx coverage-orchestrator-mcp setup --print-configWrite .vscode/mcp.json in the current working directory:
npx coverage-orchestrator-mcp setup --client vscodeIf the current directory is not the workspace you want to update, pass --project-root.
Workspace
This repository tree includes a multi-root workspace file at ../new mc.code-workspace that opens both:
code-tree-mcpcoverage-orchestrator-mcp
Tool Workflow Example
Call
ensure_coverage_setupfor the target workspace.Call
run_tests_with_coverage.Call
fetch_uncovered_code.Call
verify_coverage_target.Call
improve_test_coverage_orchestratorfor iterative orchestration.
Troubleshooting
If
setupcannot write.vscode/mcp.json, rerun with--print-configand copy the JSON manually.If
code-tree-mcpis not on your path, configure the orchestrator process withCODE_TREE_MCP_COMMANDandCODE_TREE_MCP_ARGS.If coverage artifacts are missing, confirm the target workspace can run
npm run test:coverageand produces bothcoverage/coverage-summary.jsonandcoverage/lcov.info.
Validation
npm testruns unit coverage helpers, CLI, server routing, and orchestrator-loop tests.npm run test:integrationrebuilds the siblingcode-tree-mcppackage, launches it over stdio, and verifies uncovered-symbol fetching against a real MCP server.
Available Tools
5 toolsensure_coverage_setupC
Ensure the target workspace has runnable coverage commands and coverage dependencies.
Inputs: workspacePath, workspacePaths, preferredRunner, preferredCoverageProvider.
fetch_uncovered_codeC
Import LCOV into code-tree-mcp and fetch ranked uncovered symbols.
Inputs: limit, language, nodeType, pathPrefix, +3 more.
improve_test_coverage_orchestratorC
Drive the full iterative coverage improvement loop and produce prioritized next actions.
Inputs: excludePaths, includePaths, maxIterations, workspacePath, +6 more.
run_tests_with_coverageC
Run tests and coverage in the target workspace and collect failures plus artifact paths.
Inputs: testCommand, workspacePath, workspacePaths, coverageCommand.
verify_coverage_targetC
Compare current coverage metrics against requested thresholds.
Inputs: workspacePath, workspacePaths, targetLinesPercent, targetBranchesPercent, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clear, distinct purpose: setup, fetching uncovered code, running tests, verifying targets, and orchestrating improvements. No two tools serve overlapping functions.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., ensure_coverage_setup, fetch_uncovered_code, verify_coverage_target), making them predictable and easy to differentiate.
Five tools is appropriate for a coverage orchestration server, covering the essential workflow without unnecessary complexity. The scope is well-defined.
The tool set covers the full lifecycle: setup, running tests, fetching uncovered code, verification against thresholds, and orchestration of iterative improvements. No obvious gaps for the intended purpose.
Maintenance
Related MCP Connectors
Generates unit tests for Python code with coverage before/after reports and concrete edge cases.
Shared app-testing runbook: read the plan, record results per platform, raise and fix issues.
3rd Generation Testing (3TG) — generate deterministic test suites from Markdown spec tables via MCP.
Coordinate coding agents through MCP using existing AI plans, saved work, and independent checks.
Related MCP Servers
- AlicenseAqualityDmaintenanceWraps existing test frameworks (Jest, Vitest, Pytest) and exposes structured, LLM-optimized results via MCP tools with progressive disclosure and diff-aware execution.111MIT

OrangePro MCPofficial
AlicenseAqualityBmaintenanceOpen-source MCP server and CLI. It maps every function to the tests that call it, ranks untested risk, and uses mutation proof to show a test catches a break. Local, MIT.19379 npm20MIT- AlicenseAqualityCmaintenanceEnables coverage-driven test generation for RHDH plugin forests by analyzing git diffs and coverage reports, recommending the cheapest test layer, and emitting actionable test briefs, including Playwright MCP prompts for UI gaps.10Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to deterministically audit test files for fake or fragile tests (no assertions, tautological or swallowed assertions, focused/skipped tests, fixed sleeps, real network calls) and to run the project's actual test runner, treating an exit-0 run with zero tests as a failure and flagging changed source files that lack test coverage.51 npmMIT