MCP.so
Sign In

πŸš€ ⚑️ locust-mcp-server

@QAInsights

About πŸš€ ⚑️ 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.

Basic information

Category

Other

License

MIT

Runtime

python

Transports

stdio

Publisher

QAInsights

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "locust-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is πŸš€ ⚑️ locust-mcp-server?

It is a Model Context Protocol (MCP) server for running Locust load tests, enabling seamless integration of Locust load testing capabilities with AI-powered development environments.

How to use πŸš€ ⚑️ locust-mcp-server?

Install Python 3.13+ and uv, clone the repository, install dependencies, and optionally set environment variables. Create a Locust test script, configure the MCP server in your client (e.g., Claude Desktop) using the provided JSON spec, then ask the LLM to run the test. The server provides the run_locust tool for executing tests with configurable options.

Key features of πŸš€ ⚑️ locust-mcp-server

  • Integrates with the Model Context Protocol framework
  • Supports headless and UI modes
  • Configurable test parameters (users, spawn rate, runtime)
  • HTTP/HTTPS protocol support out of the box
  • Real-time test execution output
  • Custom task scenarios support

Use cases of πŸš€ ⚑️ locust-mcp-server

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

FAQ from πŸš€ ⚑️ locust-mcp-server

What prerequisites are needed?

Python 3.13 or higher and the uv package manager.

How do I run a load test?

Create a Locust test script, then ask the LLM to run it (e.g., "run locust test for hello.py"). The server uses the run_locust tool.

What parameters can I configure?

You can set the test file, headless mode, target host, test runtime, number of users, and spawn rate.

Can I run tests with a UI?

Yes, set headless=False in the run_locust tool to launch the Locust web UI.

Where is the source code hosted?

The repository is at github.com/qainsights/locust-mcp-server, licensed under MIT.

Comments

More Other MCP servers