How to connect the k6 and JMeter MCP, create a test,
and use the Claude skill that runs a large k6 load on EC2.
Overview
The Performance Tests MCP helps teams create and improve load and performance scripts
for k6 and Apache JMeter. Use it when you need smoke,
load, stress, or spike scenarios, latency and error limits, and a script your team can
maintain. It does not generate browser click-paths or Playwright end-to-end tests.
Pick the address for your team. INDG uses
qe-mcp.bindg.com. BLAW (Bloomberg Law) uses
blp.qe-mcp.bindg.com.
This page has two parts. First, connect the MCP and create or review the test.
Then, when a k6 load is large enough to run on EC2, use the
Claude skill further down. The skill checks the file the MCP
already wrote. It does not create a second test. A short picture of the EC2 platform
is on the Performance Tool page.
URLs and JSON
Both teams use the same path, /mcp/v2/performance_tests, on their own site.
In Cursor or VS Code, name the INDG connection qe_performance_tests_v2 and
the BLAW connection blaw_performance_tests_v2. That name is only a label so
you can tell the two connections apart. The samples below already use these names.
Exact tool names appear in the
MCP hub catalog after sync from
GET https://qe-mcp.bindg.com/tools. Here is what this connection can do:
Area
What you can do
k6
Generate and refine k6 scripts (smoke, load, stress, spike), scenarios, thresholds,
checks, and environment-driven URLs/credentials patterns.
JMeter
Generate and refine Apache JMeter test plans (thread groups, samplers, assertions,
timers) aligned to your endpoints and load profile.
Analysis
Review existing performance scripts for structure, realism, and maintainability;
recommend improvements without inventing unreachable endpoints.
Add Server to Cursor
Open Cursor Settings and search for Tools & MCP.
Choose New MCP Server.
Paste the INDG or BLAW JSON above (or add both entries).
Save and confirm the server appears connected.
Add Server to VS Code
Open the Command Palette and search for MCP: Add Server.
Select HTTP.
Enter the INDG URL
https://qe-mcp.bindg.com/mcp/v2/performance_tests
or the BLAW URL
https://blp.qe-mcp.bindg.com/mcp/v2/performance_tests.
Give it a name you will recognize:
qe_performance_tests_v2 for INDG or
blaw_performance_tests_v2 for BLAW. The name is only a label so you can
tell the two connections apart.
Save globally or to the workspace and start the server.
Create or review a test
Connect the INDG or BLAW address for your team, using the samples above.
Describe the application, the endpoints, the environment variables, and the load (how many users, how long, and your latency and error limits).
Ask for a k6 or JMeter starter. Start with a small smoke test, then ask for a larger load or spike test.
Save the k6 script under k6-tests/ in your performance repository. Save a JMeter plan in your JMeter folder.
You can check a small k6 run on your own machine.
A large k6 load uses the Claude skill on this page. That skill
runs the test on EC2. JMeter stays on this MCP. The skill is for k6 on EC2 only.
Example prompts
k6 smoke + load (INDG): Using MCP server
qe_performance_tests_v2, create a k6 smoke and load script for
<API or journey> with TEST_ENV-driven URLs, credential env vars, functional
checks, and latency thresholds that match our latency and error limits.
JMeter plan (BLAW): Using MCP server
blaw_performance_tests_v2, generate a JMeter test plan for
<endpoint set> with a ramp-up thread group, HTTP samplers, assertions, and
clear naming. Do not invent endpoints that are not in our OpenAPI or docs.
Review existing script: Using my Performance Tests MCP, review this k6/JMeter
script for maintainability, realistic load shape, and missing thresholds. Propose a focused
improvement plan.
BBVPN proxy configuration
These MCPs are hosted on qe-mcp.bindg.com (INDG) and
blp.qe-mcp.bindg.com (BLAW). If you are on BBVPN, add both hosts to your IDE’s
http.noProxy setting (not in mcp.json).
Smoke test: Using my MCP server
qe_performance_tests_v2 (or blaw_performance_tests_v2), list
available tools or capabilities and provide a short ready checklist for k6 and JMeter.
Claude skill for large k6 loads on EC2
This skill accompanies the Performance Tests MCP. The MCP writes the k6 file. The skill
finds only that new file, checks it, fixes only what you approve, then pushes so GitLab
runs the large load on EC2. GitLab loads the test zip and the reports into Amazon S3.
The skill will not:
Write a second k6 test.
Invent virtual users, stages, or thresholds you did not already put in the file.
List or check older tests that are already in git.
Put passwords into any file.
Get the skill
Download it from
K6_Claudeskill
or open Performance Coach in the
Claude Skills library.
Do not also load .claude/skills/k6-ec2-performance/SKILL.md. That older skill
is a different procedure.
In Claude, start the chat with Use k6-ec2-skill. That word is the skill’s
name. Example:
First message: Use k6-ec2-skill. Check the k6 test MCP already created.
1
Ask Claude to find your k6 files
The skill looks for newly created k6 files identified by the MCP scan (for
untracked or newly added files) anywhere in the repo. It lists only new candidates and does not dump the
whole suite. If the user names an existing
path (including an older committed test), the skill uses that instead. If there are
no new files and no file path was given, the skill asks once for a repo-relative path —
the skill does not treat “no newly created files” as a hard dead end, and does not list every test.
2
Pick one file
Claude shows a short numbered list and waits. Reply with the name or the number.
If you name a folder, Claude checks only the new files in that folder.
3
Read the pass or fail report
Claude reads only the file you picked and answers in the chat. A pass means all of these are already true:
The file is a valid k6 script (export const options and export default).
It has a URL, path, and method.
It has a load definition (executor, virtual users, stages, or duration).
If the file is meant to pass or fail a run, it has thresholds and check() calls.
Secrets appear only as __ENV names, never as real values.
Nothing extra was added that you did not ask for.
If something was never specified, the report says “not specified.” Claude does not
fill it in.
4
If it fails, read the report file. If it passes, there is no file.
On a failure, Claude writes one new file and does not overwrite an older report:
That file lists every problem and the proposed fix. It does not contain passwords.
Claude then asks yes or no for each failure. On a pass, no report file is written,
and Claude continues.
5
Approve each fix
Answer yes or no for each failure. Claude edits only the new file you picked, and
only the items you approved. It then checks again. A later failure gets a new report
file with a new timestamp. A pass does not get a report file. Repeat until the verdict
is pass, or until you say to continue anyway.
6
Point the runner at that file
Claude updates .env.example only. It does not create, read, or write
.env. Credential fields stay empty. If you picked more than one new file, Claude asks
which one K6_TEST_FILE should use.
Path of the test under k6-tests/. Example: load/my-test.js.
K6_RUN_MODE
The skill sets this to local. GitLab still runs the published test on EC2 after the push.
TEST_ENV
Which environment the test targets. The skill sets qa.
ENABLE_S3_UPLOAD
Turn on so the reports are uploaded to S3.
S3_BUCKET_NAME
Bucket that receives the test zip and the reports.
S3_BUCKET_EAST_STORAGE
Same bucket, used when reports are stored in us-east-1.
7
Decide whether to run it locally
Claude asks: run this test locally now? Answer yes or no. It does not run the test
unless you say yes. Either answer continues to the next step.
8
Let Claude branch, commit, and push
Claude creates a new branch named feature/k6/<test-name>, commits
only the test file you picked and .env.example, and pushes. You should
get the branch name, the commit, and a link to the GitLab pipeline.
It must not commit .env, k6-reports/,
K6_Failureanalysis_report/, or Terraform files.
9
Wait for the report upload, not just the test run
GitLab runs these jobs in order. The run is not finished when the test job ends.
lint-terraform — checks the Terraform files.
terraform-plan-sbx — shows the infrastructure changes.
terraform-apply-sbx — applies those changes.
start-ec2-sbx — starts the EC2 runner.
deploy-tests-sbx — zips k6-tests/ to s3://$S3_BUCKET_NAME/temp/k6-tests.zip and unpacks it on the runner.
run-tests-sbx — runs the k6 file you selected.
upload-reports-sbx — uploads the reports to S3. Wait for this job.
stop-ec2-sbx — stops the EC2 runner.
10
Confirm S3 has the zip and the reports
You are done only when both of these are in S3:
The test zip: s3://$S3_BUCKET_NAME/temp/k6-tests.zip
The reports under performance_reports/<REPORT_USER>/, including
the .log and .json for your test.
REPORT_USER is the GitLab commit author, with spaces turned into hyphens.
If aws s3 ls returns AccessDenied, do not keep retrying from your laptop.
Treat S3 as confirmed only when both deploy-tests-sbx and
upload-reports-sbx are green. If either job failed, was skipped, or is
still running, it is not done. Someone saying the files are in S3 is not enough.
If something looks wrong
Claude listed every k6 file. Tell it to list only the new files and wait.
Claude started writing a new test. Tell it to stop and use the file the MCP already created.
Claude edited the file before you said yes. Tell it to undo that and ask again.
Claude wrote a report file when the check passed. A pass is chat only. Ask it to delete that file.
Claude pushed before asking whether to run locally. That question is required. Answer it, then continue.
The pipeline stopped after the test run. Wait until upload-reports-sbx finishes.
aws s3 ls says AccessDenied. Do not retry. Both GitLab jobs above must be green.