MCP.so
ログイン
サーバー

🚀 ⚡️ locust-mcp-server

@QAInsights

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.

概要

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.

タグ

「その他」の他のコンテンツ