ReportPortal MCP Server

ReportPortal MCP Server

By reportportal GitHub

MCP server for ReportPortal

reportportal mcp-server
Overview

what is ReportPortal MCP Server?

ReportPortal MCP Server is an integration tool that allows users to interact with ReportPortal directly from GitHub Copilot chat, enabling them to query and analyze test execution results seamlessly.

how to use ReportPortal MCP Server?

To use the MCP Server, set the required environment variables for your ReportPortal instance and run the server binary after building it from the source.

key features of ReportPortal MCP Server?

  • List launches with pagination support
  • Retrieve launch details by name
  • Filter launches using various criteria
  • View detailed test execution reports

use cases of ReportPortal MCP Server?

  1. Analyzing test execution results directly from GitHub Copilot.
  2. Managing and querying test launches efficiently.
  3. Integrating test reporting into CI/CD workflows.

FAQ from ReportPortal MCP Server?

  • What are the prerequisites for using the MCP Server?

You need Go 1.24.1 or later and a running ReportPortal instance.

  • How do I configure the MCP Server?

The server uses environment variables for configuration, including RP_HOST, RP_PROJECT, and RP_TOKEN.

  • Is there a license for this project?

Yes, the project is licensed under the MIT License.

Content

ReportPortal MCP Server

This repository contains a ReportPortal integration with GitHub Copilot chat through Microsoft Copilot for Pull Requests (MCP). It allows users to interact with ReportPortal directly from GitHub Copilot chat to query and analyze test execution results.

Features

The ReportPortal MCP server provides the following functionality:

  • List launches with pagination
  • Get launch details by name
  • Filter launches using various criteria
  • View test execution reports

Installation

Prerequisites

  • Go 1.24.1 or later
  • A ReportPortal instance

Building from Source

# Clone the repository
git clone https://github.com/reportportal/reportportal-mcp-server.git
cd reportportal-mcp-server

# Build the binary
go build -o reportportal-mcp-server ./cmd/reportportal-mcp-server

Configuration

The server uses environment variables for configuration:

VariableDescriptionDefault
RP_HOSTReportPortal host URL
RP_PROJECTReportPortal project name
RP_TOKENReportPortal API token
MCP_PORTPort to run the MCP server on4389

Usage

Starting the Server

# Set required environment variables
export RP_HOST="https://your-reportportal-instance.com"
export RP_PROJECT="your-project"
export RP_TOKEN="your-api-token"

# Run the server
./reportportal-mcp-server

Available Tools

List Launches

Lists ReportPortal launches with pagination support.

Parameters:

  • page (optional): Page number (default: 1)
  • page-size (optional): Number of items per page (default: 20)

Get Last Launch by Name

Retrieves the most recent launch with the specified name.

Parameters:

  • launch: Launch name to search for

Get Last Launch by Filter

Retrieves the most recent launch matching specified filters.

Parameters:

  • name (optional): Filter by launch name
  • description (optional): Filter by launch description
  • uuid (optional): Filter by launch UUID
  • status (optional): Filter by launch status (IN_PROGRESS, PASSED, FAILED, STOPPED, SKIPPED, INTERRUPTED)
  • start_time (optional): Filter by start time (unix timestamp)
  • end_time (optional): Filter by end time (unix timestamp)
  • attributes (optional): Filter by attributes (comma-separated key:value pairs)
  • mode (optional): Filter by launch mode (DEFAULT or DEBUG)
  • sort (optional): Sort direction and field (default: "desc(startTime)")

Development

Running Tests

go test ./...

Adding New Tools

To add a new tool, create a new method in the appropriate resource file and add it to the server in the NewServer function.

License

This project is licensed under the MIT License.

No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details