MCP.so
Sign In

locust-mcp-server MCP Server

@QAInsights

Basic information

Category

Other

License

MIT

Transports

stdio

Author

QAInsights

About locust-mcp-server 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.

locust-mcp-server MCP Server 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"
      ]
    }
  }
}

locust-mcp-server MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1

What prerequisites are needed?

Python 3.13 or higher and the uv package manager.

2

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.

3

What parameters can I configure?

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

4

Can I run tests with a UI?

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

5

Where is the source code hosted?

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

Comments

More Other MCP servers