Skip to main content

A MCP server project

Project description

jacoco-reporter MCP server

A MCP server project

Components

Resources

The server provides access to JaCoCo coverage reports through custom URI schemes.

Prompts

The server provides a single prompt:

  • jacoco-report-analysis: Analyzes JaCoCo coverage reports
    • Optional "style" argument to control detail level (brief/detailed)

Tools

The server implements one tool:

  • jacoco-reporter-server: Reads JaCoCo reports and returns coverage data
    • Takes "jacoco_xmlreport_absolute_path" as required argument
    • Optional "covered_types" and "clazz" arguments

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "jacoco-reporter": { "command": "uv", "args": [ "--directory", "/Users/chaney/PycharmProjects/mcp/jacoco-reporter", "run", "jacoco-reporter" ] } } ```
Published Servers Configuration ``` "mcpServers": { "jacoco-reporter": { "command": "uvx", "args": [ "jacoco-reporter" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/chaney/PycharmProjects/mcp-jacoco-reporter/jacoco-reporter run jacoco-reporter

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jacoco_reporter-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jacoco_reporter-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file jacoco_reporter-0.1.0.tar.gz.

File metadata

  • Download URL: jacoco_reporter-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for jacoco_reporter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e15f9e1105a49bdc319b338069c4b0dde6e0f403fba34abc91ee2404f67caac5
MD5 d9cb5baf13c99b40665ece48349f02c4
BLAKE2b-256 deed79add26fc7350c57ee02fec2fc2d8d4205d6ca66b07ed188c85a4e6e2b74

See more details on using hashes here.

File details

Details for the file jacoco_reporter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jacoco_reporter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e70a6b70a9dda4a48320256aa81e659bb7c739e257de0e4dbcd5b478d4c580ce
MD5 e3e3eac128c9720558d0d25b3d0db071
BLAKE2b-256 2fe8c78ad9be4152c81274df2d9fde4d499ae29ed2dc167f861ea23030ed5de6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page