Loading...
{
"mcpServers": {
"k6": {
"command": "/path/to/bin/uv",
"args": [
"--directory",
"/path/to/k6-mcp-server",
"run",
"k6_server.py"
]
}
}
}execute_k6_testRuns a k6 test with a specified script file, using default duration and VUs.
Executes arbitrary k6 scripts, potentially consuming resources.
execute_k6_test_with_optionsRuns a k6 test with a specified script file, duration, and number of virtual users.
Executes arbitrary k6 scripts with user-defined parameters, potentially consuming excessive resources.
The k6-mcp-server is relatively safe for executing load tests if the k6 scripts are trusted and resource limits are carefully managed. Untrusted scripts or excessive resource allocation could pose risks. Ensure the k6 binary is from a trusted source.