k6 MCP Server Model Context Protocol server

k6 MCP Server

Validate, run, and generate k6 load-test scripts via MCP

Grafana Labs·No reviews yet
Repo Docs
Share:

About

An experimental MCP (Model Context Protocol) server for k6, written in Go. It offers script validation, test execution, documentation browsing, and guided script generation. Tools include validate_script, run_script, list_sections, get_documentation, and a generate_script prompt resource.

Tools

validate_script
Validate a k6 script by running it with 1 VU and 1 iteration.
run_script
Run k6 performance tests with optional VUs, duration, and iteration overrides.
list_sections
Browse the k6 documentation hierarchy with a depth-limited tree.
get_documentation
Retrieve full markdown content for a specific k6 documentation section.

Screenshots

No screenshots yet.

Install k6 MCP Server

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "grafana-mcp-k6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana-mcp-k6"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "grafana-mcp-k6": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana-mcp-k6"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "grafana-mcp-k6": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-grafana-mcp-k6"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.