A comprehensive MCP server for Gradle.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"gradle": {
"args": [
"run",
"--quiet",
"--fresh",
"gradle-mcp@rnett"
],
"command": "jbang"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server for Gradle. It gives AI agents the tools they need to explore project structures, run tasks, audit dependencies, and interact with the JVM runtime.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Make HTTP requests and fetch web content
MCP Security Weekly
Get CVE alerts and security updates for Gradle Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for Gradle. It gives AI agents the tools they need to explore project structures, run tasks, audit dependencies, and interact with the JVM runtime.
Source downloading and indexing tools will be moving to a dedicated MCP/cli soon.
The GRADLE_MCP_PROJECT_ROOT environment variable can be set to provide a default Gradle project root. This is used if no project root is specified in a tool call and there isn't exactly one MCP root configured.
[!IMPORTANT] JDK 21 or higher is required to run
gradle-mcp. You can use JBang to install JDKs too: docs.
Use jbang:
# For releases
jbang run --quiet --fresh gradle-mcp@rnett
# For snapshots
jbang run --quiet --fresh gradle-mcp-snapshot@rnett
{
"mcpServers": {
"gradle": {
"command": "jbang",
"args": [
"run",
"--quiet",
"--fresh",
"gradle-mcp@rnett"
]
}
}
}
Alternatively, run the GAV directly:
jbang run --fresh dev.rnett.gradle-mcp:gradle-mcp:+
{
"mcpServers": {
"gradle": {
"command": "jbang",
"args": [
"run",
"--fresh",
"dev.rnett.gradle-mcp:gradle-mcp:+"
]
}
}
}
See the documentation for more details.
Agent Skills are specialized guides that help AI agents navigate common Gradle workflows reliably.
Included skills:
running_gradle_builds: Running Gradle Commands, Background Jobs, and Investigating Failures.running_gradle_tests: Running and Investigating Tests.managing_gradle_dependencies: Auditing and updating dependencies.introspecting_gradle_projects: Mapping project structure, modules, and tasks.searching_dependency_sources: Searching and reading dependency source code.interacting_with_project_runtime: Running Code in the Project's