The JMeter MCP Server allows you to execute and manage JMeter tests via MCP-compatible clients with the following capabilities:
- Execute JMeter tests in non-GUI mode: Run tests with better performance using
execute_jmeter_test_non_gui
- Launch JMeter in GUI mode: Open JMeter tests using
execute_jmeter_test
(note: this only opens but doesn't execute the test) - Capture and return execution output: Collect test results and errors for debugging or analysis
- Validate test files: Ensure test files exist and have the correct .jmx extension
- Error handling: Capture execution errors and provide meaningful feedback
🚀 JMeter MCP Server
This is a Model Context Protocol (MCP) server that allows executing JMeter tests through MCP-compatible clients.
Important
📢 Looking for an AI Assistant inside JMeter? 🚀 Check out Feather Wand
📋 Features
- 📊 Execute JMeter tests in non-GUI mode
- 🖥️ Launch JMeter in GUI mode
- 📝 Capture and return execution output
🛠️ Installation
Local Installation
- Install
uv
: - Ensure JMeter is installed on your system and accessible via the command line.
⚠️ Important: Make sure JMeter is executable. You can do this by running:
- Configure the
.env
file, refer to the.env.example
file for details.
💻 MCP Usage
- Connect to the server using an MCP-compatible client (e.g., Claude Desktop, Cursor, Windsurf)
- Send a prompt to the server:
- MCP compatible client will use the available tools:
- 🖥️
execute_jmeter_test
: Launches JMeter in GUI mode, but doesn't execute test as per the JMeter design - 🚀
execute_jmeter_test_non_gui
: Execute a JMeter test in non-GUI mode (default mode for better performance)
- 🖥️
🏗️ MCP Configuration
Add the following configuration to your MCP client config:
✨ Use case
LLM powered result analysis: Collect and analyze test results.
Debugging: Execute tests in non-GUI mode for debugging.
🛑 Error Handling
The server will:
- Validate that the test file exists
- Check that the file has a .jmx extension
- Capture and return any execution errors
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Model Context Protocol server that allows AI assistants to execute and manage JMeter performance tests through natural language commands.
Related MCP Servers
- -securityFlicense-qualityA versatile Model Context Protocol server that enables AI assistants to manage calendars, track tasks, handle emails, search the web, and control smart home devices.Last updated -2Python
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to build and test Xcode projects directly through a standardized interface, with capabilities for running tests, monitoring progress, and accessing logs in real-time.Last updated -29TypeScript
- -securityFlicense-qualityA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.Last updated -16TypeScript
Sentry MCP Serverofficial
AsecurityFlicenseAqualityA Model Context Protocol server that lets AI assistants interact with the Sentry API to retrieve and analyze error data, manage projects, and monitor application performance.Last updated -113TypeScript