Metadata-Version: 2.4
Name: jmeter-adva-mcp
Version: 0.1.0
Summary: Advanced JMeter and Log Analysis MCP Server
Author-email: HP <user@example.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: mcp
Requires-Dist: pandas
Requires-Dist: matplotlib
Requires-Dist: seaborn
Requires-Dist: numpy

# JMeter Advanced MCP Server

A powerful Model Context Protocol (MCP) server for JMeter test execution and advanced log analysis.

## Features

- **JMeter Execution**: Run JMeter test plans (`.jmx`) directly from your agent.
- **Log Analysis**: Universal parser for JTL, CSV, Apache access logs, and application logs.
- **Auto-Correlation**: Identify and add dynamic value extractors to JMeter test plans.
- **Reporting**: Generate comprehensive Markdown reports with insights and statistics.
- **Dynatrace Integration**: Automatically add Dynatrace headers (LSN/TSN) to HTTP samplers.
- **Visualizations**: Generate response time distribution and endpoint performance graphs.

## Installation

```bash
pip install jmeter-adva-mcp
```

## Usage

### Run as an MCP Server

The server can be run as a stdio process:

```bash
jmetermcp
```

Or via python:

```bash
python -m jmetermcp
```

## Tools

- `run_test`: Run JMeter test plans.
- `analyze_results`: Analyze JTL results.
- `analyze_any_log_file`: Support for multiple log formats.
- `generate_analysis_report`: Create detailed Markdown reports.
- `correlate_jmeter_files`: Full correlation workflow.
- `auto_tag_dynatrace_headers`: Add Dynatrace headers to JMX files.
- `list_log_formats`: Check supported formats.

## License

MIT
