Configuration of an MCP server endpoint

HCL DevOps Test Hub (Test Hub) provides a Model Context Protocol (MCP) server endpoint. The configuration of the MCP endpoint enables AI assistants within Visual Studio Code (VS Code) to securely integrate with your testing environment, read the test data, and perform specific actions that are supported by the tools.

When you configure the MCP endpoint in VS Code, the supported AI extension functions as an MCP client that communicates with the MCP server. This connection allows the AI assistant to list projects and test assets, retrieve test result data and summaries, and run tests directly within the development environment.

You can use the following endpoint to connect to the MCP server:
https://<server_hostname>/test/mcp

MCP tools available in Test Hub

The following table lists the MCP tools that are available in Test Hub for running tests and retrieving test results.
Tools Description Input Output
testhub__get_projects Retrieves a list of projects available in Test Hub. None List of available projects
testhub__list_tests Retrieves a list of tests in Test Hub for a specific project and branch. projectId, branch List of tests for the specified project and branch
testhub__get_results Retrieves test result summaries for multiple test runs in Test Hub. projectId, branch Test result summaries for multiple test runs
testhub__get_result_by_id Retrieves the test run result and detailed result data. projectId, resultId Test run result and detailed data
testhub__run_test Runs a test in a specific project. projectId, assetId, branch Details of the test run, including execution ID