# artillery-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/kosiakMD/artillery-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 474  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/artillery-mcp

## Description
MCP server for Artillery 2.x — full flags, Fargate, raw-text parser, project launcher (MIT)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "artillery-mcp": {
    "command": "npx",
    "args": ["-y","@kosiakmd/artillery-mcp"]
  }
}
```

## Documentation

## What artillery-mcp MCP server does

artillery-mcp MCP server connects MCP-compatible agents to the Artillery 2.x CLI. It exposes tools for starting load tests, running quick checks against a URL, executing tests on AWS Fargate, parsing result files, reading raw Artillery output, creating HTML reports, and comparing two result sets.

The result parsers return more than HTTP counters. JSON parsing includes counters, rates, nested summaries, scenarios, and metadata. Raw-output parsing can inspect saved files such as `artillery-output.txt`, including summary blocks, counters, rates, and nested percentile metrics. The server also provides named configuration storage and an interactive wizard for building tests.

## How it works

The server runs over MCP stdio and invokes the Artillery executable from the configured working directory. `run_test_from_file` accepts an Artillery script and the broader `artillery run` flag surface, while `run_test_inline` writes supplied YAML to a temporary file before execution. `run_fargate` exposes the corresponding AWS deployment options, including region, cluster, CPU, memory, networking, spot capacity, secrets, and task duration settings.

A project launcher is available only when the server discovers `.artillery-mcp.config.json`. That configuration can map short flow names to test files, define environments, supply default tags, and set an output directory. The server checks the `ARTILLERY_MCP_CONFIG` path first, then searches from the working directory upward. Without a discovered configuration, the launcher tool is not registered.

## Setup and configuration

Use `npx -y @kosiakmd/artillery-mcp` or install the npm package globally. Node.js 20 or newer and an Artillery CLI on PATH are required. `ARTILLERY_BIN` can point to a specific executable, and `ARTILLERY_WORKDIR` changes where runs operate. The default single-run timeout is 30 minutes, with captured output limited to 10 MB unless configured otherwise.

The `init` command creates a starter `.artillery-mcp.config.json` and an agent guidance file under `.ai/skills/artillery-mcp/SKILL.md`; existing files are preserved unless `--force` is used. Docker images are available for `linux/amd64` and `linux/arm64`, with the project mounted at `/workspace`. The base image omits Chromium and Playwright browsers, so Playwright-based scripts require an extended image.

## Tools and capabilities

The base installation includes tools for:

- Running file-based, inline, quick, preset, saved, and Fargate tests.
- Parsing JSON reports and raw Artillery output.
- Converting existing JSON results into HTML reports.
- Comparing results for regression checks.
- Saving, listing, retrieving, and deleting named configurations.
- Building tests interactively with wizard steps.
- Reporting Artillery, Node.js, server, path, and limit information through `list_capabilities`.

Recording a run requires `ARTILLERY_CLOUD_API_KEY` when the tool is called with `record: true`. The `quick_test` tool is enabled by default and can be disabled with `ARTILLERY_ALLOW_QUICK`.

## Limitations and notes

The server depends on the Artillery CLI and inherits the resources and behavior of the selected Artillery environment. The optional project launcher is unavailable without a discoverable project configuration. Save-config operations need a writable mounted directory in Docker; a read-only mount causes those calls to return errors. For Playwright engines, the standard Docker image needs additional browser and package installation.

_Full upstream README: https://allmcps.com/mcp/artillery-mcp/readme_

