JMeter MCP Server
🚀 JMeter MCP サーバー
これは、MCP 互換クライアントを介して JMeter テストを実行できるモデル コンテキスト プロトコル (MCP) サーバーです。
[!重要] 📢 JMeter 内の AI アシスタントをお探しですか? 🚀 Feather Wandをチェックしてください



📋 機能
📊 非GUIモードでJMeterテストを実行する
🖥️ GUIモードでJMeterを起動する
📝 実行出力をキャプチャして返す
Related MCP server: MCP Server
🛠️ インストール
ローカルインストール
uvをインストールします:JMeter がシステムにインストールされており、コマンド ラインからアクセスできることを確認します。
⚠️重要:JMeter が実行可能であることを確認してください。以下のコマンドを実行して確認できます。
chmod +x /path/to/jmeter/bin/jmeter.envファイルを設定します。詳細については、.env.exampleファイルを参照してください。
# 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の使用
MCP 互換クライアント (例: Claude Desktop、Cursor、Windsurf) を使用してサーバーに接続します。
サーバーにプロンプトを送信します:
Run JMeter test /path/to/test.jmxMCP 互換クライアントは利用可能なツールを使用します:
🖥️
execute_jmeter_test: JMeter を GUI モードで起動しますが、JMeter の設計どおりにテストは実行されません。🚀
execute_jmeter_test_non_gui: 非 GUI モードで JMeter テストを実行します (パフォーマンス向上のためのデフォルト モード)
🏗️ MCP 構成
MCP クライアント構成に次の構成を追加します。
{
"mcpServers": {
"jmeter": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/jmeter-mcp-server",
"run",
"jmeter_server.py"
]
}
}
}✨ ユースケース
LLM を活用した結果分析: テスト結果を収集して分析します。
デバッグ: デバッグのために非 GUI モードでテストを実行します。
🛑 エラー処理
サーバーは次のことを行います。
テストファイルが存在することを確認する
ファイルに.jmx拡張子が付いていることを確認してください
実行エラーをキャプチャして返す
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-