k6-mcp-server

k6-mcp-server

3.4

If you are the rightful owner of k6-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server implementation for running k6 load tests.

The k6-mcp-server is a Model Context Protocol (MCP) server designed to facilitate the execution of k6 load tests. It provides a seamless integration with the MCP framework, allowing users to run load tests with ease. The server supports custom test durations and virtual users (VUs), and offers an easy-to-use API for executing k6 load tests. It is configurable through environment variables and provides real-time test execution output. The server requires Python 3.12 or higher, the k6 load testing tool, and the uv package manager. Users can clone the repository, install dependencies, and set up environment variables to get started. The server can be configured using MCP clients like Claude Desktop, Cursor, and Windsurf, and supports running tests with default or custom options.

Features

  • Simple integration with Model Context Protocol framework
  • Support for custom test durations and virtual users (VUs)
  • Easy-to-use API for running k6 load tests
  • Configurable through environment variables
  • Real-time test execution output

Tools

  1. execute_k6_test

    Run the test with the default options (30 seconds duration, 10 VUs)

  2. execute_k6_test_with_options

    Run tests with custom duration and VUs