JMeter MCP Server
Project description
🚀 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_jmeter_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: mseep_jmeter_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ffa1d6ea944d5b380d8389c7dd6e6577c7c770103546169de24d5b8efcb7212
|
|
| MD5 |
1a32d51754cafab80ea14d8fae2facf4
|
|
| BLAKE2b-256 |
e84bd2e2adb468286908408a91f68f0296b9b6c03b6c3e44677cfd078fc20080
|
File details
Details for the file mseep_jmeter_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mseep_jmeter_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ec1a3139ebc54b2706b85aa26de62e8582a47bb9d9c64333755168381d26ff
|
|
| MD5 |
718f16f3db0cbec7382bf9a4d7baa75a
|
|
| BLAKE2b-256 |
cbdcc1a01ae88afa06aec71377d080b33ba263f0eb4c714317cdcc1c9b4376f6
|