---
title: "Kiwi for Grafana k6"
description: "Have the agent on a Kiwi step write, validate and run Grafana k6 load test scripts through the k6 MCP server."
canonical: "https://kiwiflow.io/integrations/k6"
---

# Kiwi for Grafana k6

Have the agent on a Kiwi step write, validate and run Grafana k6 load test scripts through the k6 MCP server.

- Your agent works in Grafana k6 through its own connection. Kiwi does not call Grafana k6 and never holds its credentials.
- A workflow skill can list Grafana k6 among the tools it requires. When you supply your agent's available tools to a skill check and Grafana k6 is not among them, the check reports `SK15-UNSUPPORTED-TOOL`.
- A project Admin can add links to Grafana k6, with notes, under Connections and bind them to the steps that use them. The agent reads them with `list_connections`.
- The agent can report the tools and plugins it ran with, including its Grafana k6 connection, with `report_configuration`.
- The agent submits links to its work in Grafana k6 as the step's outputs. People review them, and sign-off stays with the people your workflow names.

## What your agent can do in Grafana k6

- Validate a k6 script before running it.
- Run a k6 script and read its results.
- Look up the k6 documentation, section by section, for the APIs a script needs.

## Set up

### 1. Connect your agent to Kiwi

Add Kiwi's hosted MCP server, `https://kiwiflow.io/mcp`, to your coding agent.

- [Coding agents](https://kiwiflow.io/integrations#agent)
- [Quickstart](https://docs.kiwiflow.io/quickstart#connect-your-agent)

### 2. Connect your agent to Grafana k6

Run the Grafana k6 MCP server where your agent runs. The credentials stay with your agent.

```
k6 x mcp
```

- [Grafana k6 documentation](https://grafana.com/docs/k6/latest/set-up/configure-ai-assistant/)

### 3. Example skill

Publish instructions like these as a workflow skill that lists Grafana k6 among its required tools.

```
Start from the endpoint and the load profile named in the assignment.
Write a k6 script for the profile and validate it before running.
Run the script once and record the request rate, errors and p95 latency.
Submit the script path and the k6 summary as the step's outputs.
If the run fails or misses a threshold, stop and report a blocker to the
step owner; the assigned reviewer decides whether the result meets the target.
```

## More testing integrations

- [Kiwi for Playwright](https://kiwiflow.io/integrations/playwright.md): Have the agent on a Kiwi step drive a browser through Playwright MCP to check a change in the running app and capture what it saw.
- [Kiwi for Postman](https://kiwiflow.io/integrations/postman.md): Have the agent on a Kiwi step update Postman collections, specifications and environments for an API change through Postman's remote MCP server.
- [Kiwi for Cypress](https://kiwiflow.io/integrations/cypress.md): Have the agent on a Kiwi step read Cypress Cloud runs and their failed and flaky tests through the Cypress Cloud MCP server.
- [Kiwi for Appium](https://kiwiflow.io/integrations/appium.md): Have the agent on a Kiwi step drive a mobile app on a device or emulator through Appium MCP and capture what it observed.
- [Kiwi for BrowserStack](https://kiwiflow.io/integrations/browserstack.md): Have the agent on a Kiwi step run tests on BrowserStack Automate and investigate failed sessions through BrowserStack's MCP server.
- [Kiwi for Sauce Labs](https://kiwiflow.io/integrations/sauce-labs.md): Have the agent on a Kiwi step find failing Sauce Labs jobs and their root causes through the Sauce Labs MCP server.
- [Kiwi for TestMu AI](https://kiwiflow.io/integrations/testmu-ai.md): Have the agent on a Kiwi step triage failed tests and check visual and accessibility results in TestMu AI, formerly LambdaTest, through its MCP server.
- [Kiwi for Chromatic](https://kiwiflow.io/integrations/chromatic.md): Have the agent on a Kiwi step publish a Storybook to Chromatic with the Chromatic CLI and report the visual changes it found.

- [Get started](https://kiwiflow.io/get-started)
- [Read the setup guide](https://docs.kiwiflow.io/other-tools)
