The Gradle MCP Server is a specialized implementation of the Model Context Protocol (MCP) designed to enable AI tools to interact with Gradle projects programmatically. Built using the Gradle Tooling API, this server facilitates seamless integration between AI tools and Gradle-based development workflows.
To build the project, run the following command:
./gradlew build
To start the server, use one of the following commands:
# Run in stdio mode (default)
./gradlew run
# Run as SSE server
./gradlew run --args="--mode sse"
To create a packaged JAR file, execute:
./gradlew shadowJar
The server supports multiple modes:
- stdio
: Standard input/output mode (default).
- sse
: Server-Sent Events mode.
This project aims to bridge the gap between AI tools and Gradle projects, enabling programmatic interactions for enhanced development workflows.
This project is licensed under the MIT license.