k6-mcp-server logo

k6-mcp-serverThis tool connects your AI assistant to the k6 load tester so you can run website performance checks right from your chat window. You set the test length and visitor counts, start the process, and wat

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

The k6-mcp-server is a Model Context Protocol (MCP) server implementation that enables running k6 load tests directly from a chat window or AI assistant. It allows users to set test duration and visitor counts, then execute the test and receive real-time output. The server supports custom test durations and virtual users (VUs), and is configurable through environment variables. It's designed to work with various MCP clients, such as Claude Desktop, Cursor, and Windsurf. The tool requires Python 3.12 or higher, the k6 load testing tool, and the uv package manager to be installed.

Key features

  • Execute K6 Test with default options (30s duration, 10 VUs)
  • Execute K6 Test with custom duration and VUs
  • Configurable through environment variables
  • Real-time test execution output
  • Support for custom test scripts

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

LLM Powered Results Analysis

The k6-mcp-server can be used with LLM (Large Language Models) to analyze results of load tests, providing insights into performance and potential bottlenecks.

Effective Debugging of Load Tests

The tool enables effective debugging of load tests by providing real-time test execution output and allowing for custom test durations and virtual users.

Pros & Cons

Pros

  • Simple integration with Model Context Protocol framework
  • Easy-to-use API for running k6 load tests
  • Support for custom test durations and virtual users (VUs)
  • Real-time test execution output

Cons

  • Requires Python 3.12 or higher, k6 load testing tool, and uv package manager to be installed
  • Configuration through environment variables may be complex for some users

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

What is the default test duration and VUs?

The default test duration is 30s and the default number of virtual users (VUs) is 10.

Asked by Mustafa Yilmaz · Jul 20, 2025

How do I configure the MCP server?

The MCP server can be configured using environment variables, and a .env file can be created in the project root to set options such as the K6_BIN path.

Asked by Mireille Dupont · Jun 30, 2025

Can I customize test durations and virtual users?

Yes, the k6-mcp-server supports custom test durations and virtual users (VUs), which can be configured through environment variables or by using the execute_k6_test_with_options API.

Asked by Faisal Rahman · Jun 14, 2025

What are the prerequisites for using k6-mcp-server?

The prerequisites for using k6-mcp-server include Python 3.12 or higher, the k6 load testing tool, and the uv package manager.

Asked by Marisol Pena · May 14, 2025

Ask a question

MCP Servers alternatives