Back to MCP Servers

Gradle

Gradle integration using the Gradle Tooling API to inspect projects, execute tasks, and run tests with per-test result reporting

developer-toolsapi

Installation

npx -y gradle-mcp-server

Configuration

{
  "mcpServers": {
    "gradle-mcp-server": {
      "command": "npx",
      "args": ["-y", "gradle-mcp-server"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub