k6-mcp-server

k6-mcp-server

2.5

The k6-mcp-server is an MCP server implementation designed for running k6 load tests. It integrates with the MCP framework, supports customizable test options, and offers real-time execution output. The project is open-source under the MIT License.

🚀 ⚡️ k6-mcp-server

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

✨ 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

🔧 Prerequisites

  • Python 3.12 or higher
  • k6 load testing tool
  • uv package manager

📦 Installation

  1. Clone the repository.
  2. Install the required dependencies.
  3. Set up environment variables (optional).

🚀 Getting Started

  1. Create a k6 test script.
  2. Configure the MCP server using your preferred MCP client.
  3. Execute load tests using API methods.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License.