
JMeter
STDIOJMeter MCP server for executing and analyzing performance tests through MCP clients.
JMeter MCP server for executing and analyzing performance tests through MCP clients.
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
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
.env
file, refer to the .env.example
file 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"
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
execute_jmeter_test
: Launches JMeter in GUI mode, but doesn't execute test as per the JMeter designexecute_jmeter_test_non_gui
: Execute a JMeter test in non-GUI mode (default mode for better performance)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" ] } } }
LLM powered result analysis: Collect and analyze test results.
Debugging: Execute tests in non-GUI mode for debugging.
The server will: