Skip to main content

MCP Server

To work with ReportPortal, users typically need to interact through its web UI. With our MCP Server, you can connect ReportPortal to your preferred AI tool — for example, Claude, Copilot, or Cursor.

What is MCP?

MCP (Model Context Protocol) is a lightweight middleware protocol (and server) that facilitates structured communication between AI tools and external platforms, such as our test results dashboard. It provides a context-aware interface for language models to query, analyze, and manipulate data without direct UI access.

ReportPortal MCP Server allows to receive summaries of launches and perform various operations without manually opening the UI. The actions that can be performed through the MCP Server are called Tools.

Available tools:

  1. Run Unique Error Analysis.
  2. Run Quality Gate.
  3. Run Auto-Analysis.
  4. Get Test Items by Filter.
  5. Get Launches.
  6. Launch Force Finish.
  7. Launch Delete.
  8. Get Test Item Logs by Filter.
  9. Get Test Item by ID.
  10. Get Test Item Attachments.
  11. Get Last Launch by Name.

Usage with your favorite AI tools

Claude Desktop

To configure ReportPortal MCP Server with Claude:

  1. Log in to Claude.
  2. Open Settings.
  1. Select "Developer" section.
  2. Click "Edit Config" button.
  1. Open Config file.
  1. Fill in the required fields: token, host, project.
note

Token is API Key the user's Profile page.

  1. Open the list of available tools.
  1. Enable the tools you want to use and disable those you don't.
  1. Create a prompt.
  1. Allow Claude to use ReportPortal MCP Server.
  1. Check your AI's output based on the data from ReportPortal.

Below are brief setup instructions for configuring the ReportPortal MCP Server with Cursor and Copilot.

Cursor IDE

To configure ReportPortal MCP Server with Cursor:

  1. Log in to Cursor.
  2. Open Settings.
  3. Select "Tools & Integrations" section.
  4. Click "New MCP Server".
  1. Fill in the required fields in the Config file.
  1. The list of available tools appears.

GitHub Copilot

To configure ReportPortal MCP Server with Copilot:

  1. Log in to Copilot.
  2. Type ">mcp" in the search bar.
  3. Select "MCP: Open User Configuration" option.
  1. Fill in the required fields in the Config file.

Refer to the detailed user guide for the full setup instructions of the MCP Server.

Whether you're aiming to optimize test analysis or simplify routine QA tasks, MCP empowers your AI tools to act with clarity and precision.