# AppDynamics MCP

> AppDynamics App Performance Monitor API MCP lets you monitor deep system performance, business transactions, and infrastructure health rules directly from your AI agent. Instead of logging into a complex dashboard, you query real-time metrics—like average response time or error rates—using plain language prompts against all your monitored applications.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Tags:** apm, performance-monitoring, metrics, observability, infrastructure

## Description

Need to know if 'Payment-Gateway' is slowing down? Connect your AppDynamics Controller through this MCP and ask your agent. You get deep visibility into your entire software stack without touching a UI. This single connection provides access to everything: you can pull real-time metric data, list out every business transaction that ran today, or check for health rule violations across all tiers. It's like having an expert SRE sitting next to you, ready to answer performance questions instantly. Through Vinkius, this MCP gives your AI client a comprehensive window into the operational status of any application, letting you quickly audit user accounts or export current health rules with simple conversations.

## Tools

### list_applications
Asks for a list of all applications currently monitored by your Controller.

### list_business_transactions
Retrieves the details and names of business transactions within an application.

### create_event
Allows you to create a custom event for tracking purposes in AppDynamics.

### create_user
Creates and provisions a new user account within the Controller system.

### list_custom_match_rules
Provides access to manage custom matching rules used for data filtering.

### export_health_rules
Exports the current set of health rules associated with a specific application.

### list_health_rule_violations
Lists all recorded violations against defined system health rules.

### import_health_rules
Adds new, external health rules to an application's monitoring setup.

### list_users
Retrieves a comprehensive list of all user accounts managed by the Controller.

### get_metric_data
Fetches real-time metric data for an application, including performance metrics like response time.

### list_nodes
Retrieves a list of all underlying nodes or servers within a monitored application.

### list_snapshots
Gets detailed, historical snapshots of specific business transactions for deep analysis.

### list_tiers
Lists all component tiers (like Web or API) within a monitored application.

## Prompt Examples

**Prompt:** 
```
List all applications monitored by our AppDynamics Controller.
```

**Response:** 
```
I've retrieved the applications. You have 3 active applications: 'E-Commerce-Prod' (ID: 45), 'Payment-Gateway' (ID: 12), and 'Inventory-Service' (ID: 89).
```

**Prompt:** 
```
Show me the average response time for application 45 for the last 15 minutes.
```

**Response:** 
```
Fetching metric data... The Average Response Time for 'E-Commerce-Prod' over the last 15 minutes is 245ms, with a peak of 410ms during the last 5-minute window.
```

**Prompt:** 
```
Are there any health rule violations for app 12?
```

**Response:** 
```
Checking violations... I found one 'Warning' violation for 'Payment-Gateway': 'CPU Usage is high on Tier: Web-FrontEnd'. It started 10 minutes ago.
```

## Capabilities

### Map Application Infrastructure
You can retrieve a full list of all applications and nodes that your Controller is currently monitoring.

### Analyze System Metrics
The MCP pulls real-time metric data, letting you check average response times or minute error counts for specific components.

### Track Business Flow Failures
It lists all business transactions and provides detailed snapshots so you can trace exactly where a process failed.

### Audit System Health Rules
You can export existing health rules or list any violations to ensure your system meets operational standards.

### Manage Controller Users
The MCP lets you view and create new user accounts directly within the AppDynamics Controller.

## Use Cases

### Investigating an intermittent slowdown
The user notices high latency during peak hours. They prompt their agent, asking for the 'average response time' across all applications over the last hour. The MCP pulls this metric data instantly and identifies that the Payment-Gateway is spiking in errors per minute.

### Auditing user permissions
An auditor needs to verify who has access to sensitive APIs. Instead of navigating complex role menus, they ask their agent to 'list users' and review all associated accounts for compliance checks.

### Debugging a failing checkout flow
A developer is stuck on a broken transaction. They prompt the MCP to 'list snapshots' for the checkout process, retrieving a detailed log that shows exactly which backend tier failed and why.

### Pre-deployment health check
An SRE needs to confirm system readiness before rolling out code. They ask their agent to 'list_health_rule_violations' across the core payment systems, getting a clean report of any current compliance issues.

## Benefits

- Stop clicking through tabs. Instead of manually checking dashboards, you ask your agent to 'list all nodes' or 'get metric data,' getting immediate answers in a conversational format.
- Audit access instantly. You can use the MCP to list users and create new accounts without needing admin credentials for the UI—just talk to your agent.
- Trace failures precisely. If a business process fails, you don't guess; you ask the MCP to 'list snapshots' to pinpoint the exact step that broke.
- Stay compliant with automated checks. Use it to export health rules or list rule violations so you always know if your system is within operational thresholds.
- Understand complexity at a glance. You can get full visibility by asking the agent to 'list applications' and then drill down through tiers and nodes from that initial overview.

## How It Works

The bottom line is you get observability into your core systems using natural language prompts instead of clicking through complex dashboards.

1. First, subscribe to this MCP and provide your AppDynamics Controller URL, username, and password.
2. Next, prompt your AI client with a specific request—for example, 'What was the average response time for E-Commerce-Prod last week?'
3. Your agent sends that query through the MCP and returns structured, real-time performance data.

## Frequently Asked Questions

**How do I use the list_applications tool with AppDynamics MCP?**
You simply ask your agent, 'list applications monitored by my Controller.' The MCP executes this query and sends back a list of all active application IDs you can then reference in later queries.

**Can I get historical metric data using AppDynamics MCP?**
Yes, the 'get_metric_data' tool allows you to retrieve real-time and historical metric data. You just need to specify the time window and the specific metric path you want analyzed.

**What is list_health_rule_violations for?**
This tool lists all recorded instances where a monitored system failed to meet its operational threshold (a violation). It helps SREs quickly identify compliance issues that need immediate attention.

**Is AppDynamics MCP better than just using the UI?**
It's faster and more conversational. The MCP lets you combine multiple data points—like listing applications, then getting metrics for them, and finally checking health violations—in a single conversation.

**How do I manage users with AppDynamics MCP?**
You use the 'list_users' tool to see who has access or the 'create_user' tool to provision new accounts. It keeps user management accessible through your agent interface.