Grafana Cloud MCP tools
The Grafana Cloud MCP server exposes the same tool categories as the open source Grafana MCP server, plus Assistant-native tools, for example, infrastructure memory. Tools marked Query require query access, and tools marked Write require write access.
Ask your agent to discover the tools available on your connection. The tool list depends on your granted access level, tool areas, and enabled features. If a tool is missing, it may be outside your granted areas. To change those areas, refer to Change a connection’s tool areas.
To use interactive charts and alert apps, your client must also support MCP Apps. Tools for a specific Grafana app require that app to be installed and configured, and your account needs permission to use it.
Tool areas
Note
Grafana Cloud MCP tool areas is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.
Tool areas let you choose which kinds of tools an external AI agent sees on a Grafana Cloud MCP connection. For example, an analyst’s connection can see only business data tools, while an on-call engineer’s connection sees observability, dashboards, alerting, and Assistant tools. A smaller tool list keeps your agent focused on the work you connected it for.
Tool areas work alongside the access level you choose for the connection. A tool is available only when the connection has one of the tool’s areas and the access level the tool needs. Your Grafana permissions still apply to every operation. To choose areas when you connect, refer to Choose tool areas.
Each area adds a group of tools to the connection. Tools that several areas need, for example, data source discovery, come with each of those areas. Every area also includes documentation search, links into Grafana, and your user details.
Three areas reach beyond their own tools. Grafana Assistant tools hand your request to Assistant, which uses its own full toolset rather than the connection’s areas. Grafana Pages tools build pages whose queries can read any data source you can, and show the results in a page snapshot. Raw API & CLI can call any Grafana API and run any gcx command, which bypasses the limits of the other areas. Access levels still apply to all three. If you keep any of these areas but clear others, the consent page shows a warning.
You can still add Raw API & CLI to a narrow selection when you need it, for example, to reach products without dedicated tools, such as SLO and Fleet Management.
Available tools
The following sections list the tools by category.
Search and navigation
Use these tools to find dashboards, folders, and generate links to Grafana resources.
Dashboards and folders
Use these tools to view and manage dashboards and folders.
Notebooks
Your agent can list, search, and read Grafana notebooks, and export a notebook as a PDF with render_notebook_pdf. With write access, it can also create, update, and delete notebooks.
Notebook tools require the notebooks preview to be enabled on your stack. Exporting a PDF also requires the Grafana Image Renderer.
Build Pages
Your agent can build Pages, interactive pages on your Grafana data such as reports, service overviews, and presentations, and write them itself instead of asking Assistant. A page is a small React and TypeScript project that your stack builds and hosts, and its queries run with the permissions of each person who opens it. Pages tools require the Grafana Pages tool area and Pages enabled on your stack.
Use list_pages to find published pages and get_page to read a page’s details, queries, and source. With write access, create_page_draft starts a private draft from the Pages template, and edit_page copies a published page into a draft so your agent can change it. Each draft opens in its own Assistant conversation.
Your agent reads a draft’s files with read_page_draft_files and writes them with write_page_draft_files, which builds the page on your stack and returns any build errors. A build that fails keeps the draft’s previous version. Use snapshot_page_draft to see an image of the draft rendered with your data.
A draft is private until you publish it. Ask your agent to publish with publish_page_draft when the page is ready. A new page goes into a folder, whose permissions decide who can open it, or stays unlisted. A draft of a published page becomes that page’s next version, keeps its folder and sharing, and leaves earlier versions in its history.
Reading pages and drafts and taking snapshots require read access. Starting, changing, and publishing pages require write access. These tools don’t run Assistant, so they don’t use Assistant tokens.
Data sources
Use these tools to list and inspect configured data sources.
Prometheus
Use these tools to discover metrics and execute PromQL queries.
Loki
Use these tools to query logs and discover label metadata.
Tempo
If you have Tempo data sources in your Grafana Cloud stack, the Grafana Cloud MCP server proxies any tools that the Tempo data source offers.
You can also use native Tempo tools to search and compare traces, query trace-derived metrics, and explore trace attributes.
Pyroscope
Use these tools to query profiling data.
Application and infrastructure observability
Use these tools to extend dashboard and data source queries with app-specific context.
Application Observability features that use graph-backed inventory and topology also require Knowledge Graph. Native operation queries don’t require it.
SQL data sources
Use these tools to explore and query SQL data sources: ClickHouse, Snowflake, Amazon Athena, MySQL, PostgreSQL, Microsoft SQL Server, and Google BigQuery.
Amazon CloudWatch
Use these tools to query Amazon CloudWatch metrics and logs.
AWS X-Ray
Use these tools to search and read AWS X-Ray traces.
Azure Monitor
Use these tools to query Azure Monitor data.
Elasticsearch
Use this tool to search Elasticsearch data sources.
InfluxDB
Use this tool to query InfluxDB data sources.
Alerting
Use these tools to view and manage alert rules, silences, and routing configuration.
Annotations
Use these tools to view and create annotations on dashboards.
Incidents
Use these tools to view and manage incidents.
OnCall
Use these tools to view on-call schedules, shifts, teams, and alert groups.
Assistant and context search
Use these tools to search indexed context and work with Grafana Assistant.
assistant_search replaces the older describe_infrastructure tool on the hosted server. search_context, search_sql_tables, and read_grafanafs_file don’t run SQL. search_context requires Analyst mode to be available on your stack. ask_assistant requires write access because Assistant can perform actions that change resources.
Use Assistant investigations
Use these tools to list, create, and inspect Grafana Assistant Investigations.
Read access to investigations is subject to your investigation permissions.
Other tools
Use these tools for additional Grafana tasks, including assertion summaries, panel rendering, and query examples.
Attach data sources and incidents as resources
The server exposes each data source you can access as an MCP resource at grafana://datasources/<UID>, and each active IRM incident at grafana://irm/incidents/<ID>, so you can tell your agent what to work on instead of having it search.
In clients that offer a resource picker, for example, Claude Code, type @ and choose a data source or incident to attach its details to your prompt. Each data source entry shows the data source name and type, and marks your default data source. Each incident entry shows the incident title and severity. Other clients might instead let your agent list and read resources itself.
A data source resource contains the same details that get_datasource returns, including the type, URL, and settings. An incident resource contains the same details that get_incident returns, including the status, severity, labels, and custom fields. The picker lists active incidents, excluding drills, that started in the last 30 days, but your agent can read any incident by its URI, including resolved ones.
Resources follow the same access as the matching tool: if your connection can’t use get_datasource or get_incident, it doesn’t list or read that kind of resource.
Use interactive charts and alert apps
In clients that support MCP Apps, ask your agent to use render_grafana_app to show a query result in an interactive Grafana App. It draws Prometheus queries as time series, heatmaps, bars, stats, or tables, shows Tempo traces, and charts queries on other data sources with Grafana visualizations.
render_grafana_app requires query or write access, because it can run any data source query. With read access, your agent can still run query_prometheus, but the results appear only as text.
Ask your agent to use render_alert_status to inspect a Grafana-managed alert rule’s status, instances, and history. With write access and the required Grafana permissions, you can silence the rule from the app, and remove its silence with Unsilence.
Use render_alert_creation to open a Prometheus alert draft. Review the expression, threshold, folder, and notification settings before you create the rule. Opening the draft doesn’t save an alert. Simulating or creating the rule requires write access and the corresponding Grafana permissions.
Run hosted gcx commands
When no dedicated tool covers your task, use run_gcx_command to run the Grafana Cloud CLI against your connected stack. You don’t need to install gcx or log in separately. Hosted commands use your connection’s permissions.
This tool was previously named exec_gcx. Calls to the old name still work, but if your client allows or blocks tools by name, update those rules to run_gcx_command.
Ask your agent to discover commands before running them. For example, pass these arguments to run_gcx_command to list command areas:
{
"args": ["help-tree", "--depth", "1", "-o", "text"]
}Pass arguments without the gcx program name. Hosted gcx covers additional workflows, for example, SLO, IRM, Fleet Management, and Knowledge Graph. Prefer a dedicated MCP tool when one covers your task.
Hosted gcx runs in a sandbox. It can’t read your local files or run local setup commands. Commands that require separate Grafana Cloud credentials, for example, k6 and Synthetic Monitoring, aren’t supported through run_gcx_command. Data source queries through gcx require query or write access, and resource changes require write access. If run_gcx_command isn’t listed, it isn’t available for your connection.
Like the gcx CLI, hosted gcx sends Grafana Labs usage statistics for each command, for example, the command path and flag names, never flag values or arguments. All hosted commands report the same device ID, so the statistics don’t carry an identifier for your stack.
Send feedback about Grafana Cloud MCP
Your agent can tell Grafana Labs when a tool is missing, broken, or confusing by calling send_feedback. Every connection can use it, whatever its access and tool areas.
The agent describes what it was trying to do and what went wrong, picks a kind and an impact, and can name the tool the feedback is about. Feedback is stored with your stack and user account, so ask your agent to leave out credentials, personal data, and query results.


