locust-mcp-server

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

📦 Installation

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

🚀 Getting Started

  1. Create a Locust test script (e.g., hello.py).
  2. Configure the MCP server using the given specs in your favorite MCP client.
  3. Ask the LLM to run the test.

✨ Use Cases

  • LLM powered results analysis
  • Effective debugging with the help of LLM