> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Connecting AI Agents to Grafana Cloud via MCP Server
- URL: https://www.stirup.si/connecting-ai-agents-to-grafana-cloud-via-mcp-server-bca347e3/
- Published: 2026-11-12T20:14:54.000Z
- Updated: 2026-11-12T20:14:54.000Z
- Description: Grafana Cloud's MCP server enables integration of AI agents like Claude and Cursor with observability data, allowing enhanced monitoring and analysis through direct terminal access via gcx.
- Author: Satish Das
- Tags: Data, Guide, Stirup Research

## Connecting AI Agents to Grafana Cloud

Connecting AI agents to Grafana Cloud involves using the Grafana Cloud MCP server to integrate observability data with compatible tools. According to [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si), users can bring Grafana Cloud data into AI agents such as Claude, ChatGPT, and Codex. Similarly, [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si) notes that open source agents like Hermes can be connected via the Grafana Cloud MCP server and gcx. [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si) further explains that the MCP server enables the transfer of observability data into AI tools, allowing for enhanced monitoring and analysis. These methods provide flexibility for users to choose between proprietary and open source agents, depending on their needs. The integration relies on the MCP server as a central component, ensuring compatibility across various AI platforms. No specific performance metrics or testing results are provided in the evidence, so claims about effectiveness should be treated as general guidance.

## Using gcx for Direct Interaction with Grafana Cloud

Using `gcx` for Direct Interaction with Grafana Cloud enables developers and AI agents like Cursor to access and manage observability data directly from the terminal. `gcx` is the Grafana Cloud command-line tool, providing a way for developers and coding agents to interact with Grafana Cloud directly from a terminal, as described in the documentation. Available commands include `appo11y services get`, `dbo11y instances list`, and `frontend apps list`, among others. In our example, `gcx` gives Cursor a way to look beyond the original alert and query additional observability data to guide its investigation. This integration allows for more efficient troubleshooting and analysis by leveraging the power of AI agents with direct access to Grafana Cloud's observability tools.

## Investigating Alerts Across Devices and Tools

Investigating alerts across devices and tools becomes seamless with the integration of Grafana Cloud and AI agents like Claude and Cursor. For instance, [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si) describes a scenario where an alert from your phone can be investigated using Claude and the Grafana Cloud MCP server, allowing you to quickly assess the situation without being tied to a single device. [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si) continues this process by showing how you can transition to Cursor, where the Grafana Cloud context and gcx are available, enabling deeper analysis. [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si) emphasizes that this workflow lets users continue their investigation in their preferred environment, with relevant observability context carried over from Grafana Cloud. This approach ensures that users can maintain productivity and responsiveness, regardless of where they are or which tools they are using.

## Sources and reporting notes

- [Grafana](https://grafana.com/blog/any-agent-anywhere-how-to-use-grafana-cloud-with-claude-cursor-and-any-other-ai-agent/?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.