# π 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](https://jmeter.ai)β¦
About
# π 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](https://jmeter.ai)  β¦
Details
Author
Narasimhakatta
Downloads
239
Categories
Other
Jump to
- Execute JMeter tests in nonβGUI mode
- Launch JMeter in GUI mode
- Capture and return execution output
Install uv and ensure JMeter is installed and executable. Configure the .env file with JMETER_HOME and optionally JMETER_JAVA_OPTS. Add the server to your MCP clientβs config (pointing to uv and the server directory). Then send a prompt like βRun JMeter test /path/to/test.jmxβ β the client will use available tools: execute_jmeter_test (GUI mode, does not execute) and execute_jmeter_test_non_gui (nonβGUI mode, default for performance).
# π 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](https://jmeter.ai)



## π Features
- π Execute JMeter tests in non-GUI mode
- π₯οΈ Launch JMeter in GUI mode
- π Capture and return execution output
## π οΈ Installation
### Local Installation
1. Install [`uv`](https://github.com/astral-sh/uv):
2. 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:
```bash
chmod +x /path/to/jmeter/bin/jmeter
```
3. Configure the `.env` file, refer to the `.env.example` file for details.
```bash
# 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
1. Connect to the server using an MCP-compatible client (e.g., Claude Desktop, Cursor, Windsurf)
2. Send a prompt to the server:
```
Run JMeter test /path/to/test.jmx
```
3. 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:
```json
{
"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
No reviews yet β be the first
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
Social sign-in isnβt configured yet. You can still create an account with email below, or ask an admin to add Google/GitHub/Discord OAuth credentials.
Sequential Thinking is an MCP server that provides a tool for dynamic and reflective problem-solving through a structured, step-by-step thinking process. It isβ¦
Filesystem is a Node.js server that implements the Model Context Protocol (MCP) for filesystem operations. It enables AI assistants to read, write, and manageβ¦
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating secure and controlled access to tools and data sources for Largeβ¦