✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

πŸš€ 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

Anthropic Cursor Windsurf

πŸ“‹ Features

  • πŸ“Š Execute JMeter tests in non-GUI mode
  • πŸ–₯️ Launch JMeter in GUI mode
  • πŸ“ Capture and return execution output

πŸ› οΈ Installation

Local Installation

  1. Install 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:

chmod +x /path/to/jmeter/bin/jmeter
  1. Configure the .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"

πŸ’» 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
  1. 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

Apache JMeter Test Execution Server

Project Details

Featured Templates

View More
AI Image Generation
Image Generation with Stable Diffusion
117 1205
AI Engineering
Python Bug Fixer
122 1767
AI Characters
Your Speaking Avatar
171 930
Customer service
Service ERP
127 1488
AI Characters
Sarcastic AI Chat Bot
129 2038

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.