What tools does the server expose?
The server exposes two tools: `execute_jmeter_test` (launches JMeter GUI but does not execute the test) and `execute_jmeter_test_non_gui` (executes the test in non‑GUI mode for better performance).
@Narasimhakatta
基本信息
暂无概览
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This is a Model Context Protocol (MCP) server that allows executing JMeter tests through MCP‑compatible clients. It is designed for users who want to run JMeter tests programmatically from tools like Claude Desktop, Cursor, or Windsurf.
Install uv and ensure JMeter is installed and executable. Configure the .env file with JMETER_HOME and optionally JMETER_JAVA_OPTS. Add the server to your MCP client’s config (pointing to uv and the server directory). Then send a prompt like “Run JMeter test /path/to/test.jmx” – the client will use available tools: execute_jmeter_test (GUI mode, does not execute) and execute_jmeter_test_non_gui (non‑GUI mode, default for performance).
The server exposes two tools: `execute_jmeter_test` (launches JMeter GUI but does not execute the test) and `execute_jmeter_test_non_gui` (executes the test in non‑GUI mode for better performance).
You need `uv` installed, JMeter installed and accessible via the command line, and the JMeter binary must be executable (e.g., `chmod +x /path/to/jmeter/bin/jmeter`).
Set the `JMETER_HOME` and `JMETER_BIN` environment variables in a `.env` file. Optionally set `JMETER_JAVA_OPTS` to adjust Java heap (e.g., `-Xms1g -Xmx2g`).
Add a configuration block to your client’s settings with the command pointing to `uv`, the server directory, and the script `jmeter_server.py`. See the provided JSON example in the README.
Yes, it validates that the test file exists, has a `.jmx` extension, and captures any execution output or errors.
评论