Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by sumitbhowmick • Testing & QA
An MCP server implementation for running k6 load tests efficiently.
Perform load testing on web services using the k6 framework
Configure and run k6 tests with customizable parameters like duration and virtual users
Real-time feedback from load tests in a Model Context Protocol environment
The k6 MCP server provides a straightforward integration with the Model Context Protocol framework, allowing users to execute k6 load tests with ease. It supports custom test durations and virtual users, offering an easy-to-use API and configurable environment settings. This tool is ideal for developers and testers seeking real-time test execution with minimal setup.
Start k6 load test in background and return test ID for monitoring Args: url: Target URL to test vus: Number of virtual users (default: 10) duration: Test duration like "30s", "5m" (default: "30s") rps: Requests per second limit (optional) method: HTTP method - GET, POST, PUT, DELETE (default: "GET") headers: HTTP headers as dict (optional) body: Request body - accepts string, dict, or any JSON-serializable object (optional) thresholds: Performance thresholds as dict (optional) Example: # Simple GET test start_k6_load_test("https://api.example.com/health") # POST with JSON object start_k6_load_test( url="https://api.example.com/data", method="POST", headers={"Content-Type": "application/json"}, body={"message": "test data", "timestamp": "2024-01-01"} ) # POST with JSON string start_k6_load_test( url="https://api.example.com/data", method="POST", headers={"Content-Type": "application/json"}, body='{"message": "test data", "timestamp": "2024-01-01"}' )
Check the status of a running k6 test
Get detailed results of a completed k6 test
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.