Go back to all articles

JMeter MCP Server: How to Set One Up and Which One to Choose

Guide
11 min read
Denis Sautin

Denis Sautin

Author

Denis Sautin

Denis Sautin is an experienced Product Marketing Specialist at PFLB. He focuses on understanding customer needs to ensure PFLB’s offerings resonate with you. Denis closely collaborates with product, engineering, and sales teams to provide you with the best experience through content, our solutions, and your personal journey on our website.

Full Bio

Product Marketing Specialist

Reviewed by Boris Seleznev

boris author

Reviewed by

Boris Seleznev

Boris Seleznev is a seasoned performance engineer with over 10 years of experience in the field. Throughout his career, he has successfully delivered more than 200 load testing projects, both as an engineer and in managerial roles. Currently, Boris serves as the Professional Services Director at PFLB, where he leads a team of 150 skilled performance engineers.

Full Bio

A JMeter MCP server is a small program that gives an AI assistant a set of tools for performance testing with Apache JMeter through the Model Context Protocol (MCP). Connect it to an MCP client such as Claude Desktop or Cursor, and you can execute JMeter tests from the chat: ask the assistant to run a .jmx test plan, read the .jtl results file and name the slowest endpoints. The setup below uses QAInsights/jmeter-mcp-server, then the other JMeter MCP options are compared: some build the test plan for you, and two live inside the JMeter window. We checked each README and, where the code is public, the code, on 10 November 2026.

What Is a JMeter MCP Server?

The Model Context Protocol is an open standard that lets an AI assistant call tools on your machine (modelcontextprotocol.io). An MCP client, such as Claude Desktop, Cursor or Windsurf, starts the MCP server and shows its tools to the model. The model decides when a tool is needed, for example "run this test", and the server sends the answer back as text. In practice the assistant turns a plain request into a tool call, and the server turns that call into a JMeter command line.

For JMeter, the servers follow one of two designs:

  • A server that runs JMeter for you. The client starts a separate process. It launches JMeter with your .jmx file, collects the output and reads the results. QAInsights, juliodelimas, PerfSage and chandanvars work this way.
  • A server inside the JMeter GUI. A plugin starts a local MCP server in the JMeter window, and the assistant edits the test plan that is open, so every change shows up in the JMeter tree. Feather Wand and the SmartBlitz MCP Bridge work this way.

How to Install the QAInsights JMeter MCP Server

You need four things: Apache JMeter (install JMeter first if you do not have it, following the JMeter getting started guide), Python 3.10 or newer (requires-python in the project file), uv and an MCP client. The steps follow the README of the repository.

  1. Get the code. Clone or download the jmeter-mcp-server repository.
  2. Make JMeter executable. The server starts JMeter from the command line, so run chmod +x /path/to/jmeter/bin/jmeter.
  3. Install the dependencies. Run pip install -r requirements.txt. The file lists two packages, mcp[cli] and python-dotenv.
  4. Set the environment variables. Copy .env.example to a .env file and point it at your JMeter installation directory:
    JMETER_HOME=/path/to/apache-jmeter-5.6.3
    JMETER_BIN=${JMETER_HOME}/bin/jmeter
    
    # Optional: JMeter Java options
    JMETER_JAVA_OPTS="-Xms1g -Xmx2g"

    The code reads JMETER_BIN and falls back to jmeter on your PATH when it is not set. It also reads JMETER_TIMEOUT_SECONDS: a non-GUI run is stopped after 3600 seconds unless you change that value.

  5. Add the server to your MCP client. Put this block into the client configuration (README):
    {
      "mcpServers": {
        "jmeter": {
          "command": "/path/to/uv",
          "args": ["--directory", "/path/to/jmeter-mcp-server", "run", "jmeter_server.py"]
        }
      }
    }

    In Claude Desktop, open Settings, then Developer, then Edit Config. This opens claude_desktop_config.json (MCP docs). In Cursor, the file is ~/.cursor/mcp.json, or .cursor/mcp.json inside a project. The README says the server works with MCP compatible clients and names Claude Desktop, Cursor and Windsurf.

  6. Restart the client and ask for a run. The README example is Run JMeter test /path/to/test.jmx, and it also suggests asking the assistant to run a test in non-GUI mode and save results to a results.jtl file. Then ask for the analysis of the test results.

JMeter Execution and Analysis Tools of the QAInsights Server

