Skip to main content
Glama

k6-mcp-server

🚀 ⚡️ k6-mcp-서버

k6 부하 테스트를 실행하기 위한 MCP(Model Context Protocol) 서버 구현입니다.

✨ 특징

  • 모델 컨텍스트 프로토콜 프레임워크와의 간단한 통합
  • 사용자 정의 테스트 기간 및 가상 사용자(VU) 지원
  • k6 부하 테스트를 실행하기 위한 사용하기 쉬운 API
  • 환경 변수를 통해 구성 가능
  • 실시간 테스트 실행 출력

🔧 필수 조건

시작하기 전에 다음 사항이 설치되어 있는지 확인하세요.

📦 설치

  1. 저장소를 복제합니다.

지엑스피1

  1. 필요한 종속성을 설치하세요:
uv pip install -r requirements.txt
  1. 환경 변수 설정(선택 사항): 프로젝트 루트에 .env 파일을 만듭니다.
K6_BIN=/path/to/k6 # Optional: defaults to 'k6' in system PATH

🚀 시작하기

  1. k6 테스트 스크립트를 만듭니다(예: test.js ):
import http from "k6/http"; import { sleep } from "k6"; export default function () { http.get("http://test.k6.io"); sleep(1); }
  1. 아래 사양을 사용하여 선호하는 MCP 클라이언트(Claude Desktop, Cursor, Windsurf 등)에서 MCP 서버를 구성하세요.
{ "mcpServers": { "k6": { "command": "/Users/naveenkumar/.local/bin/uv", "args": [ "--directory", "/Users/naveenkumar/Gits/k6-mcp-server", "run", "k6_server.py" ] } } }
  1. 이제 LLM에 테스트를 실행하도록 요청합니다. 예: run k6 test for hello.js . k6 mcp 서버는 아래 도구 중 하나를 활용하여 테스트를 시작합니다.
  • execute_k6_test : 기본 옵션(30초 지속, 10 VU)으로 테스트를 실행합니다.
  • execute_k6_test_with_options : 사용자 지정 기간 및 VU로 테스트 실행

k6-MCP

📝 API 참조

K6 테스트 실행

execute_k6_test( script_file: str, duration: str = "30s", # Optional vus: int = 10 # Optional )

사용자 정의 옵션을 사용하여 K6 테스트 실행

execute_k6_test_with_options( script_file: str, duration: str, vus: int )

🤝 기여하기

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

-
security - not tested
A
license - permissive license
-
quality - not tested

AI 어시스턴트가 자연어 명령을 통해 k6 부하 테스트를 실행하고 사용자 정의 테스트 기간과 가상 사용자를 지원할 수 있는 MCP(모델 컨텍스트 프로토콜) 서버 구현입니다.

  1. ✨ 특징
    1. 🔧 필수 조건
      1. 📦 설치
        1. 🚀 시작하기
          1. 📝 API 참조
            1. K6 테스트 실행
            2. 사용자 정의 옵션을 사용하여 K6 테스트 실행
          2. 🤝 기여하기
            1. 📄 라이센스

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                Model Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.
                Last updated -
                10
                104
                21
                JavaScript
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol (MCP) server that enables AI assistants to control and interact with Android devices, allowing for device management, app debugging, system analysis, and UI automation through natural language commands.
                Last updated -
                29
                143
                Python
                Apache 2.0
                • Linux
                • Apple
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that allows AI assistants to execute and manage JMeter performance tests through natural language commands.
                Last updated -
                2
                27
                Python
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol (MCP) server for LeetCode that enables AI assistants to access LeetCode problems, user information, and contest data.
                Last updated -
                7
                1
                TypeScript
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/QAInsights/k6-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server