Back to Home
grafana icon

mcp-k6

Verified Safe

by grafana

Overview

The mcp-k6 server provides an experimental Model Context Protocol (MCP) interface for k6, enabling script validation, test execution, documentation browsing, and guided script generation for performance testing workflows.

Installation

Run Command
docker run --rm -i grafana/mcp-k6 -t stdio

Environment Variables

  • PATH
  • HOME
  • USERPROFILE
  • HOMEDRIVE
  • HOMEPATH
  • LOG_LEVEL
  • LOG_FORMAT
  • USER
  • USERNAME
  • LOGNAME

Security Notes

The project demonstrates strong security awareness by actively validating script content for dangerous patterns (e.g., 'eval', 'child_process'), sanitizing output to prevent information leakage, and restricting the environment for executing external commands (k6, terraform). Temporary files are created securely with proper permissions and cleanup. A potential minor risk lies in the file reading mechanism for Playwright script conversion, where path normalization mitigates but might not entirely eliminate all edge cases for file disclosure.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassHigh
Avg Tokens3000
Stars10
Forks1
Last Update2026-01-19

Tags

k6performance testingload testingdocumentationscript generationGo