GM

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

60 stars 11 forks 품질 83 트렌드 20AGPL-3.0

grafana/mcp-k6는 MCP 서버 후보자는 https://github.com/grafana/mcp-k6.에서 수입했습니다

개요

grafana/mcp-k6는 MCP 서버 후보자는 https://github.com/grafana/mcp-k6.에서 수입했습니다

개요(AI 번역)

** 실험 ** MCP (모델 컨텍스트 프로토콜) 서버는 k6, Go.에 작성되었습니다. 스크립트 검증, 테스트 실행, 문서 검색 및 가이드 스크립트 생성을 제공합니다.

[! 중요] 이 프로젝트는 여전히 실험입니다. 예리한 가장자리를 기대하고, 현지 클론을 최신 상태로 유지하고, 피드백이나 문제를 공유하기 때문에 신속하게 iterate 할 수 있습니다.

특징

도구

-Script Validation: validate_script]는 최소 구성 (1 VU, 1 iteration)과 k6 스크립트를 실행하며, 빠른 수정 코드를 생성하는 데 도움이 되는 액션 오류를 반환합니다.

  • Test Execution: run_script는 선택적 VUs, 내구, 그리고 반복 overrides로 로컬로 k6 성능 테스트를 실행하고, 가능할 때 결과의 통찰력을 추출합니다.
  • Documentation Browsing: list_sections and get_documentation] 공식 k6 docs의 구조화된 항법을 제공하며, 특정 섹션의 전체 마크다운을 검색할 수 있습니다. Docs는 첫 번째 사용, 로컬 캐시, 자동으로 정기적인 staleness 체크를 통해 신선한 유지.

자원

-Best Practices Resources: 포괄적인 k6 스크립팅 가이드라인과 패턴을 통해 효과적인, 관용 및 정확한 테스트를 작성할 수 있습니다.

# # # Prompts를

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

k6 MCP Server

An experimental MCP (Model Context Protocol) server for k6, written in Go. It offers script validation, test execution, documentation browsing, and guided script generation.

[!IMPORTANT] This project is still experimental. Expect sharp edges, keep a local clone up to date, and share feedback or issues so we can iterate quickly.

Features

Tools

  • Script Validation: validate_script runs k6 scripts with minimal configuration (1 VU, 1 iteration) and returns actionable errors to help quickly produce correct code.
  • Test Execution: run_script runs k6 performance tests locally with optional VUs, duration, and iteration overrides, and, when possible, extracts insights from the results.
  • Documentation Browsing: list_sections and get_documentation provide structured navigation of the official k6 docs and allow retrieving full markdown for specific sections. Docs are downloaded on first use, cached locally, and automatically kept fresh via periodic staleness checks.

Resources

  • Best Practices Resources: Comprehensive k6 scripting guidelines and patterns to help you write effective, idiomatic, and correct tests.

Prompts

  • Script Generation with generate_script: Generate production-ready k6 test scripts from plain-English requirements. It automatically follows modern testing practices by leveraging embedded best practices and the official k6 documentation.

Getting Started

Choose your preferred installation method:


The easiest way to get started. The Docker image includes k6 and all dependencies.

Prerequisites:

Pull the official image:

docker pull grafana/mcp-k6:latest

[!NOTE]

That’s it! You’re ready to run the containerized server.

Proceed to Editor Integrations to configure your editor.


Option 2: Homebrew macOS

Install mcp-k6 using Homebrew. k6 will be automatically installed as a dependency.

Installation:

# Add the grafana homebrew tap repository
brew tap grafana/grafana

# Install mcp-k6
brew install mcp-k6

# Verify installation
mcp-k6 --version

[!NOTE] To update to a newer version, download and install the latest formula again, or use brew upgrade if installed from the tap. Proceed to Editor Integrations to configure your editor.


Option 3: Package Installation (Linux)

Pre-built packages are available for Debian/Ubuntu and RHEL/Fedora/CentOS distributions.

GitHub에서 전체 README 보기

설치

docker run --rm -i grafana/mcp-k6
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "remote-k6": { "url": "http://your-server-ip:8080/mcp" } } }