Back to Home
rnett icon

gradle-mcp

Verified Safe

by rnett

Overview

Provides a Model Context Protocol (MCP) server for Gradle, enabling programmatic inspection, execution of tasks/tests, and interaction with Gradle builds, including Develocity Build Scan publishing.

Installation

Run Command
jbang run --fresh dev.rnett.gradle-mcp:gradle-mcp:+ stdio

Environment Variables

  • JAVA_HOME
  • GRADLE_OPTS
  • DEVELOCITY_ACCESS_KEY

Security Notes

The server's core functionality involves executing arbitrary Gradle commands (`run_gradle_command`, `run_tests_with_gradle`) and accessing project data. While the server itself does not contain explicit 'eval' or malicious patterns, this inherent capability means that if the server is exposed to untrusted clients or networks, it could be leveraged to execute arbitrary commands or access files within the configured Gradle project roots on the host system. The `README.md` explicitly warns, "DO NOT EVER EXPOSE THIS SERVER TO THE INTERNET," which confirms this risk.

Similar Servers

Stats

Interest Score37
Security Score7
Cost ClassHigh
Avg Tokens2000
Stars8
Forks0
Last Update2026-01-18

Tags

GradleBuild AutomationMCPDevelocityProject Inspection