k6-mcp-server
7
k6-mcp-server is a Model Context Protocol (MCP) server designed to run k6 load tests with ease. It offers simple integration, customizable testing options, and real-time output, making it ideal for load test analysis and debugging.
🚀 ⚡️ k6-mcp-server
A Model Context Protocol (MCP) server for running k6 load tests.
✨ Features
- Simple integration with Model Context Protocol framework
- Customizable test durations and virtual users (VUs)
- Easy-to-use API
- Configurable with environment variables
- Real-time test output
🔧 Prerequisites
- Python 3.12+
- k6 load testing tool
- UV package manager
📦 Installation
- Clone the repository.
- Install dependencies.
- Set up environment variables (optional).
🚀 Getting Started
- Create a k6 test script.
- Configure the MCP server with your client.
- Run tests using available tools or options.
📝 API Reference
execute_k6_test
: Run a test with 30s duration, 10 VUs.execute_k6_test_with_options
: Run with custom duration and VUs.
✨ Use cases
- LLM powered results analysis
- Debugging of load tests
🤝 Contributing
Contributions are welcome! Submit a Pull Request.
📄 License
Licensed under the MIT License.