JMeter MCP Server
🚀 JMeter MCP 服务器
这是一个模型上下文协议 (MCP) 服务器,允许通过 MCP 兼容客户端执行 JMeter 测试。
[!重要] 📢 正在寻找 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:以 GUI 模式启动 JMeter,但不按照 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 扩展名
捕获并返回任何执行错误
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.225MIT
- 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
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/QAInsights/jmeter-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server