k6 mcp for VS Code
io.github.mrfentmen/k6-mcp
Query a running k6: runtime status and metric list. Endpoints per k6 REST API docs.
client:VS Code
transport:stdio
runtime:npm
Install k6 mcp in VS Code
.vscode/mcp.json
{
"servers": {
"k6-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"k6-mcp"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs