# Dynatrace MCP for AI Agents AI Agent Connect

> Dynatrace MCP for AI Agents. Monitor and manage your Dynatrace environment by querying metrics, tracking problems, and managing entities like hosts and services directly through your AI client. It lets you automate observability workflows and handle infrastructure tasks without leaving your chat interface.

## Overview
- **Category:** devops-cicd
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Ub1wigqfvjMAz6k93QYXbZ21a7R0BVK0S8PIvZWb/ai-agent-connect
- **Tags:** apm, observability, infrastructure-monitoring, incident-response, metrics-analysis

## Description

Connect your Dynatrace environment to your AI agent to get a clear view of your software ecosystem without jumping between tabs. This Connector lets you perform real-time monitoring, analyze problems, and manage your infrastructure through natural language. Instead of hunting through complex menus to find a specific host or a failing service, you can just ask your agent to pull that data for you. You can query performance metrics, look for active issues, or see how your synthetic monitors are performing across different regions. It even handles the administrative side of things, like managing user permissions or updating dashboard settings. By using this through the Vinkius catalog, you turn your observability data into a searchable knowledge base. You'll spend less time clicking and more time actually solving problems.

## Tools

### get_anomaly_detection_services
See the anomaly detection settings for your services. Use this to audit service-level monitoring.

### create_synthetic_location
Create a new geographic location for synthetic monitoring. This helps you test app performance from different regions.

### create_synthetic_monitor
Set up a new synthetic monitor to track application performance. Use this to establish new health checks.

### delete_dashboard
Remove an existing dashboard from your environment. Use this to clean up old observability views.

### delete_synthetic_location
Remove a specific synthetic location. This is useful when you no longer need to test a certain region.

### delete_synthetic_monitor
Delete a synthetic monitor that is no longer needed. Keep your monitor list clean and relevant.

### get_anomaly_detection_apps
Check the anomaly detection settings for your applications. Use this to verify how your apps are being monitored.

### get_anomaly_detection_hosts
View anomaly detection configurations for your hosts. This helps you understand host-level alerting.

### get_calculated_metrics_service
View the configuration for your calculated service metrics. This is helpful for debugging custom metric logic.

### get_problem
Retrieve the specific details of a single problem. Use this to dig deep into a specific incident.

### ingest_metrics
Push custom data points into Dynatrace using the line protocol. This allows you to send unique telemetry to your environment.

### list_account_groups
See all the user groups defined in your account. Use this to audit your organizational structure.

### list_account_policies
View the access policies currently active in your account. This is a key step for security audits.

### list_account_users
Get a list of all users in your Dynatrace account. Use this to see who has access to your environment.

### list_dashboards
See every dashboard in your environment. Use this to get an overview of all available observability views.

### list_entities
List all the monitored entities like hosts and services. This helps you map out your current infrastructure.

### list_entity_types
See all available types of entities you can monitor. Use this to see the full scope of your monitoring.

### list_events
Find all events that occurred within a specific timeframe. Use this to correlate events with specific incidents.

### list_problems
See a list of both open and closed problems. This provides a quick overview of your current environment health.

### list_synthetic_executions
View the results of previous synthetic monitor runs. Use this to see historical performance data for specific checks.

### ingest_events
Send custom events into your Dynatrace environment. This is useful for tracking custom user actions or system triggers.

### list_metrics
See a list of all available metrics. Use this to find the right metric for your next query.

### list_settings_objects
View the configuration objects in your environment. Use this to see how your environment is configured.

### list_settings_schemas
See all the configuration schemas available. This helps you understand the structure of your environment settings.

### list_synthetic_locations
See all the synthetic locations you have set up. Use this to check your global monitoring footprint.

### list_synthetic_monitors
See a list of all your synthetic monitors. Use this to audit your current health checks.

### query_metrics
Get specific data points for your chosen metrics. Use this to see real-time trends during an incident.

### trigger_synthetic_batch
Run a batch of synthetic monitors immediately. This is great for testing app behavior on demand.

### update_account_group_permissions
Change the permissions for a specific user group. Use this to adjust access levels quickly.

### update_dashboard
Modify the settings of an existing dashboard. Use this to tweak your views without manual clicking.

### update_synthetic_location
Update the configuration of a synthetic location. Use this to change where your monitors are running.

### update_synthetic_monitor
Change the settings for an existing synthetic monitor. Use this to adjust check intervals or thresholds.

### close_problem
Manually close out a problem once it's resolved. Use this to clean up your active issue list via chat.

### create_account_policy
Create a new custom access policy for your account. Use this to define specific permissions for different teams.

### create_account_user
Add a new user to your Dynatrace account. Use this to quickly onboard new team members.

### create_custom_entity
Create or update custom devices in your environment. Use this to track non-standard infrastructure components.

