JVM Build Tools MCP Server

JVM Build Tools MCP Server

mcp-server-jvm-build-tools•bythepragmatik

A Java 21+ MCP server exposing Maven, Gradle, and sbt build tools and native build-workflow prompts over stdio and Streamable HTTP, with project boundaries and scoped HTTP access.

License: Apache 2.0•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes 24 tools and three native build-workflow prompts over stdio and Streamable HTTP.
  • •Checks every path-bearing tool call against canonical allowed roots.
  • •Analyzes dependencies and performs CVE scanning, returning aggregate counts while keeping dependency coordinates and CVE identities local.
  • •Emits structured build diagnostics with severity, failure category, and bounded normalized messages while withholding arbitrary identifiers and values.

BEST FOR

  • •Running Maven, Gradle, or sbt build workflows from an MCP client.
  • •Working with JVM projects while keeping absolute project paths out of the model conversation using relative project aliases.
  • •Exposing build tooling over HTTP with bearer-key authentication and scope-restricted access.

ABOUT MCP-SERVER-JVM-BUILD-TOOLS

JVM Build Tools MCP Server is cataloged as an MCP server attributed to thepragmatik. A Java 21+ MCP server exposing Maven, Gradle, and sbt build tools and native build-workflow prompts over stdio and Streamable HTTP, with project boundaries and scoped HTTP access. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for JVM Build Tools MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transports does the server support?

It supports stdio and Streamable HTTP.

How does HTTP authentication work?

HTTP binds to loopback by default and requires a configured bearer key with explicitly granted scopes.

How are project boundaries enforced?

Every path-bearing tool call is checked against canonical allowed roots, and relative project aliases resolve under the first root.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c29249df9f68 · 采集于 2026-11-13 12:43:57 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

JVM Build Tools MCP Server

A Java 21+ MCP server for Maven, Gradle, and sbt. It exposes 24 tools and three native build-workflow prompts over stdio and Streamable HTTP. The 2.0 development line puts project boundaries, scoped HTTP access, and privacy controls on every model-visible tool call.

Current 2.0 prerelease: v2.0.0-rc.2 · Project website and documentation

GitHub labels v1.3.3 as the latest stable release; v2.0.0-rc.2 is a prerelease. The release tag identifies the tested artifact; main may gain later changes. Older 1.x tool lists and examples live in the changelog.

Quick start

Build and verify with JDK 21 or newer:

./mvnw -B verify --no-transfer-progress

Start stdio with one allowed project tree. Keep this path in local process configuration. In MCP tool calls, use projectDir: "." for the root or a relative child such as "app", so the absolute path need not enter the model conversation.

java -Dbuildtools.projects.allowed-roots=/workspace/projects -jar target/mcp-server-jvm-build-tools.jar

For a client configuration, use a local command and arguments:

{
  "mcpServers": {
    "jvm-build-tools": {
      "command": "java",
      "args": [
        "-Dbuildtools.projects.allowed-roots=/workspace/projects",
        "-jar",
        "/opt/jvm-build-tools/server.jar"
      ]
    }
  }
}

On HTTP, the server binds to 127.0.0.1 and requires a configured bearer key. Set BUILDTOOLS_API_KEY_LOCAL from a secret manager and give it only the scopes needed, for example BUILDTOOLS_API_KEY_LOCAL_SCOPES=build:read,build:execute. Then run:

java -Dbuildtools.projects.allowed-roots=/workspace/projects -jar target/mcp-server-jvm-build-tools.jar --spring.profiles.active=http

Send MCP requests to POST /mcp with the configured bearer key in the Authorization header. A non-loopback bind additionally requires an explicit project root, a configured key, authentication enforcement, and restricted CORS. Do not put a key or a private project path in a prompt, issue, commit, or build log.

HTTP requests to /mcp validate the Origin header when present and reject invalid origins with 403. Loopback binds also reject non-local Host values to prevent DNS rebinding. If a local reverse proxy sends its own Host value, add its hostname to mcp.transport.allowed-hosts (comma-separated); keep mcp.transport.cors.allowed-origins restricted to trusted browser origins. CLI clients may omit Origin.

What 2.0 changes

  • Every path-bearing tool call is checked against canonical allowed roots. Relative project aliases resolve under the first root. Missing roots deny project access.
  • HTTP bearer enforcement is on by default; keys have no scopes unless granted explicitly. Every exposed tool has an assigned scope and catalog drift fails a test.
  • MCP tool results emit selected aggregate counts and up to 12 structured diagnostics with severity, failure category, per-result references, optional file type and line, and bounded normalized messages. Credential inspection, token validation, audit reading, and plan execution are withheld from the model-visible catalog while their ownership and privacy contracts are redesigned.
  • Dependency analysis returns counts of dependencies, managed entries, and imported BOMs. CVE scanning returns scan and severity counts. Dependency coordinates, per-dependency classifications, and CVE identities stay local.
  • Static tool callbacks and credential digests are cached. The container build reuses Maven dependencies, verifies downloaded Gradle/sbt archives, and runs as a nonroot user.

Build diagnostics retain recognized failure phrases while withholding arbitrary identifiers and values; unknown or unsafe text gets a server-authored fallback. A file reference only links diagnostics within one result; use local build output to find the file and symbol before editing. Other model-visible text still uses pattern redaction, which cannot prove arbitrary text contains no personal data. Review results before sharing them outside your trusted MCP client. For stronger isolation, run the server and builds in a container with a dedicated project mount and restricted network.

Read the basic quickstart, current tool catalog, 2.0 configuration, migration guide, architecture and design review, security model, HTTP authentication, and agent contribution workflow. The release plan tracks what remains before a stable 2.0 release.

Licensed under Apache 2.0.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for JVM Build Tools MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-jvm-build-tools)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools