juliodelimas/jmeter-mcp-server
Stdio MCP server to build, run and read reports for JMeter test plans
6a9192b87e47jmeter-mcp-server0.4.5 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 26 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
Top risks in plain words
- CRITICAL9 production dependencies have known vulnerabilities (worst: critical).
- HIGHTools
add_thread_group,execute_test_plan,get_breaking_point_status,get_execution_reportand 1 more read or write any file path by design: an agent steered by prompt injection can use them that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
add_thread_group,execute_test_plan,get_breaking_point_status,get_execution_reportand 1 more can read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
add_thread_group,execute_test_plan,get_breaking_point_statusand 2 more, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later,@modelcontextprotocol/sdk1.32.0 or later,body-parser2.4.0 or later,fast-uri3.1.9 or later and 5 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 56 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
add_aggregate_report_listener, add_backend_listener, add_constant_throughput_timer, add_constant_timer, add_cookie_manager, add_csv_data_set and 49 moreexecute_test_plan, find_breaking_pointNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files54 tools · add_aggregate_report_listener, add_backend_listener, add_constant_throughput_timer +51
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (56: 56 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
add_thread_grouptool Add a Thread Group (virtual users) under the given parent node (usually the TestPlan root).Filesoutside textReads/writes files
Add a Thread Group (virtual users) under the given parent node (usually the TestPlan root).
execute_test_plantool Start running a test plan with JMeter in non-GUI mode. Returns immediately with an executionId; the run continues in the background. Poll get_execution_status tFilesEnv varsoutside textReads/writes files
Start running a test plan with JMeter in non-GUI mode. Returns immediately with an executionId; the run continues in the background. Poll get_execution_status to know when it's done, then call get_execution_report to read the results.
get_breaking_point_statustool Check a capacity search started with find_breaking_point: status (running/completed/failed/stopped), progress (rounds completed out of maxIterations, plus the iFilesoutside textReads/writes files
Check a capacity search started with find_breaking_point: status (running/completed/failed/stopped), progress (rounds completed out of maxIterations, plus the in-flight round's elapsed time and percent complete), the rounds run so far with each one's load and overall + per-label metrics, and - once it finishes - the breaking point, the last healthy load, and a plain-language conclusion. breakingPoint is the lowest load that was tested and broke the SLA, not necessarily the exact edge: read breakingPointRange (healthyUpTo / brokenAt / exact) for the real precision, since levels between the two were never run when toleranceThreads is above 1. There is no completion push - poll this tool. The same data is on disk at files.meta, and each round's raw results are in files.executionsDir/<executionId>/.
get_execution_reporttool Read and aggregate the results of a finished (or still-running) execution, computed from its Aggregate Report / Summary Report listener output: per-label and ovFilesoutside textReads/writes files
Read and aggregate the results of a finished (or still-running) execution, computed from its Aggregate Report / Summary Report listener output: per-label and overall count, error rate, avg/min/max/median/p90/p95/p99 latency, throughput and KB/sec.
get_execution_statustool Check the status of a test run started with execute_test_plan (running/completed/failed), how long it has been running, and - while it runs - a `progress` blockFilesoutside textReads/writes files
Check the status of a test run started with execute_test_plan (running/completed/failed), how long it has been running, and - while it runs - a `progress` block computed from the results file so far: samples, error rate, avg/p95 latency, overall and recent (last ~10s) throughput, and the same per label. Poll this tool rather than tailing stdout.log. The logTail is JMeter's console output with JVM startup warnings filtered out; JMeter only prints a summary line there about every 30 seconds, so it can stay the same between quick polls. Once the run ends, call get_execution_report for the full aggregate.
add_aggregate_report_listenertool Add an Aggregate Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.Filesoutside text
Add an Aggregate Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.
add_backend_listenertool Add a Backend Listener under the given parent (Thread Group or TestPlan), streaming live metrics to an external backend (InfluxDB by default) instead of a JTL fFilesoutside text
Add a Backend Listener under the given parent (Thread Group or TestPlan), streaming live metrics to an external backend (InfluxDB by default) instead of a JTL file. If args is omitted, a ready-to-edit InfluxDB argument set is used - at minimum, edit influxdbUrl before running.
add_constant_throughput_timertool Add a Constant Throughput Timer under the given parent, pacing requests to hit a target rate rather than a fixed per-sample delay.Filesoutside text
Add a Constant Throughput Timer under the given parent, pacing requests to hit a target rate rather than a fixed per-sample delay.
add_constant_timertool Add a Constant Timer under the given parent to pace requests. Under a Thread Group it delays every sampler in it; under a single sampler it delays only that oneFilesoutside text
Add a Constant Timer under the given parent to pace requests. Under a Thread Group it delays every sampler in it; under a single sampler it delays only that one, before it fires.
add_cookie_managertool Add an HTTP Cookie Manager under the given parent (usually a Thread Group), so samplers in scope share cookies automatically.Filesoutside text
Add an HTTP Cookie Manager under the given parent (usually a Thread Group), so samplers in scope share cookies automatically.
add_csv_data_settool Add a CSV Data Set Config under the given parent (a Thread Group to feed every sampler in it, or a single sampler to scope it there). Each thread reads one row Filesoutside text
Add a CSV Data Set Config under the given parent (a Thread Group to feed every sampler in it, or a single sampler to scope it there). Each thread reads one row per iteration, exposing each column as a JMeter variable. The filename must be an absolute path readable on the machine that will run the test (execute_test_plan runs JMeter from a fresh per-execution directory, so relative paths won't resolve).
add_duration_assertiontool Add a Duration Assertion under an HTTP sampler, failing the sample if it takes longer than maxDurationMs.Filesoutside text
Add a Duration Assertion under an HTTP sampler, failing the sample if it takes longer than maxDurationMs.
add_ftp_requesttool Add an FTP Request sampler under the given parent (usually a Thread Group).Filesoutside text
Add an FTP Request sampler under the given parent (usually a Thread Group).
add_header_managertool Add an HTTP Header Manager under an HTTP sampler (or a Thread Group, to apply to every sampler in it).Filesoutside text
Add an HTTP Header Manager under an HTTP sampler (or a Thread Group, to apply to every sampler in it).
add_http_request_defaultstool Add HTTP Request Defaults under the given parent (usually a Thread Group or TestPlan root). Any field left blank on a later add_http_sampler call under the sameFilesoutside text
Add HTTP Request Defaults under the given parent (usually a Thread Group or TestPlan root). Any field left blank on a later add_http_sampler call under the same scope falls back to these values.
add_http_samplertool Add an HTTP Request sampler under the given parent node (usually a Thread Group). To inherit protocol, domain or port from an HTTP Request Defaults config elemeFilesoutside text
Add an HTTP Request sampler under the given parent node (usually a Thread Group). To inherit protocol, domain or port from an HTTP Request Defaults config element in scope (add_http_request_defaults), leave that argument out of the call - do not pass an empty string or a placeholder, because those fields have no default of their own. Passing an explicit value always overrides the Defaults for that field.
add_if_controllertool Add an If Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) only run when the condition evaluates truthy. coFilesoutside text
Add an If Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) only run when the condition evaluates truthy. condition is evaluated as a real JavaScript (Rhino) expression after JMeter substitutes any ${var} references, so comparisons work directly, e.g. '${count} < 10' or '"${status}" == "ok"'.add_interleave_controllertool Add an Interleave Controller under the given parent (usually a Thread Group). Runs one child (added under it) per pass, alternating through them in order insteaFilesoutside text
Add an Interleave Controller under the given parent (usually a Thread Group). Runs one child (added under it) per pass, alternating through them in order instead of running them all.
add_jdbc_connection_configurationtool Add a JDBC Connection Configuration (pooled datasource) under the given parent, usually the Thread Group or TestPlan root. A JDBC Request references this elemenFilesoutside text
Add a JDBC Connection Configuration (pooled datasource) under the given parent, usually the Thread Group or TestPlan root. A JDBC Request references this element's dataSource name.
add_jdbc_requesttool Add a JDBC Request sampler under the given parent (usually a Thread Group). dataSource must match a JDBC Connection Configuration's dataSource name added elsewhFilesoutside text
Add a JDBC Request sampler under the given parent (usually a Thread Group). dataSource must match a JDBC Connection Configuration's dataSource name added elsewhere in the same plan.
add_json_assertiontool Add a JSON Assertion under an HTTP sampler, to validate a JSONPath expression exists (and optionally matches a value) in the response.Filesoutside text
Add a JSON Assertion under an HTTP sampler, to validate a JSONPath expression exists (and optionally matches a value) in the response.
add_json_extractortool Add a JSON Extractor post-processor under an HTTP sampler, to save a value from the JSON response into a variable.Filesoutside text
Add a JSON Extractor post-processor under an HTTP sampler, to save a value from the JSON response into a variable.
add_jsr223_postprocessortool Filesoutside text
No description.
add_jsr223_preprocessortool Filesoutside text
No description.
add_jsr223_samplertool Filesoutside text
No description.
add_loop_controllertool Add a Loop Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat for the given number of loops each time Filesoutside text
Add a Loop Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat for the given number of loops each time the controller is reached.
add_once_only_controllertool Add a Once Only Controller under the given parent (usually a Thread Group). Its children run only on each thread's first iteration and are skipped on every lateFilesoutside text
Add a Once Only Controller under the given parent (usually a Thread Group). Its children run only on each thread's first iteration and are skipped on every later one - use it for a login before a looping scenario (or in a Thread Group that loops forever / runs on a scheduler, as find_breaking_point does).
add_random_controllertool Add a Random Controller under the given parent (usually a Thread Group). On each pass it runs exactly one randomly chosen child (added under it) instead of all Filesoutside text
Add a Random Controller under the given parent (usually a Thread Group). On each pass it runs exactly one randomly chosen child (added under it) instead of all of them.
add_regex_extractortool Add a Regular Expression Extractor under an HTTP sampler, to save a value from its response (body, headers, etc.) into a variable using a regex capture group. UFilesoutside text
Add a Regular Expression Extractor under an HTTP sampler, to save a value from its response (body, headers, etc.) into a variable using a regex capture group. Use this instead of add_json_extractor for non-JSON (HTML/XML/plain-text) responses.
add_response_assertiontool Add a Response Assertion under an HTTP sampler, to fail the sample if the response doesn't match.Filesoutside text
Add a Response Assertion under an HTTP sampler, to fail the sample if the response doesn't match.
add_setup_thread_grouptool Add a setUp Thread Group under the TestPlan root. Runs once, before all normal Thread Groups start, regardless of where it sits in the tree - typically used forFilesoutside text
Add a setUp Thread Group under the TestPlan root. Runs once, before all normal Thread Groups start, regardless of where it sits in the tree - typically used for one-time setup (e.g. login, seeding data).
add_size_assertiontool Add a Size Assertion under an HTTP sampler, comparing a response field's byte size against a threshold.Filesoutside text
Add a Size Assertion under an HTTP sampler, comparing a response field's byte size against a threshold.
add_summary_report_listenertool Add a Summary Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.Filesoutside text
Add a Summary Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.
add_tcp_samplertool Add a TCP Sampler under the given parent (usually a Thread Group), opening a raw TCP connection and sending request data.Filesoutside text
Add a TCP Sampler under the given parent (usually a Thread Group), opening a raw TCP connection and sending request data.
add_teardown_thread_grouptool Add a tearDown Thread Group under the TestPlan root. Runs once, after all normal Thread Groups finish, regardless of where it sits in the tree - typically used Filesoutside text
Add a tearDown Thread Group under the TestPlan root. Runs once, after all normal Thread Groups finish, regardless of where it sits in the tree - typically used for one-time cleanup.
add_transaction_controllertool Add a Transaction Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) are timed and reported as a single namedFilesoutside text
Add a Transaction Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) are timed and reported as a single named transaction instead of separately.
add_uniform_random_timertool Add a Uniform Random Timer under the given parent to pace requests with a randomized delay: delayMs +/- a random amount up to rangeMs, picked fresh before each Filesoutside text
Add a Uniform Random Timer under the given parent to pace requests with a randomized delay: delayMs +/- a random amount up to rangeMs, picked fresh before each sample.
add_user_defined_variablestool Add a User Defined Variables config element under the given parent (TestPlan root for global variables, or a Thread Group to scope them there). Values are set oFilesoutside text
Add a User Defined Variables config element under the given parent (TestPlan root for global variables, or a Thread Group to scope them there). Values are set once, before the test starts.
add_user_parameterstool Add a User Parameters pre-processor under a Thread Group, assigning each thread a different set of variable values (cycled by thread number), set once at threadFilesoutside text
Add a User Parameters pre-processor under a Thread Group, assigning each thread a different set of variable values (cycled by thread number), set once at thread start unless perIteration is true. Different from add_user_defined_variables, which sets the same values for every thread.
add_view_results_tree_listenertool Add a View Results Tree listener under the given parent (Thread Group or TestPlan). Its output is readable via get_execution_report when there's no Aggregate/SuFilesoutside text
Add a View Results Tree listener under the given parent (Thread Group or TestPlan). Its output is readable via get_execution_report when there's no Aggregate/Summary Report listener present. NOTE: captureFullData currently has no effect - execute_test_plan always runs JMeter with CSV output, and JMeter's CSV writer never emits response body/header columns regardless of this flag (only its XML output format can carry those); this option is a no-op until this server supports XML-format runs.
add_while_controllertool Add a While Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat while condition holds. Leave condition Filesoutside text
Add a While Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat while condition holds. Leave condition blank (or 'LAST') to loop while the last sampler in the loop succeeded; otherwise it's a JMeter expression re-evaluated each pass, looping until it evaluates to the literal string 'false'.
add_xpath_extractortool Add an XPath Extractor under an HTTP sampler, to save a value from an XML/HTML response into a variable using an XPath expression. Set tolerant=true for real-woFilesoutside text
Add an XPath Extractor under an HTTP sampler, to save a value from an XML/HTML response into a variable using an XPath expression. Set tolerant=true for real-world (non-strict) HTML.
create_test_plantool Create a new JMeter test plan. Returns the planId and the id of its root TestPlan node, which you'll use as parentId for the first thread group.Files
Create a new JMeter test plan. Returns the planId and the id of its root TestPlan node, which you'll use as parentId for the first thread group.
find_breaking_pointtool Find the concurrency level where a test plan stops meeting its SLA. Runs the plan over and over on its own, driving one thread group's thread count: first doublFilesEnv varsoutside text
Find the concurrency level where a test plan stops meeting its SLA. Runs the plan over and over on its own, driving one thread group's thread count: first doubling the load until the SLA breaks, then binary-searching between the last healthy level and the first broken one. Returns immediately with a searchId; poll get_breaking_point_status for progress and the final breaking point. The thread group is temporarily switched to ramp-up + fixed-plateau (scheduler) mode for the search and its original settings are restored when the search ends. Requires an Aggregate Report, Summary Report, or View Results Tree listener in the plan. Rounds always run the thread group in scheduler mode with an infinite loop count, so every thread repeats its whole scenario until the plateau ends: a request meant to run once per user (e.g. a login) must sit under a Once Only Controller, and a nested Loop Controller runs its count on every repeat. Each round reports its metrics both overall and per label (byLabel, with each label's share of the samples) - check that the mix matches what the plan intends. The SLA is judged on the overall numbers, not per label.
get_test_plantool Get the full element tree of a test plan, including every node's id (needed as parentId for add_* tools) and type.Filesoutside text
Get the full element tree of a test plan, including every node's id (needed as parentId for add_* tools) and type.
get_test_plan_xmltool Serialize a test plan to its JMeter .jmx XML, without running JMeter.Filesoutside text
Serialize a test plan to its JMeter .jmx XML, without running JMeter.
import_test_plantool Import an externally authored .jmx file (e.g. exported from the JMeter GUI) as a new test plan. Element types this server doesn't model are kept as opaque UnknoFilesoutside text
Import an externally authored .jmx file (e.g. exported from the JMeter GUI) as a new test plan. Element types this server doesn't model are kept as opaque UnknownElement nodes (their original XML is preserved and re-emitted as-is) instead of being dropped - check unknownElementCount/unknownElementTypes in the response to see what wasn't fully understood.
list_test_planstool List all test plans in the workspace.
List all test plans in the workspace.
move_elementtool Move an element (and its subtree) to a new parent, optionally at a specific index among the new parent's children (default: appended last). Rejects moving a nodFilesoutside text
Move an element (and its subtree) to a new parent, optionally at a specific index among the new parent's children (default: appended last). Rejects moving a node into its own subtree.
remove_elementtool Remove an element (and its subtree) from a test plan. The root TestPlan node cannot be removed.Filesoutside text
Remove an element (and its subtree) from a test plan. The root TestPlan node cannot be removed.
rename_elementtool Rename an element (its testname in the generated .jmx).Filesoutside text
Rename an element (its testname in the generated .jmx).
reorder_childrentool Reorder a node's direct children. orderedChildIds must be an exact permutation of that node's current children ids.Filesoutside text
Reorder a node's direct children. orderedChildIds must be an exact permutation of that node's current children ids.
set_element_enabledtool Enable or disable an element without removing it. A disabled element is skipped by JMeter at run time.Filesoutside text
Enable or disable an element without removing it. A disabled element is skipped by JMeter at run time.
stop_breaking_point_searchtool Stop a running capacity search. Terminates the round in flight, restores the thread group's original settings, and keeps whatever bounds the search had establisFilesoutside text
Stop a running capacity search. Terminates the round in flight, restores the thread group's original settings, and keeps whatever bounds the search had established so far.
stop_executiontool Stop a running test execution (sends SIGTERM to the JMeter process).Filesoutside text
Stop a running test execution (sends SIGTERM to the JMeter process).
update_elementtool Update an element's props with a shallow merge (or full replace). A prop value of null in props removes that key. When the node's type is one of the modeled typFilesoutside text
Update an element's props with a shallow merge (or full replace). A prop value of null in props removes that key. When the node's type is one of the modeled types, the resulting props are validated against that type's schema (check the type first via get_test_plan).
Text the model reads (56)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
find_breaking_point tool
Find the concurrency level where a test plan stops meeting its SLA. Runs the plan over and over on its own, driving one thread group's thread count: first doubling the load until the SLA breaks, then binary-searching between the last healthy level and the first broken one. Returns immediately with a searchId; poll get_breaking_point_status for progress and the final breaking point. The thread group is temporarily switched to ramp-up + fixed-plateau (scheduler) mode for the search and its original settings are restored when the search ends. Requires an Aggregate Report, Summary Report, or View Results Tree listener in the plan. Rounds always run the thread group in scheduler mode with an infinite loop count, so every thread repeats its whole scenario until the plateau ends: a request meant to run once per user (e.g. a login) must sit under a Once Only Controller, and a nested Loop Controller runs its count on every repeat. Each round reports its metrics both overall and per label (byLabel, with each label's share of the samples) - check that the mix matches what the plan intends. The SLA is judged on the overall numbers, not per label.
get_breaking_point_status tool
Check a capacity search started with find_breaking_point: status (running/completed/failed/stopped), progress (rounds completed out of maxIterations, plus the in-flight round's elapsed time and percent complete), the rounds run so far with each one's load and overall + per-label metrics, and - once it finishes - the breaking point, the last healthy load, and a plain-language conclusion. breakingPoint is the lowest load that was tested and broke the SLA, not necessarily the exact edge: read breakingPointRange (healthyUpTo / brokenAt / exact) for the real precision, since levels between the two were never run when toleranceThreads is above 1. There is no completion push - poll this tool. The same data is on disk at files.meta, and each round's raw results are in files.executionsDir/<executionId>/.
stop_breaking_point_search tool
Stop a running capacity search. Terminates the round in flight, restores the thread group's original settings, and keeps whatever bounds the search had established so far.
execute_test_plan tool
Start running a test plan with JMeter in non-GUI mode. Returns immediately with an executionId; the run continues in the background. Poll get_execution_status to know when it's done, then call get_execution_report to read the results.
get_execution_status tool
Check the status of a test run started with execute_test_plan (running/completed/failed), how long it has been running, and - while it runs - a `progress` block computed from the results file so far: samples, error rate, avg/p95 latency, overall and recent (last ~10s) throughput, and the same per label. Poll this tool rather than tailing stdout.log. The logTail is JMeter's console output with JVM startup warnings filtered out; JMeter only prints a summary line there about every 30 seconds, so it can stay the same between quick polls. Once the run ends, call get_execution_report for the full aggregate.
stop_execution tool
Stop a running test execution (sends SIGTERM to the JMeter process).
get_execution_report tool
Read and aggregate the results of a finished (or still-running) execution, computed from its Aggregate Report / Summary Report listener output: per-label and overall count, error rate, avg/min/max/median/p90/p95/p99 latency, throughput and KB/sec.
create_test_plan tool
Create a new JMeter test plan. Returns the planId and the id of its root TestPlan node, which you'll use as parentId for the first thread group.
list_test_plans tool
List all test plans in the workspace.
get_test_plan tool
Get the full element tree of a test plan, including every node's id (needed as parentId for add_* tools) and type.
add_thread_group tool
Add a Thread Group (virtual users) under the given parent node (usually the TestPlan root).
add_http_sampler tool
Add an HTTP Request sampler under the given parent node (usually a Thread Group). To inherit protocol, domain or port from an HTTP Request Defaults config element in scope (add_http_request_defaults), leave that argument out of the call - do not pass an empty string or a placeholder, because those fields have no default of their own. Passing an explicit value always overrides the Defaults for that field.
add_json_extractor tool
Add a JSON Extractor post-processor under an HTTP sampler, to save a value from the JSON response into a variable.
add_header_manager tool
Add an HTTP Header Manager under an HTTP sampler (or a Thread Group, to apply to every sampler in it).
add_response_assertion tool
Add a Response Assertion under an HTTP sampler, to fail the sample if the response doesn't match.
add_aggregate_report_listener tool
Add an Aggregate Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.
add_summary_report_listener tool
Add a Summary Report listener under the given parent (Thread Group or TestPlan). Its output is what get_execution_report reads after a run.
add_csv_data_set tool
Add a CSV Data Set Config under the given parent (a Thread Group to feed every sampler in it, or a single sampler to scope it there). Each thread reads one row per iteration, exposing each column as a JMeter variable. The filename must be an absolute path readable on the machine that will run the test (execute_test_plan runs JMeter from a fresh per-execution directory, so relative paths won't resolve).
add_user_defined_variables tool
Add a User Defined Variables config element under the given parent (TestPlan root for global variables, or a Thread Group to scope them there). Values are set once, before the test starts.
add_constant_timer tool
Add a Constant Timer under the given parent to pace requests. Under a Thread Group it delays every sampler in it; under a single sampler it delays only that one, before it fires.
add_regex_extractor tool
Add a Regular Expression Extractor under an HTTP sampler, to save a value from its response (body, headers, etc.) into a variable using a regex capture group. Use this instead of add_json_extractor for non-JSON (HTML/XML/plain-text) responses.
add_transaction_controller tool
Add a Transaction Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) are timed and reported as a single named transaction instead of separately.
add_loop_controller tool
Add a Loop Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat for the given number of loops each time the controller is reached.
add_if_controller tool
Add an If Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) only run when the condition evaluates truthy. condition is evaluated as a real JavaScript (Rhino) expression after JMeter substitutes any ${var} references, so comparisons work directly, e.g. '${count} < 10' or '"${status}" == "ok"'.add_jdbc_connection_configuration tool
Add a JDBC Connection Configuration (pooled datasource) under the given parent, usually the Thread Group or TestPlan root. A JDBC Request references this element's dataSource name.
add_jdbc_request tool
Add a JDBC Request sampler under the given parent (usually a Thread Group). dataSource must match a JDBC Connection Configuration's dataSource name added elsewhere in the same plan.
add_jsr223_sampler tool
add_ftp_request tool
Add an FTP Request sampler under the given parent (usually a Thread Group).
add_tcp_sampler tool
Add a TCP Sampler under the given parent (usually a Thread Group), opening a raw TCP connection and sending request data.
add_http_request_defaults tool
Add HTTP Request Defaults under the given parent (usually a Thread Group or TestPlan root). Any field left blank on a later add_http_sampler call under the same scope falls back to these values.
add_cookie_manager tool
Add an HTTP Cookie Manager under the given parent (usually a Thread Group), so samplers in scope share cookies automatically.
add_while_controller tool
Add a While Controller under the given parent (usually a Thread Group). Samplers added under it (as its children) repeat while condition holds. Leave condition blank (or 'LAST') to loop while the last sampler in the loop succeeded; otherwise it's a JMeter expression re-evaluated each pass, looping until it evaluates to the literal string 'false'.
add_random_controller tool
Add a Random Controller under the given parent (usually a Thread Group). On each pass it runs exactly one randomly chosen child (added under it) instead of all of them.
add_interleave_controller tool
Add an Interleave Controller under the given parent (usually a Thread Group). Runs one child (added under it) per pass, alternating through them in order instead of running them all.
add_once_only_controller tool
Add a Once Only Controller under the given parent (usually a Thread Group). Its children run only on each thread's first iteration and are skipped on every later one - use it for a login before a looping scenario (or in a Thread Group that loops forever / runs on a scheduler, as find_breaking_point does).
add_setup_thread_group tool
Add a setUp Thread Group under the TestPlan root. Runs once, before all normal Thread Groups start, regardless of where it sits in the tree - typically used for one-time setup (e.g. login, seeding data).
add_teardown_thread_group tool
Add a tearDown Thread Group under the TestPlan root. Runs once, after all normal Thread Groups finish, regardless of where it sits in the tree - typically used for one-time cleanup.
add_xpath_extractor tool
Add an XPath Extractor under an HTTP sampler, to save a value from an XML/HTML response into a variable using an XPath expression. Set tolerant=true for real-world (non-strict) HTML.
add_jsr223_preprocessor tool
add_jsr223_postprocessor tool
add_user_parameters tool
Add a User Parameters pre-processor under a Thread Group, assigning each thread a different set of variable values (cycled by thread number), set once at thread start unless perIteration is true. Different from add_user_defined_variables, which sets the same values for every thread.
add_json_assertion tool
Add a JSON Assertion under an HTTP sampler, to validate a JSONPath expression exists (and optionally matches a value) in the response.
add_duration_assertion tool
Add a Duration Assertion under an HTTP sampler, failing the sample if it takes longer than maxDurationMs.
add_size_assertion tool
Add a Size Assertion under an HTTP sampler, comparing a response field's byte size against a threshold.
add_uniform_random_timer tool
Add a Uniform Random Timer under the given parent to pace requests with a randomized delay: delayMs +/- a random amount up to rangeMs, picked fresh before each sample.
add_constant_throughput_timer tool
Add a Constant Throughput Timer under the given parent, pacing requests to hit a target rate rather than a fixed per-sample delay.
add_view_results_tree_listener tool
Add a View Results Tree listener under the given parent (Thread Group or TestPlan). Its output is readable via get_execution_report when there's no Aggregate/Summary Report listener present. NOTE: captureFullData currently has no effect - execute_test_plan always runs JMeter with CSV output, and JMeter's CSV writer never emits response body/header columns regardless of this flag (only its XML output format can carry those); this option is a no-op until this server supports XML-format runs.
add_backend_listener tool
Add a Backend Listener under the given parent (Thread Group or TestPlan), streaming live metrics to an external backend (InfluxDB by default) instead of a JTL file. If args is omitted, a ready-to-edit InfluxDB argument set is used - at minimum, edit influxdbUrl before running.
remove_element tool
Remove an element (and its subtree) from a test plan. The root TestPlan node cannot be removed.
update_element tool
Update an element's props with a shallow merge (or full replace). A prop value of null in props removes that key. When the node's type is one of the modeled types, the resulting props are validated against that type's schema (check the type first via get_test_plan).
rename_element tool
Rename an element (its testname in the generated .jmx).
move_element tool
Move an element (and its subtree) to a new parent, optionally at a specific index among the new parent's children (default: appended last). Rejects moving a node into its own subtree.
reorder_children tool
Reorder a node's direct children. orderedChildIds must be an exact permutation of that node's current children ids.
set_element_enabled tool
Enable or disable an element without removing it. A disabled element is skipped by JMeter at run time.
get_test_plan_xml tool
Serialize a test plan to its JMeter .jmx XML, without running JMeter.
import_test_plan tool
Import an externally authored .jmx file (e.g. exported from the JMeter GUI) as a new test plan. Element types this server doesn't model are kept as opaque UnknownElement nodes (their original XML is preserved and re-emitted as-is) instead of being dropped - check unknownElementCount/unknownElementTypes in the response to see what wasn't fully understood.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 56 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 56 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file path HIGH4 findings in add_thread_group, execute_test_plan, get_execution_report; 4 more to review
- Requests any addressNo tool sends a request to an address the caller supplies — 56 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 56 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
- Tools that touch files55 of 56 capabilities touch files; 1 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
Where the code is: 56 handlers in 3 files at commit 6a9192b87e47
src/tools/capacityTools.tsfind_breaking_point, get_breaking_point_status, stop_breaking_point_searchsrc/tools/executionTools.tsexecute_test_plan, get_execution_status, stop_execution, get_execution_reportsrc/tools/planTools.tscreate_test_plan, list_test_plans, get_test_plan, add_thread_group, add_http_sampler, add_json_extractor, add_header_manager, add_response_assertion, add_aggregate_report_listener, add_summary_report_listener, add_csv_data_set, add_user_defined_variables +37
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL9 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.30.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 56 capabilities; 56 more call code the scanner could not follow, where it may happen
- Environment variables2 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (3 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (9 in production)
proxy-addrnpm 2.0.7 CRITICAL 1 advisory 2.0.8
- CRITICALGHSA-jqcg-44mw-7w3h CVE-2026-90711proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
fast-urinpm 3.1.6 HIGH 7 advisories 2.4.62.4.72.4.8+6 more
- HIGHGHSA-58mr-gqgx-xq4g CVE-2026-84394fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority
- HIGHGHSA-qw65-cvwx-89v3 CVE-2026-84292fast-uri vulnerable to authority injection via an unvalidated port in serialize
- MEDIUMGHSA-wjr9-j795-jxcr CVE-2026-110180fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization
- MEDIUMGHSA-w74x-v6f9-j3xg CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
- MEDIUMGHSA-hrr3-gc8f-f4qj CVE-2026-86472fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
- LOWGHSA-333x-w4r6-6crp CVE-2026-110725fast-uri vulnerable to scheme injection via an unescaped first-segment colon in suffix references
- LOWGHSA-xhq7-xmqj-769h CVE-2026-110095fast-uri vulnerable to improper path equivalence in relative reference normalization
@modelcontextprotocol/sdknpm 1.30.0 HIGH 6 advisories 1.30.11.31.01.32.0
- HIGHGHSA-22jm-h49p-29qw CVE-2026-111767MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
- HIGHGHSA-6qxp-vccf-f47h CVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- HIGHGHSA-46jr-4wx8-v453 CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
- HIGHGHSA-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
- MEDIUMGHSA-rvq5-wwqv-78pq CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
body-parsernpm 2.3.0 HIGH 1 advisory 1.20.92.4.0
- HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
zodnpm 4.4.3 HIGH 1 advisory 4.6.6
- HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
hononpm 4.13.5 MEDIUM 7 advisories 4.13.74.13.114.13.16
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-hxh3-vqpv-xpqv CVE-2026-93981hono/jsx renders plain strings unescaped in boundary components, leading to XSS
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-5r4p-p66f-jhc7 CVE-2026-109955 CVE-2026-111757Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
ip-addressnpm 10.5.0 MEDIUM 5 advisories 10.5.110.7.110.7.4
- MEDIUMGHSA-rpw4-54j3-4h4q CVE-2026-101913ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts
- MEDIUMGHSA-2vr4-cq9g-pvrc CVE-2026-101910ip-address: no classifier recognizes the NAT64 local-use range 64:ff9b:1::/48, allowing SSRF and trust-boundary bypass
- MEDIUMGHSA-j6r3-76f7-8jcv CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range
- MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
- MEDIUMGHSA-h3mg-xc3c-68pw CVE-2026-101911ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process
@hono/node-servernpm 2.1.1 MEDIUM 3 advisories 1.19.182.1.32.1.6
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
- MEDIUMGHSA-rmxm-3fg6-px4f CVE-2026-118663@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
qsnpm 6.15.3 MEDIUM 3 advisories 6.16.06.16.1
- MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
- MEDIUMGHSA-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
- MEDIUMGHSA-x5fp-wj9c-mxmx CVE-2026-82562qs array-limit bypass via bracket-key comma parsing
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
fast-xml-parsernpm 5.11.1 LOW 1 advisory 5.12.0
- LOWGHSA-474x-hrwr-fgx4 CVE-2026-126066fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.30.0 |
| Servers in the code | 1 (jmeter-mcp-server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-09-22 |
| Signed releases | not checked yet |
Install it
For the server's own npm package jmeter-mcp-server. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"jmeter-mcp-server": {
"command": "npx",
"args": [
"-y",
"jmeter-mcp-server"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"jmeter-mcp-server": {
"command": "npx",
"args": [
"-y",
"jmeter-mcp-server"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"jmeter-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jmeter-mcp-server"
]
}
}
}Claude Code terminal
claude mcp add jmeter-mcp-server -- npx -y jmeter-mcp-serverWhere it is published
| npm package | jmeter-mcp-server |
|---|---|
| Downloads | 162 a month on npm |
| Listed in | 4 catalogs (github_search, glama, mcp_toplist, npm) |
| License | MIT |
| Created | 2026-08-26 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.