About π JMeter MCP Server
JMeter MCP Server lets MCP-compatible clients launch JMeter tests and receive execution output. It supports non-GUI test execution and GUI launch, and checks test-file validity while returning errors.
Key features
- 01Run tests in non-GUI mode
- 02Launch JMeter GUI
- 03Capture and return execution output
- 04Validate test file and extension
- 05Return execution errors
Use cases
- 01Run JMeter tests for debugging
- 02Collect output for LLM-based result analysis
MCP support
The MCP server exposes tools for launching JMeter in GUI mode and executing tests in non-GUI mode. MCP-compatible clients such as Claude Desktop, Cursor, and Windsurf can call these tools.
Configuration
Local server config is the same for every client. Copy it into your clientβs MCP config file.
We havenβt collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEπ 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:
chmod +x /path/to/jmeter/bin/jmeter
- Configure the
.envfile, refer to the.env.examplefile for details.
# JMeter Configuration
JMETER_HOME=/path/to/apache-jmeter-5.6.3
JMETER_BIN=${JMETER_HOME}/bin/jmeter
# Optional: JMeter Java options
JMETER_JAVA_OPTS="-Xms1g -Xmx2g"
π» MCP Usage
-
Connect to the server using an MCP-compatible client (e.g., Claude Desktop, Cursor, Windsurf)
-
Send a prompt to the server:
Run JMeter test /path/to/test.jmx
- 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:
{
"mcpServers": {
"jmeter": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/jmeter-mcp-server",
"run",
"jmeter_server.py"
]
}
}
}
β¨ 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.