# K6 MCP

> K6 MCP is an open-source MCP server. Query a running k6: runtime status and metric list. Endpoints per k6 REST API docs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/premium-mcps
- **MCP Registry name:** io.github.mrfentmen/k6-mcp
- **Listing updated:** 2026-11-13

## About

Query a running k6: runtime status and metric list. Endpoints per k6 REST API docs.

## Install

### Claude Code (Terminal)

```sh
claude mcp add k6-mcp -- npx -y k6-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "k6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "k6-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "k6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "k6-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "k6-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "k6-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "k6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "k6-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "k6-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "k6-mcp"
      ]
    }
  }
}
```

## FAQ

### Is K6 MCP free?

Yes. K6 MCP is open source, so you can use and self-host it for free.

### How do I add K6 MCP to Claude Code?

Run this command in your terminal: claude mcp add k6-mcp -- npx -y k6-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/k6-mcp
