Gradle MCP server enables AI tools to interact with Gradle projects through a standardized interface built on the Gradle Tooling API. It exposes tools for retrieving project metadata and executing Gradle tasks remotely, with support for both stdio and SSE transport modes. Particularly valuable for developers who want to automate Gradle project management and builds through conversational AI without manual configuration.
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Retrieves specific details about a Gradle project, returning structured JSON. Allows requesting only necessary information categories. Key Inputs: projectPath (string, required), requestedInfo (array of strings, optional). Output: JSON object containing the requested data fields.
Executes general Gradle tasks (like build, clean). Returns formatted text output summarizing execution and including captured stdout/stderr. Key Inputs: projectPath (string, required), tasks (array of strings, required), arguments (array of strings, optional), jvmArguments (array of strings, optional), environmentVariables (object, optional). Output: Formatted text response with execution summary.
Executes Gradle test tasks and returns results as a structured JSON hierarchy. Filters/truncates output lines by default, focusing on failures. Key Inputs: projectPath (string, required), gradleTasks (array of strings, optional), arguments (array of strings, optional), environmentVariables (object, optional), testPatterns (array of strings, optional), includeOutputForPassed (boolean, optional), maxLogLines (integer, optional), defaultMaxLogLines (integer, optional). Output: JSON object containing execution details and the test hierarchy.