JMeter MCP Server
This server lets you run and analyze JMeter performance tests through MCP-compatible clients.
Execute JMeter tests in GUI or non-GUI mode, with optional JMeter properties and report dashboard generation.
Analyze test results from JTL files, including key metrics and detailed summaries.
Identify performance bottlenecks such as slow endpoints, high error rates, and anomalies.
Get performance insights with actionable recommendations for improvements.
Generate visualizations like time series graphs, distribution charts, endpoint comparisons, and comprehensive HTML reports.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@JMeter MCP Server run the load test for the login endpoint and analyze the results"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🚀 JMeter MCP Server
This is a Model Context Protocol (MCP) server that allows executing JMeter tests through MCP-compatible clients and analyzing test results.
📢 Looking for an AI Assistant inside JMeter? 🚀 Check outFeather Wand

📋 Features
JMeter Execution
📊 Execute JMeter tests in non-GUI mode
🖥️ Launch JMeter in GUI mode
📝 Capture and return execution output
📊 Generate JMeter report dashboard
Test Results Analysis
📈 Parse and analyze JMeter test results (JTL files)
📊 Calculate comprehensive performance metrics
🔍 Identify performance bottlenecks automatically
💡 Generate actionable insights and recommendations
📊 Create visualizations of test results
📑 Generate HTML reports with analysis results
Related MCP server: MCP Server
🛠️ 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/jmeterInstall required Python dependencies:
pip install -r requirements.txtConfigure 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.jmxMCP compatible client will use the available tools:
JMeter Execution 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)
Test Results Analysis Tools
📊
analyze_jmeter_results: Analyze JMeter test results and provide a summary of key metrics and insights🔍
identify_performance_bottlenecks: Identify performance bottlenecks in JMeter test results💡
get_performance_insights: Get insights and recommendations for improving performance📈
generate_visualization: Generate visualizations of JMeter test results
🏗️ 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 Cases
Test Execution
Run JMeter tests in non-GUI mode for better performance
Launch JMeter in GUI mode for test development
Generate JMeter report dashboards
Test Results Analysis
Analyze JTL files to understand performance characteristics
Identify performance bottlenecks and their severity
Get actionable recommendations for performance improvements
Generate visualizations for better understanding of results
Create comprehensive HTML reports for sharing with stakeholders
🛑 Error Handling
The server will:
Validate that the test file exists
Check that the file has a .jmx extension
Validate that JTL files exist and have valid formats
Capture and return any execution or analysis errors
📊 Test Results Analyzer
The Test Results Analyzer is a powerful feature that helps you understand your JMeter test results better. It consists of several components:
Parser Module
Supports both XML and CSV JTL formats
Efficiently processes large files with streaming parsers
Validates file formats and handles errors gracefully
Metrics Calculator
Calculates overall performance metrics (average, median, percentiles)
Provides endpoint-specific metrics for detailed analysis
Generates time series metrics to track performance over time
Compares metrics with benchmarks for context
Bottleneck Analyzer
Identifies slow endpoints based on response times
Detects error-prone endpoints with high error rates
Finds response time anomalies and outliers
Analyzes the impact of concurrency on performance
Insights Generator
Provides specific recommendations for addressing bottlenecks
Analyzes error patterns and suggests solutions
Generates insights on scaling behavior and capacity limits
Prioritizes recommendations based on potential impact
Visualization Engine
Creates time series graphs showing performance over time
Generates distribution graphs for response time analysis
Produces endpoint comparison charts for identifying issues
Creates comprehensive HTML reports with all analysis results
📝 Example Usage
# Run a JMeter test and generate a results file
Run JMeter test sample_test.jmx in non-GUI mode and save results to results.jtl
# Analyze the results
Analyze the JMeter test results in results.jtl and provide detailed insights
# Identify bottlenecks
What are the performance bottlenecks in the results.jtl file?
# Get recommendations
What recommendations do you have for improving performance based on results.jtl?
# Generate visualizations
Create a time series graph of response times from results.jtlAvailable Tools
6 toolsanalyze_jmeter_resultsC
Analyze JMeter test results and provide a summary of key metrics and insights.
Args: jtl_file: Path to the JTL file containing test results detailed: Whether to include detailed analysis (default: False)
Returns: str: Analysis results in a formatted string
Inputs: jtl_file (required), detailed. Returns: result
execute_jmeter_testB
Execute a JMeter test.
Args: test_file: Path to the JMeter test file (.jmx) gui_mode: Whether to run in GUI mode (default: False) properties: Dictionary of JMeter properties to pass with -J (default: None)
Inputs: test_file (required), gui_mode, properties. Returns: result
execute_jmeter_test_non_guiB
Execute a JMeter test in non-GUI mode - supports JMeter properties.
Args: test_file: Path to the JMeter test file (.jmx) properties: Dictionary of JMeter properties to pass with -J (default: None) generate_report: Whether to generate report dashboard after load test (default: False) report_output_dir: Output folder for report dashboard (default: None) log_file: Name of JTL file to log sample results to (default: None)
Inputs: test_file (required), generate_report, log_file, properties, +1 more. Returns: result
generate_visualizationC
Generate visualizations of JMeter test results.
Args: jtl_file: Path to the JTL file containing test results visualization_type: Type of visualization to generate (time_series, distribution, comparison, html_report) output_file: Path to save the visualization
Returns: str: Path to the generated visualization file
Inputs: jtl_file (required), output_file (required), visualization_type (required). Returns: result
get_performance_insightsC
Get insights and recommendations for improving performance based on JMeter test results.
Args: jtl_file: Path to the JTL file containing test results
Returns: str: Performance insights and recommendations in a formatted string
Inputs: jtl_file (required). Returns: result
identify_performance_bottlenecksB
Identify performance bottlenecks in JMeter test results.
Args: jtl_file: Path to the JTL file containing test results
Returns: str: Bottleneck analysis results in a formatted string
Inputs: jtl_file (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools have distinct purposes, but there is some overlap between analyze_jmeter_results, get_performance_insights, and identify_performance_bottlenecks, as all three analyze JTL files and provide insights. However, their descriptions differentiate them enough to avoid major confusion.
All tool names follow a consistent snake_case pattern with clear verb_noun structure, such as analyze_jmeter_results and execute_jmeter_test. The naming is uniform and predictable throughout the set.
With 6 tools, the count is well-scoped for a JMeter server, covering key operations like test execution, result analysis, and visualization. Each tool serves a clear purpose without redundancy.
The toolset covers core JMeter workflows including test execution, result analysis, and visualization, but lacks tools for test creation or modification. This minor gap does not severely hinder typical agent tasks.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Apache JMeter community documentation, conversion tools, linters, and calculators for AI agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server implementation that allows AI assistants to run k6 load tests through natural language commands, supporting custom test durations and virtual users.226MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that enables API test automation across various AI hosts (Claude, OpenAI, custom) using Postman Collections.MIT
- FlicenseCqualityDmaintenanceA Model Context Protocol server that enables executing and interacting with JMeter tests through MCP-compatible clients like Claude Desktop, Cursor, and Windsurf.2-
- FlicenseCqualityDmaintenanceA Model Context Protocol server that enables execution of JMeter performance tests through AI assistants and MCP-compatible clients like Claude, Cursor, and Windsurf.2-