locust-mcp-server
1
Locust-MCP-Server is a Model Context Protocol server implementation designed for running Locust load tests. It offers features like headless and UI mode support, configurable test parameters, and an easy-to-use API, aiming to seamlessly integrate load testing capabilities into AI-powered environments.
🚀 ⚡️ locust-mcp-server
A Model Context Protocol (MCP) server implementation for running Locust load tests. This server enables seamless integration of Locust load testing capabilities with AI-powered development environments.
✨ Features
- Simple integration with Model Context Protocol framework
- Support for headless and UI modes
- Configurable test parameters (users, spawn rate, runtime)
- Easy-to-use API for running Locust load tests
- Real-time test execution output
- HTTP/HTTPS protocol support out of the box
- Custom task scenarios support
🔧 Prerequisites
- Python 3.13 or higher
- uv package manager (Installation guide)
📦 Installation
- Clone the repository.
- Install the required dependencies.
- Set up environment variables (optional).
🚀 Getting Started
- Create a Locust test script (e.g.,
hello.py
). - Configure the MCP server using the given specs in your favorite MCP client.
- Ask the LLM to run the test.
✨ Use Cases
- LLM powered results analysis
- Effective debugging with the help of LLM