get_datasource
Datasources
How to use it
get_datasource is exposed by the MCP Grafana MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_datasource tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Grafana
$
uvx mcp-grafanaOther tools in MCP Grafana (39)
add_activity_to_incident
Incident
analyze_loki_labels
Loki
create_incident
Incident
describe_clickhouse_table
ClickHouse
get_dashboard_by_uid
Dashboard
get_dashboard_panel_queries
Dashboard
get_dashboard_property
Dashboard
get_dashboard_summary
Dashboard
get_incident
Incident
get_query_examples
Examples
get_resource_description
Admin
get_resource_permissions
Admin
get_role_assignments
Admin
get_role_details
Admin
list_all_roles
Admin
list_clickhouse_tables
ClickHouse
list_datasources
Datasources
list_incidents
Incident
list_loki_label_names
Loki
list_loki_label_values
Loki
list_prometheus_label_names
Prometheus
list_prometheus_label_values
Prometheus
list_prometheus_metric_metadata
Prometheus
list_prometheus_metric_names
Prometheus
list_team_roles
Admin
list_teams
Admin
list_user_roles
Admin
list_users_by_org
Admin
query_clickhouse
ClickHouse
query_influxdb
InfluxDB
query_loki_logs
Loki
query_loki_patterns
Loki
query_loki_stats
Loki
query_prometheus
Prometheus
query_prometheus_histogram
Prometheus
run_panel_query
RunPanelQuery
search_dashboards
Search
suggest_loki_alloy_label_config
Config
update_dashboard
Dashboard