JMeter MCP Server
Servidor MCP de JMeter
Este es un servidor de Protocolo de Contexto de Modelo (MCP) que permite ejecutar pruebas JMeter a través de clientes compatibles con MCP.
[!IMPORTANTE] 📢 ¿Buscas un asistente de IA en JMeter? 🚀 Descubre Feather Wand



📋 Características
📊 Ejecutar pruebas de JMeter en modo no GUI
🖥️ Iniciar JMeter en modo GUI
📝 Capturar y devolver la salida de ejecución
Related MCP server: MCP Server
🛠️ Instalación
Instalación local
Instalar
uv:Asegúrese de que JMeter esté instalado en su sistema y sea accesible a través de la línea de comandos.
⚠️ Importante : Asegúrate de que JMeter sea ejecutable. Puedes hacerlo ejecutando:
chmod +x /path/to/jmeter/bin/jmeterConfigure el archivo
.env, consulte el archivo.env.examplepara obtener más detalles.
# 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"💻 Uso de MCP
Conéctese al servidor mediante un cliente compatible con MCP (por ejemplo, Claude Desktop, Cursor, Windsurf)
Envía un mensaje al servidor:
Run JMeter test /path/to/test.jmxEl cliente compatible con MCP utilizará las herramientas disponibles:
🖥️
execute_jmeter_test: inicia JMeter en modo GUI, pero no ejecuta la prueba según el diseño de JMeter🚀
execute_jmeter_test_non_gui: ejecuta una prueba de JMeter en modo no GUI (modo predeterminado para un mejor rendimiento)
🏗️ Configuración de MCP
Agregue la siguiente configuración a la configuración de su cliente MCP:
{
"mcpServers": {
"jmeter": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/jmeter-mcp-server",
"run",
"jmeter_server.py"
]
}
}
}✨ Caso de uso
Análisis de resultados impulsado por LLM: recopile y analice los resultados de las pruebas.
Depuración: ejecute pruebas en modo no GUI para depurar.
🛑 Manejo de errores
El servidor hará lo siguiente:
Validar que el archivo de prueba exista
Compruebe que el archivo tenga extensión .jmx
Capturar y devolver cualquier error de ejecución
Available 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-