---
title: "Guides | Grafana documentation"
description: "Use the Grafana MCP server to query metrics and logs, manage dashboards and alerts, and more."
---

# Guides

Step-by-step use cases for the Grafana MCP server: query metrics and logs, search and inspect dashboards, manage alert rules, generate deeplinks, run panel queries, and use Grafana Incident and Sift.

- [Query metrics with Prometheus](/docs/grafana/latest/developer-resources/mcp/guides/query-metrics-with-prometheus/)  
  Use the MCP server to run PromQL queries against a Prometheus datasource from your AI assistant.
- [Query logs with Loki](/docs/grafana/latest/developer-resources/mcp/guides/query-logs-with-loki/)  
  Use the MCP server to run LogQL queries against a Loki datasource from your AI assistant.
- [Search and inspect dashboards](/docs/grafana/latest/developer-resources/mcp/guides/search-and-inspect-dashboards/)  
  Use the MCP server to search dashboards and get summaries or panel queries without loading full JSON.
- [Manage alert rules](/docs/grafana/latest/developer-resources/mcp/guides/manage-alert-rules/)  
  Use the MCP server to list, create, update, and delete Grafana alert rules and manage routing.
- [Generate deeplinks to Grafana](/docs/grafana/latest/developer-resources/mcp/guides/generate-deeplinks-to-grafana/)  
  Use the MCP server to create accurate dashboard, panel, and Explore links instead of guessing URLs.
- [Run a dashboard panel query](/docs/grafana/latest/developer-resources/mcp/guides/run-a-dashboard-panel-query/)  
  Use the MCP server to execute a dashboard panel's query with custom time range and variable overrides.
- [Use Grafana Incident and Sift](/docs/grafana/latest/developer-resources/mcp/guides/use-grafana-incident-and-sift/)  
  Use the MCP server to manage Grafana Incident incidents and run Sift investigations (error patterns, slow requests).
- [Query metrics with InfluxDB](/docs/grafana/latest/developer-resources/mcp/guides/query-metrics-with-influxdb/)  
  Use the MCP server to run Flux or InfluxQL queries against an InfluxDB datasource from your AI assistant.