ToolWhat it does
execute_jmeter_testOpens JMeter in GUI mode. It does not run the test (the README says this follows the JMeter design)
execute_jmeter_test_non_guiExecutes JMeter tests in non-GUI mode, with optional JMeter properties, a results file and the HTML report dashboard
analyze_jmeter_resultsSummarizes key metrics such as average, median and percentile response times from a .jtl file, in XML or CSV format
identify_performance_bottlenecksFinds performance bottlenecks: slow endpoints, endpoints with a high error rate and response time outliers
get_performance_insightsReturns recommendations based on the performance metrics in the test results
generate_visualizationWrites a time series graph, a distribution graph, an endpoint comparison chart or an HTML report

The code also defines five tools that the README does not list: start_jmeter_test, get_test_status, stop_jmeter_test, get_test_output and list_test_runs. They start a test execution in the background and let the assistant poll it.

Two limits to know before you rely on it. The server runs plans that already exist and analyzes results: none of its tools builds or edits a test plan. And at the time of checking, the repository has no license file, so ask the author or your legal team before you use it at work.

JMeter MCP Servers and AI Agents Compared for Performance Testing

OptionHow it worksBuilds or edits the planNeedsMain limit
QAInsights jmeter-mcp-serverSeparate process. Runs JMeter in non-GUI mode and analyzes .jtl filesNo, runs existing plansPython 3.10+, uv, JMeterNo license file. Local runs only
juliodelimas jmeter-mcp-server (npm)Separate process. The plan is a JSON tree that the assistant builds, edits by element id and exports to .jmx. Imports an existing .jmxYesNode.js 18+, JMeter, JMETER_HOMEElement types it does not model are kept as opaque nodes on import
PerfSage JMeter MCPSeparate process. Sets up Java and JMeter under ~/.perfsage (Docker as a fallback), imports HAR, OpenAPI and Postman traffic, correlates values, generates the .jmx and reports p95 and p99YesPython 3.10+ (uvx)Python 3.10 or newer only: an older system Python cannot install it
chandanvars jmeter-mcp-serverTwo tools: generate a script from one JSON payload, and run it in a Docker container (justb4/jmeter) with HTML, Markdown and JSON reportsGenerates a planDocker, Node.jsOnly two tools
Feather Wand (QAInsights/jmeter-ai)JMeter plugin with a chat and an agent. Its built-in MCP server gives a client 21 tools for the open planYes, in the open planJMeter 5.6.3+ on Java 17+The server needs the JMeter GUI open and does not run in non-GUI mode
SmartBlitz MCP BridgeJMeter plugin with a localhost MCP server and ten tools for the open plan, with undo for every writeYes, in the open planJMeter 5.6.3, Java 11+No authentication beyond being local: any local process can call it while it runs
ebadahmed10/jmeter-mcpREADME and file layout match the QAInsights server, with six tools and no background runsNoSame as QAInsightsNo license file. No reason to prefer it to the original

Feather Wand: the JMeter AI Agent That Is Also an MCP Server

Feather Wand started as an AI assistant inside JMeter, and our guide to AI in JMeter covers that side. It now also runs an MCP server inside JMeter. In JMeter, open the Run menu, choose Feather Wand MCP Server and click Start server. The server listens on http://127.0.0.1:7397/mcp and needs a bearer token, which the same window fills into the setup text for each client. For Cursor, the ~/.cursor/mcp.json entry looks like this (README):

