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-mcprun 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: testmcp
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.
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | No | Single absolute workspace path. | |
| workspacePaths | No | Absolute paths to workspaces to operate on. | |
| preferredRunner | No | ||
| preferredCoverageProvider | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description only says 'ensure' without disclosing side effects (e.g., installing dependencies, modifying workspace). Bar is high without annotations; this falls short.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with purpose. No unnecessary words, but could expand slightly without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 4 parameters, no output schema, and no annotations, the description is too brief. Does not explain what 'coverage commands' or 'dependencies' means, nor success/failure criteria. Incomplete for a setup tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 50% with descriptions for two parameters, but the description adds no parameter-level meaning. The optional parameters preferredRunner and preferredCoverageProvider are unexplained beyond their names.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it ensures the target workspace has runnable coverage commands and dependencies. The verb 'ensure' plus specific resource and outcome distinguish it from sibling tools like fetch_uncovered_code (data retrieval) or improve_test_coverage_orchestrator (improvement).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this vs alternatives. Missing context about prerequisites, idempotency, or when setup is needed. Sibling tools exist but no differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fetch_uncovered_codeC
Import LCOV into code-tree-mcp and fetch ranked uncovered symbols.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| language | No | ||
| nodeType | No | ||
| pathPrefix | No | ||
| workspacePath | No | Single absolute workspace path. | |
| workspacePaths | No | Absolute paths to workspaces to operate on. | |
| coverageArtifactPath | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must fully disclose behavior. It mentions importing and fetching but omits side effects, permissions, or whether the import modifies state. Minimal transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely short, but not overly concise to the point of losing necessary detail. It is front-loaded but lacks substance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 7 parameters, no output schema, and no annotations, the description is severely incomplete. It does not explain what 'ranked uncovered symbols' means or how results are structured.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 29%, and the description adds no parameter explanations. Parameters like limit, language, nodeType are left undefined, forcing the agent to guess.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies the main actions: importing LCOV and fetching ranked uncovered symbols. It is clear enough to understand the tool's role among siblings, though it could be more precise about the output.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like verify_coverage_target or run_tests_with_coverage. The description does not state prerequisites or context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
improve_test_coverage_orchestratorC
Drive the full iterative coverage improvement loop and produce prioritized next actions.
| Name | Required | Description | Default |
|---|---|---|---|
| excludePaths | No | ||
| includePaths | No | ||
| maxIterations | No | ||
| workspacePath | No | Single absolute workspace path. | |
| workspacePaths | No | Absolute paths to workspaces to operate on. | |
| minDeltaPercent | No | ||
| targetLinesPercent | No | ||
| targetBranchesPercent | No | ||
| targetFunctionsPercent | No | ||
| targetStatementsPercent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. However, it does not disclose behavioral traits such as side effects (e.g., file modifications), authorization needs, or what constitutes 'prioritized next actions'. The description is too vague to inform the agent about consequences.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise, but it sacrifices informativeness. It could be improved by adding key details without becoming overly long.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 10 parameters, no output schema, and no annotations, the description is severely incomplete. It omits the iterative nature, convergence criteria, interaction between parameters, and the meaning of 'prioritized next actions'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 20%, yet the description adds no parameter details. It does not explain the role of any of the 10 parameters (e.g., targetLinesPercent, maxIterations), leaving the agent without guidance on how to populate them.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Drive the full iterative coverage improvement loop and produce prioritized next actions' conveys a high-level process but lacks specificity. It does not clearly distinguish from sibling tools like ensure_coverage_setup or run_tests_with_coverage, which also cover parts of the loop.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this orchestrator versus the individual sibling tools. There is no mention of prerequisites, alternatives, or context where this tool is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_tests_with_coverageC
Run tests and coverage in the target workspace and collect failures plus artifact paths.
| Name | Required | Description | Default |
|---|---|---|---|
| testCommand | No | ||
| workspacePath | No | Single absolute workspace path. | |
| workspacePaths | No | Absolute paths to workspaces to operate on. | |
| coverageCommand | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description must fully disclose behavior. It only states it 'runs tests and coverage and collects failures plus artifact paths,' omitting whether it modifies files, requires permissions, or has side effects. This is insufficient for safe invocation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence of 15 words, front-loaded with the action. Every phrase earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 4 parameters, no output schema, and no annotations. The description fails to explain parameter interactions, output format, or error handling, making it incomplete for reliable agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 50% schema description coverage, the description should clarify parameter usage. It does not explain testCommand or coverageCommand format, and does not distinguish between workspacePath and workspacePaths. Minimal added value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it runs tests and coverage and collects failures and artifact paths. This distinguishes it from sibling tools like ensure_coverage_setup or fetch_uncovered_code, though it doesn't explicitly name them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like ensure_coverage_setup or verify_coverage_target. The description lacks context about prerequisites or limitations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_coverage_targetC
Compare current coverage metrics against requested thresholds.
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | No | Single absolute workspace path. | |
| workspacePaths | No | Absolute paths to workspaces to operate on. | |
| targetLinesPercent | No | ||
| targetBranchesPercent | No | ||
| targetFunctionsPercent | No | ||
| targetStatementsPercent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It says 'compare' but does not disclose whether the tool is read-only, what happens on threshold pass/fail, or any side effects. Minimal behavioral info.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is only one sentence, which is concise but at the cost of missing essential details. It is not front-loaded with critical info like parameter hints or return behavior.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 6 parameters, no output schema, and no annotations, the description is far from complete. It only gives a high-level purpose without addressing return format, side effects, or parameter details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33%, and the description adds no extra information about any of the 6 parameters. It does not explain what the target percentages represent or any constraints.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'compare' and the resource 'current coverage metrics against requested thresholds'. It distinguishes the tool from siblings (setup, fetch, improve, run tests), but could be more specific about the source of current metrics.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. No mention of prerequisites, when to apply, or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v0.1.0- First observed
ensure_coverage_setup - First observed
fetch_uncovered_code - First observed
improve_test_coverage_orchestrator - First observed
run_tests_with_coverage - First observed
verify_coverage_target
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
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.
Discover software problems, analyze evidence, and create implementation-ready Build plans.
Control plane for autonomous software labor. Agents claim objectives over MCP with audit trail.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAutomates Java/Maven test generation, JaCoCo coverage analysis, and Checkstyle checking through MCP tools. Enables iterative improvement of test coverage and code style until quality goals are met.1-
- FlicenseAqualityDmaintenanceWraps existing test frameworks (Jest, Vitest, Pytest) and exposes structured, LLM-optimized results via MCP tools with progressive disclosure and diff-aware execution.111-

OrangePro MCPofficial
AlicenseAqualityAmaintenanceAnalyzes code to map behaviors, identify untested gaps, and generate grounded integration tests that actually run.151,071 npm17MIT- AlicenseDqualityDmaintenanceMCP server for deterministic local test execution and normalized test result reporting, supporting pytest and Jest with coverage summaries.6MIT