testing / Node.js and MCP

test-intel-mcp

Turn coverage reports and source layout into practical test-priority signals.

test-intel-mcp reads common JavaScript and TypeScript coverage formats, maps source files to their likely tests, and adds heuristic complexity signals. It is designed to help an MCP client decide where testing effort is most useful next.

Installation

npx -y @barissozudogru/test-intel-mcp

Platform requirements and configuration are documented in the repository instructions.

Capabilities

  • Parse lcov, Istanbul JSON, and Cobertura coverage reports
  • Surface uncovered files, functions, lines, and branches from coverage data
  • Map source files to corresponding or importing test files
  • Estimate function complexity and suggest categories of test cases

Use cases

  • Triaging coverage gaps in TypeScript and JavaScript projects
  • Giving an MCP client local test context without an external service
  • Prioritizing complex functions for human review and stronger tests

Evidence

verified open-source case study

A 98.42 percent covered project still contains two uncovered lines.

The published report command inspected a real lcov artifact produced by all 22 upstream tests from p-limit 7.3.1 at commit df47604.

tests      22 passed
line       98.42 percent
uncovered  13, 14
branch     12:3:0

GitHub Actions

Turn an existing coverage artifact into a workflow summary.

- uses: barissozudogru/[email protected]

Limitations

  • Source-to-test matching does not prove that every function is behaviorally tested
  • Complexity and test suggestions are heuristic signals, not semantic guarantees
  • Use native coverage data as the source of truth when it is available