{
  "mcpServers": {
    "feather-wand": {
      "url": "http://127.0.0.1:7397/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

The client gets the same 21 tools as the plugin's own Agent Mode: read the tree, add and change elements, run the test, find and apply correlation, save the plan. By default, deleting or moving an element, opening a plan and applying correlation wait for your click on Allow in JMeter. The README lists two limits: the server needs the JMeter GUI open, and get_test_results and find_correlation_candidates run the plan and block until it finishes, so keep thread counts and durations small.

Which One Builds Plans and Which Only Runs Them

QAInsights is the simplest route if you already have .jmx files and want the assistant to run them and explain the numbers. If you want the assistant to build the plan itself, juliodelimas works outside JMeter: it keeps the plan as a JSON tree, so a change is one tool call by element id, and its get_execution_report returns aggregated statistics instead of raw samples (README). PerfSage starts from recorded traffic: it imports a HAR, OpenAPI or Postman file and turns it into a correlated plan (README).

Names That Look Alike but Do Another Job

Not every repository called JMeter MCP drives JMeter. Blazemeter/jmeter-mcp-plugin works in the opposite direction: it is a JMeter plugin for load testing MCP servers, with an MCP client, a server process and a sampler (README). KenLin-7/jmeter-mcp-server is a Node.js tool with JMeter-style checks that needs no Java or JMeter, so it does not run your .jmx files (README).

What Every JMeter MCP Server Has in Common

In the READMEs and code we read, the server starts JMeter on the machine where it runs: your laptop, a build agent, or a single Docker container. That sets the ceiling of the test.

  • Load is limited by that machine. JMeter and your MCP client share its processor, memory and network. The QAInsights server builds a plain jmeter -n -t command line and passes properties with -J. The command has no option for JMeter's remote mode. The juliodelimas README lists distributed execution as not yet supported. Feather Wand's @load dialog can write a JMeter command for distributed generators, but that command is for you to run.
  • A generated plan is a draft. A model can write a valid .jmx that tests the wrong thing, and then the test results look fine for the wrong reason. Open the plan in JMeter and check the sample counts, assertions, think times and test data before you trust a result.
  • The assistant can start load. Point the server at a test environment, and keep production out of its reach.
  • Results stay on your disk. The assistant reads summaries of the .jtl file, so ask for the exact numbers when a decision depends on them. The file itself, and the report dashboard, are yours to keep and share.

Run the Plan Your Agent Built in PFLB Platform

A plan that an assistant builds is an ordinary JMX file, so it can leave your machine. PFLB Platform imports a JMX file as a test:

  1. Click + New Test, then Import from JMeter.
  2. Upload the JMX file. The file size must not exceed 100 MB. Upload the supporting files the script uses.
  3. Click Upload. The platform creates a container for the imported script.
  4. Optional: add SLAs and link a settings set.
  5. Optional: copy the container to create more copies of the script and generate a heavier load, and set a region for each container to simulate a geographically distributed load.

If the script contains an unsupported plugin, it is not imported, so check the supported plugins and elements of JMX scripts first (import from JMX). That is the whole path from a plan your assistant wrote to a test that runs beyond one machine: import the file and check the load profile before you start the run.

Sign Up

After a run, the platform can write the report for you. On the Reports page, click + AI Report, choose Single run, pick the run and then one or more templates, such as Bottleneck Detection, Response Times or SLA Validation, or write your own prompt. To see what changed between two versions of the plan, choose Comparison, pick two runs and a template: Performance Benchmarking & Delta Analysis shows whether the new version is faster, slower or unchanged, and Relative Stability & Regression Analysis looks for new errors and degradation. You can edit the generated report and regenerate it with a clarified prompt (reports).

Which JMeter MCP Server Should You Pick?

  • You have .jmx files and want the assistant to run JMeter performance tests and explain the results: QAInsights jmeter-mcp-server.
  • You want the assistant to build and edit plans from outside JMeter: juliodelimas jmeter-mcp-server. If you start from a HAR, OpenAPI or Postman file and do not want to set up JMeter by hand, PerfSage.
  • You want to watch every change in the JMeter window: the MCP server in Feather Wand, which also brings correlation and a chat, or the SmartBlitz MCP Bridge.
  • You want everything in Docker: chandanvars jmeter-mcp-server.
  • You need more load than one machine can generate: import the JMX file into PFLB Platform and run it there.

Questions About JMeter MCP Servers

Do I need JMeter installed? For QAInsights and juliodelimas, yes: the first reads JMETER_BIN, the second JMETER_HOME. PerfSage sets up JMeter under ~/.perfsage, chandanvars runs it in Docker, and Feather Wand and the SmartBlitz bridge are plugins inside JMeter.

Which MCP clients work? The QAInsights README names Claude Desktop, Cursor and Windsurf. The Feather Wand README gives setup for Claude Code, Cursor and Codex, and for stdio-only clients through mcp-remote.

Can a JMeter MCP server run a distributed test? Not with the tools we checked: the QAInsights server does not expose remote mode, and the juliodelimas README lists distributed execution as not yet supported. For load that one machine cannot produce, import the plan into PFLB Platform.

If you would rather have engineers write the scripts, build the load model and run the tests, that is what our performance testing services do.

Contact Us

Sign Up