# Grafana Cloud MCP for AI Agents AI Agent Connect

> Grafana Cloud MCP lets you manage your observability infrastructure using natural language. You can create stacks, provision API keys, and audit user access across multiple organizations from your AI client. It handles the heavy lifting of cloud management so you can focus on monitoring.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_LvjiD1jE9as6pQ5dAghIOnkYpcH8krlIHc7kuaV6/ai-agent-connect
- **Tags:** grafana, observability, stack-management, api-keys, infrastructure-as-code

## Description

This Grafana Cloud MCP manages your observability infrastructure by letting you handle cloud operations through natural language. Instead of jumping between browser tabs to hunt for organization slugs or manually generating API keys for every new service, you can just ask your agent to do it. This changes your daily work from a series of manual clicks to a conversational flow. You can provision new stacks, check which users have access to your data, and rotate keys without leaving your editor. It makes managing a complex cloud footprint feel like a conversation rather than a chore. You can find this and thousands of other connectors in the Vinkius catalog to bridge the gap between your tools and your agent.

## Tools

### create_instance
Create a new Grafana stack for your observability needs. This helps you set up new monitoring environments quickly.

### delete_api_key
Remove an old or compromised API key from your organization. Use this to keep your cloud environment secure.

### get_instance
Pull specific technical details for a single Grafana instance. This is useful for verifying deployment status.

### get_org
Fetch metadata for a specific organization based on its slug. Use this to see deep organization details.

### list_api_keys
See all existing API keys currently active in an organization. This is great for security audits.

### list_instances
View every stack and instance running within your organization. This provides a bird's-eye view of your infrastructure.

### list_org_users
Pull a list of every user who has access to an organization. Use this to manage team permissions.

### list_orgs
See every organization that your account is currently part of. This helps you navigate your cloud footprint.

### create_api_key
Generate a new API key with specific roles like Viewer or Admin. This is the fastest way to provision new credentials.

## Prompt Examples

**Prompt:** 
```
List all my Grafana Cloud organizations.
```

**Response:** 
```
I've retrieved your organizations. You have access to:

| Organization | Slug |
| :--- | :--- |
| **Main-Ops** | `main-ops` |
| **Dev-Sandbox** | `dev-sandbox` |

Which one would you like to explore?
```

**Prompt:** 
```
Show me all instances in the 'main-ops' organization.
```

**Response:** 
```
In the **main-ops** organization, I found 2 instances:

* **Production-Stack** (URL: `main-ops.grafana.net`)
* **Staging-Metrics** (URL: `main-ops-staging.grafana.net`)
```

**Prompt:** 
```
Create an Admin API key named 'automation-token' for the 'dev-sandbox' org.
```

**Response:** 
```
Successfully created the API key **automation-token** with Admin role for the **dev-sandbox** organization.

**Key:** `glc_...` 

*Please store this key securely as it will not be shown again.*
```

## Capabilities

### Create new Grafana stacks
Spin up new observability instances for different environments or projects.

### Delete old API keys
Remove expired or compromised credentials from your organization immediately.

### Fetch instance details
Get the current status and metadata for a specific Grafana stack.

### Look up organization metadata
Retrieve specific details about your various cloud organizations.

### List all API keys
See every active API key in an organization to audit permissions.

### Audit organization users
Pull a list of every user who has access to your cloud organization.

### List all your organizations
View every organization your account is currently part of in one list.

## Use Cases

### Onboarding a new team
An engineer asks the agent to create a new stack and an Admin API key for the 'dev-sandbox' org to get a team started.

### Security cleanup
A security lead asks the agent to list all users in 'Main-Ops' and delete any keys that haven't been used in months.

### Infrastructure audit
A DevOps lead wants to see all active stacks across all organizations to check for duplicate instances.

### Quick troubleshooting
A developer needs the URL and metadata of a specific production stack to verify its current status.

## Benefits

- Faster provisioning: Use create_instance to spin up new stacks without navigating the cloud portal or manual configuration.
- Easier security audits: Quickly check who has access using list_org_users and list_api_keys to keep your environment secure.
- Rapid key management: Generate or remove credentials instantly with create_api_key and delete_api_key during developer onboarding.
- Better infrastructure visibility: Get a bird's-eye view of your stacks and orgs using list_orgs and list_instances in one go.
- Accurate metadata retrieval: Use get_org and get_instance to pull specific details for troubleshooting without searching through menus.

## How It Works

The bottom line is you get a conversational interface for managing your Grafana Cloud infrastructure.

1. Connect your Grafana Cloud Access Policy token to the Connector.
2. Tell your AI client which organization or stack you want to modify.
3. Get confirmation once the action is finished.

## Frequently Asked Questions

**Can I use Grafana Cloud MCP to create new stacks?**
Yes, you can use the Connector to provision new Grafana stacks using natural language. Your agent will handle the creation process for you so you don't have to navigate the cloud portal.

**How do I manage users in Grafana Cloud with this Connector?**
You can ask your agent to list all users for a specific organization. This makes it easy to audit who has access to your observability data.

**Can I rotate or delete API keys using the Grafana Cloud MCP?**
Yes, you can create new keys with specific roles or delete old ones. This is a great way to manage security and rotate credentials quickly.

**Does the Grafana Cloud MCP work for multiple organizations?**
Yes, it allows you to list all the organizations you belong to and fetch details for any of them, making it ideal for managing large-scale infrastructure.

**Is this Connector good for SREs and DevOps teams?**
It is specifically designed for those roles. It helps automate the repetitive parts of infrastructure management, like provisioning and auditing, which saves time and reduces manual errors.

**Can I see which users have access to my Grafana Cloud organization?**
Yes. Use the `list_org_users` tool with your organization slug. The agent will return a list of all members associated with that specific organization.

**Is it possible to provision a new Grafana stack using this server?**
Absolutely. The `create_instance` tool allows you to spin up a new instance by providing a name, organization slug, and an optional plan (like 'free' or 'pro').

**How do I revoke an API key that is no longer needed?**
You can use the `delete_api_key` mutation. You'll need to provide the organization slug and the specific `key_id` you wish to remove.