LoadRunner Cloud MCP Server
Enables automated access to LoadRunner Cloud APIs for retrieving performance test data, managing projects, and collecting test results. Supports integration with AI clients for building performance engineering workflows and dashboards.
README
LRC-MCP Server
This project provides a Model Context Provider (MCP) server for integrating with LoadRunner Cloud (LRC) APIs. It enables automated, programmatic access to LRC resources and test data, making it easy to build performance engineering workflows, dashboards, and AI integrations.
Overview
The LRC-MCP Server exposes a set of tools for interacting with LoadRunner Cloud, including:
- Retrieving projects, load tests, scripts, and test runs
- Fetching transaction details, summaries, and HTTP responses for test runs
- Automating performance data collection and reporting
The server is compatible with any MCP client, such as Claude Desktop or Cursor, and can be extended to support additional LRC APIs as needed.
Getting Started
Prerequisites
- Node.js (v18+ required, v20+ recommended)
- npm (comes with Node.js)
Installation
- Clone this repository and navigate to the project directory.
- Install dependencies:
npm install - Copy the example environment file and edit it with your real credentials:
Thecp .env.example .env # Then edit .env and fill in your LRC_TENANT_ID, LRC_CLIENT_ID, and LRC_CLIENT_SECRET.env.examplefile provides a template for the required environment variables. You must create a.envfile (as above) and supply your actual credentials for the server to function.
Running the Server
Start the MCP server:
node mcpServer.js
You can also run with Server-Sent Events (SSE) support:
node mcpServer.js --sse
Available Tools
The following tools are available for interacting with LoadRunner Cloud:
- get_projects: Retrieve all projects in a tenant.
- test_runs_getActiveTestRuns: Get active test runs from LoadRunner Cloud.
- test_runs_getTestRunTransactions: List all transaction information in a test run.
- test_runs_getTestRunSummary: Get summary for a test run.
- test_runs_getHttpResponses: Get HTTP responses for a test run.
- projects_getLoadTests: Retrieve load tests for a project.
- projects_getLoadTestScripts: Retrieve scripts for a load test in a project.
- projects_getLoadTestRuns: Retrieve runs for a load test in a project.
Example Usage
You can call these tools from any MCP-compatible client. Example (JavaScript):
// Get all projects
await get_projects();
// Get load tests for a project
await projects_getLoadTests({ projectId: '10' });
// Get scripts for a load test in a project
await projects_getLoadTestScripts({ projectId: '10', loadTestId: '2159' });
// Get runs for a load test in a project
await projects_getLoadTestRuns({ projectId: '10', loadTestId: '2159' });
// Get HTTP responses for a test run
await test_runs_getHttpResponses({ runId: '16287' });
Getting Absolute Paths (Shell & Windows)
To get the full path to node:
- On Unix/Linux/macOS, run:
which node - On Windows PowerShell, run:
Get-Command node | Select-Object Source
To check the node version, run:
node --version
To get the absolute path to mcpServer.js, run:
- On Unix/Linux/macOS:
realpath mcpServer.js - On Windows PowerShell (from the project directory):
Resolve-Path mcpServer.js
MCP Client Configuration
You can connect your MCP server to any MCP client. Below are instructions for Claude Desktop and Cursor.
Claude Desktop
- Note the full path to node and the
mcpServer.jsfrom the previous step. - Open Claude Desktop → Settings → Developers → Edit Config and add a new MCP server:
{ "mcpServers": { "<server_name>": { "command": "<absolute/path/to/node>", "args": ["<absolute/path/to/mcpServer.js>"] } } } - Restart Claude Desktop to activate this change. Make sure the new MCP is turned on and has a green circle next to it.
Warning: If you don't supply an absolute path to a node version that is v18+, Claude (and other MCP clients) may fall back to another node version on the system of a previous version. In this case, the fetch API won't be present and tool calls will not work. If that happens, you can a) install a newer version of node and point to it in the command, or b) import node-fetch into each tool as fetch, making sure to also add the node-fetch dependency to your package.json.
Cursor
- Note the full path to node and the
mcpServer.jsas above. - In Cursor, go to Settings → AI Tools → MCP Servers (or similar MCP integration section).
- Add a new MCP server configuration:
{ "command": "<absolute/path/to/node>", "args": ["<absolute/path/to/mcpServer.js>"] } - Save and enable the server. Ensure it is running and available for tool calls in Cursor.
Docker Deployment
For production deployments, you can use Docker:
docker build -t lrc-mcp-server .
About MCP
Model Context Provider (MCP) is a protocol for exposing programmatic tools to AI and automation clients. This server implements the MCP protocol for LoadRunner Cloud APIs.
For more information, see the source code and tool documentation.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。