Getting Started with Develocity MCP Server


Please contact the Develocity support team to obtain the full setup instructions to get started with Develocity MCP server.

Develocity MCP server provides a secure, streamlined way to bring Develocity's full build context into any MCP-enabled AI client. With direct access to build data, developers and build engineers can obtain real-time analysis, actionable insights, and rapid feedback on issues directly from their AI assistant.

Key Features

Develocity MCP server provides the following capabilities to your AI agent, enabling the agent to browse Develocity on your behalf, summarize build results, draw conclusions, and research solutions for issues in your local builds and CI pipelines:

  • Investigate Build Issues: Access detailed exception information, stack traces, and context about the environment to understand the cause of recent build failures.

  • Advanced Failure Analytics: Leverage Develocity’s failure grouping to identify root causes and common failure patterns.

  • Analyze Test Patterns: Identify flaky tests, discover failure trends, and analyze test performance across your test suites.

  • Monitor Build Performance: Query execution times, resource usage, network activity patterns, and build caching effectiveness.

  • Explore Build Data: Filter build data by projects, users, build outcomes, time, and custom tags across Gradle, Maven, sbt, npm, and Python projects.

Getting Started

Permissions

To use the MCP server, you need an access key with the Access build data via the API permission.

Creating access keys

To create a new access key, sign in to Develocity and access “My settings” via the user menu at the top right of the page. From there, use the “Access keys” section to generate an access key.

MCP Client configuration

  • Claude Code CLI

  • GitHub Copilot (IntelliJ IDEs)

  • GitHub Copilot (Visual Studio Code)

  • Gemini CLI

  • Gemini in Android Studio

Use the Claude Code CLI to add Develocity MCP server (guide):

claude mcp add --transport http develocity https://develocity.example.com/mcp --header "Authorization: Bearer YOUR_API_KEY"

Use the GitHub Copilot plugin for IntelliJ IDEs to connect to Develocity MCP server (guide):

mcp.json
{
  "servers": {
    "develocity": {
      "type": "http",
      "url": "https://develocity.example.com/mcp",
      "requestInit": {
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY"
        }
      }
    }
  }
}

Use the GitHub Copilot for Visual Studio Code to connect to Develocity MCP server (guide):

mcp.json
{
    "servers": {
        "develocity": {
            "type": "http",
            "url": "https://develocity.example.com/mcp",
            "headers": {
                "Authorization": "Bearer YOUR_API_KEY"
            }
        }
    }
}

Use the Gemini CLI to connect to Develocity MCP server (guide):

settings.json
{
  "mcpServers": {
    "develocity": {
      "httpUrl": "https://develocity.example.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "timeout": 30000
    }
  }
}

Use the Gemini in Android Studio to connect to Develocity MCP server (guide):

mcp.json
{
  "mcpServers": {
    "develocity": {
      "httpUrl": "https://develocity.example.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      },
      "timeout": 30000
    }
  }
}

Other Clients

Develocity MCP server follows the standard MCP protocol and will work with any clients that support:

  • Remote MCP servers

  • Streamable HTTP transport

Example Usage

Here are some example prompts you can use with Develocity MCP server:

  • What are the most flaky tests from this week?

  • What different kinds of failures happened on CI on my branch?

  • What was the cause of the most recent failed build?

  • How can I make builds for this project faster?

GitHub Copilot plugin for IntelliJ IDEs

See the MCP server in action using the GitHub Copilot plugin for IntelliJ IDEs.

Example of using the MCP server with GitHub Copilot in IntelliJ IDEA
Example of using the MCP server with GitHub Copilot in IntelliJ IDEA