Mcp Jacoco Reporter

by crisschan

339 downloads Not rated yet
GitHub

About

# MCP-JaCoCo MCP-JaCoCo is a server tool that converts JaCoCo code coverage reports into formats optimized for Large Language Models (LLMs), making AI-driven analysis easier and more effective. # Why It Matters As AI and LLMs play a bigger role in software development, traditional code coverage reports—like those from…

Explore

- Smart Conversion: Transforms JaCoCo XML reports into LLM-friendly JSON format
- Flexible Coverage Types: Supports multiple coverage metrics (instruction, branch, line, etc.)
- Efficient Processing: Fast and lightweight report processing
- Structured Output: Well-organized JSON format for easy AI consumption
- Customizable Analysis: Filter coverage data by specific metrics of interest

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Jacoco Reporter
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install MCP-JaCoCo using uv with this configuration:

{
"mcpServers": {
"mcp-jacoco-reporter-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/Users/crisschan/workspace/pyspace/mcp-jacoco-reporter/mcp-jacoco-reporter-server.py"
],
"env": {
"COVERED_TYPES": "nocovered, partiallycovered, fullcovered"
},
"alwaysAllow": [
"jacoco_reporter_server"
]
}
}
}

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp jacoco reporter": {
            "mcp-jacoco-reporter-server": {
                "command": "uv",
                "args": [
                    "run",
                    "--with",
                    "mcp[cli]",
                    "mcp",
                    "run",
                    "/Users/crisschan/workspace/pyspace/mcp-jacoco-reporter/mcp-jacoco-reporter-server.py"
                ],
                "env": {
                    "COVERED_TYPES": "nocovered, partiallycovered, fullcovered"
                },
                "alwaysAllow": [
                    "jacoco_reporter_server"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-jacoco-reporter-server": {
        "command": "uv",
        "args": [
            "run",
            "--with",
            "mcp[cli]",
            "mcp",
            "run",
            "/Users/crisschan/workspace/pyspace/mcp-jacoco-reporter/mcp-jacoco-reporter-server.py"
        ],
        "env": {
            "COVERED_TYPES": "nocovered, partiallycovered, fullcovered"
        },
        "alwaysAllow": [
            "jacoco_reporter_server"
        ]
    }
}
MCP-JaCoCo is a server tool that converts JaCoCo code coverage reports into formats optimized for Large Language Models (LLMs), making AI-driven analysis easier and more effective.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.