Skip to main content
Glama
naveen-bitrise

Bitrise Insights MCP Server

Bitrise Insights MCP Server

A hacky bitrise insights mcp using playwright till Bitrise Insights API is released.

Installation

Clone the repository and build:

git clone https://github.com/naveen-bitrise/temp-bitrise-insights-mcp.git
cd temp-bitrise-insights-mcp
npm install
npx playwright install
npm run build

Usage

MCP Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "bitrise-insights": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/temp-bitrise-insights-mcp",
      "type": "stdio"
    }
  }
}

Example for macOS/Linux:

{
  "mcpServers": {
    "bitrise-insights": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/Users/yourname/temp-bitrise-insights-mcp",
      "type": "stdio"
    }
  }
}

Example for Windows:

{
  "mcpServers": {
    "bitrise-insights": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "C:\\Users\\yourname\\temp-bitrise-insights-mcp",
      "type": "stdio"
    }
  }
}

Available Tools

  • bitrise-insights-get-flaky-tests: Get comprehensive flaky tests data from Bitrise Insights

Authentication

A browser window will open automatically when Bitrise login is required. Complete the login and the tool will continue automatically.

Tool Parameters

{
  workspace_slug: string,           // Required: Bitrise workspace slug
  app_slug?: string,               // Optional: Specific app slug  
  interval?: string,               // Optional: hourly, daily, weekly, monthly (default: monthly)
  duration?: string,               // Optional: e.g. "july", "last week", "P6M" (default: P6M)
  include_test_cases?: boolean,    // Optional: Include detailed test cases (default: false)
  specific_test?: {                // Optional: Get details for specific test
    test_case_name: string,
    test_suite_name?: string
  }
}

Example Queries

  • "Get flaky tests for workspace 'my-workspace' for the last 6 months"

  • "Show me detailed test cases for app 'my-app' in workspace 'my-workspace'"

  • "Get builds data for test case 'LoginTest' in suite 'AuthSuite'"

Requirements

  • Node.js 18+

  • Internet connection for browser authentication

Development

git clone https://github.com/naveen-bitrise/temp-bitrise-insights-mcp.git
cd temp-bitrise-insights-mcp
npm install
npm run dev

License

MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/naveen-bitrise/temp-bitrise-insights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server