mcpField
πŸš€
πŸš€ JMeter MCP Server

πŸš€ JMeter MCP Server

Local
github.com/NarasimhakattaDeveloper Tools0Updated 73w ago

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

  1. 01Run tests in non-GUI mode
  2. 02Launch JMeter GUI
  3. 03Capture and return execution output
  4. 04Validate test file and extension
  5. 05Return execution errors

Use cases

  1. 01Run JMeter tests for debugging
  2. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

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

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

Comments

Markdown supported

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.