### create_dashboard
Create a new dashboard for your observability data. Use this to set up new views for different teams.

## Prompt Examples

**Prompt:** 
```
Show me the top 3 active problems right now.
```

**Response:** 
```
I've identified the following active problems in your Dynatrace environment:

| Severity | Problem | Affected Host |
| :--- | :--- | :--- |
| **Critical** | High CPU Saturation | Prod-Web-01 |
| **Warning** | Disk Space Low | DB-Primary |
| **Warning** | Latency Spike | Auth-Service-04 |

Would you like me to get the full technical details for the CPU saturation issue?
```

**Prompt:** 
```
What's the average CPU for my web servers in the last 15 minutes?
```

**Response:** 
```
Querying `builtin:host.cpu.usage:avg` for the last 15 minutes...

**Average CPU Usage: 42%**

*   **Peak Usage:** 88% (on `DB-Primary`)
*   **Lowest Usage:** 12% (on `Worker-Node-09`)

Most web servers are hovering between 35% and 48%.
```

**Prompt:** 
```
Who has admin access to our account?
```

**Response:** 
```
Here are the users currently listed in your Dynatrace account with associated policies:

*   **admin_user_01** (Policy: Full Access)
*   **dev_lead_02** (Policy: Read Only)
*   **ops_manager_03** (Policy: Full Access)

Would you like me to list the specific permissions for any of these users?
```

## Capabilities

### Query real-time performance metrics
Get specific data points for your chosen metrics to see immediate trends.

### Retrieve and manage active problems
Find active issues and close them once they are resolved.

### Discover infrastructure entities
List and filter monitored hosts, services, and applications.

### Manage synthetic monitors
Create, update, and trigger synthetic monitor batches across locations.

### Create and update dashboards
Modify your observability views and dashboard configurations on the fly.

### Handle account permissions
Manage user groups, policies, and account access rules.

### Ingest custom metrics and events
Push custom data points and events directly into your environment.

## Use Cases

### Rapid Incident Triage
An SRE asks the agent to list active problems and then uses get_problem to see why the database is lagging.

### Global Synthetic Testing
A QA engineer uses create_synthetic_location and trigger_synthetic_batch to test how an app performs in Europe.

### Security and Access Audit
An IT manager asks the agent to list all users and list_account_policies to ensure only the right people have admin access.

### Infrastructure Mapping
A developer wants to see all hosts and uses list_entities to map out the current production environment.

## Benefits

- Get instant answers to what is broken by using list_problems to see active issues without opening a browser.
- Query specific performance data points with query_metrics to see real-time trends during a production incident.
- Manage your synthetic monitoring setup using create_synthetic_monitor and trigger_synthetic_batch to test app health.
- Quickly audit your security posture by using list_account_users and list_account_policies to see who has access.
- Update your monitoring views on the fly using update_dashboard to keep your team's focus on the right data.
- Automate data collection by using ingest_metrics to push custom telemetry directly into your environment.

## How It Works

The bottom line is you get a conversational interface for your entire Dynatrace observability stack.

1. Subscribe to the Dynatrace MCP and provide your Environment URL and API Token.
2. Connect the Connector to your preferred AI client like Claude or Cursor.
3. Ask your agent to find problems, query metrics, or update dashboard settings.

## Frequently Asked Questions

**Does the Dynatrace MCP work with my existing data?**
Yes, it connects directly to your existing Dynatrace Environment API. You can query all the metrics, problems, and entities you already have in your account.

**Can I use the Dynatrace MCP to fix my site?**
The Connector helps you find the root cause much faster by pulling data into your chat. While it doesn't automatically reboot servers, it gives you the info you need to take action.

**Is the Dynatrace MCP safe for my account?**
Yes, it uses your Dynatrace Environment URL and API Token to interact with your data, just like the official web console does.

**How does the Dynatrace MCP help with synthetic testing?**
You can use it to create new synthetic monitors, update their locations, and trigger batches of checks immediately through your AI client.

**Can the Dynatrace MCP manage my users?**
Yes, it can list all users in your account, view your current access policies, and update permissions for user groups.

**Does the Dynatrace MCP support custom metrics?**
Yes, it allows you to ingest custom metrics and events into your environment using the standard line protocol.

**How can I check for active problems in my environment?**
You can use the `list_problems` tool. It retrieves all open and closed problems detected by Dynatrace, providing you with an immediate overview of your system's health.

**Is it possible to query specific performance metrics like CPU usage?**
Yes! Use the `query_metrics` tool with a metric selector (e.g., `builtin:host.cpu.usage:avg`). The agent will fetch the relevant data points for analysis.

**Can I manage my synthetic monitoring tests through this server?**
Absolutely. You can use `list_synthetic_monitors` to see your current tests and `trigger_synthetic_batch` to manually start execution sequences.