Back to Home
chandanvars icon

jmeter-mcp-server

by chandanvars

Overview

Automated generation and execution of JMeter load and performance test scripts with comprehensive analysis and reporting via Docker.

Installation

Run Command
npm start

Environment Variables

  • PORT
  • NODE_ENV
  • DEBUG

Security Notes

The server uses 'child_process.exec' to run Docker commands, directly embedding user-controlled 'jmxFile' names into shell commands executed within a Docker container. Although 'fileWriter.cleanFilename' is used during JMX creation, it is not explicitly reapplied when 'execute_jmeter_script' receives a JMX file name as input. A malicious JMX file, if executed, could potentially exploit the Docker environment (e.g., via OS Process Samplers or Groovy scripts) to interact with mounted host volumes ('./output', './sample_data', './jmeter-results'), leading to arbitrary code execution or data exfiltration on the host machine. Additionally, the HTTP transport mode uses 'Access-Control-Allow-Origin: *', which is a broad CORS policy that can increase the attack surface if the server is exposed publicly without proper authentication or origin restrictions.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens1200
Stars0
Forks0
Last Update2025-11-26

Tags

jmeterload-testingperformance-testingapi-testingautomationdocker