Usage of /usr/bin/mcp-grafana:
-address string
The host and port to start the sse server on (default "localhost:8000")
-base-path string
Base path for the sse server
-debug
Enable debug mode for the Grafana transport
-disable-admin
Disable admin tools
-disable-alerting
Disable alerting tools
-disable-annotations
Disable annotation tools
-disable-api
Disable API tools
-disable-asserts
Disable asserts tools
-disable-athena
Disable Athena tools
-disable-clickhouse
Disable ClickHouse tools
-disable-cloudwatch
Disable CloudWatch tools
-disable-config
Disable config-generation tools
-disable-dashboard
Disable dashboard tools
-disable-datasource
Disable datasource tools
-disable-elasticsearch
Disable elasticsearch and opensearch tools
-disable-examples
Disable query examples tools
-disable-folder
Disable folder tools
-disable-graphite
Disable Graphite tools
-disable-incident
Disable incident tools
-disable-influxdb
Disable InfluxDB tools
-disable-loki
Disable loki tools
-disable-navigation
Disable navigation tools
-disable-oncall
Disable oncall tools
-disable-plugin
Disable plugin tools
-disable-prometheus
Disable prometheus tools
-disable-provisioning
Disable provisioning tools
-disable-proxied
Disable proxied tools (tools from external MCP servers)
-disable-pyroscope
Disable pyroscope tools
-disable-rendering
Disable rendering tools (panel/dashboard image export)
-disable-runpanelquery
Disable run panel query tools
-disable-search
Disable search tools
-disable-sift
Disable sift tools
-disable-snowflake
Disable Snowflake tools
-disable-write
Disable write tools (create/update operations)
-enabled-tools string
A comma separated list of tools enabled for this server. Can be overwritten entirely or by disabling specific components, e.g. --disable-search. (default "search,datasource,incident,prometheus,loki,alerting,dashboard,folder,oncall,asserts,sift,pyroscope,navigation,proxied,annotations,rendering,plugin,api,config,provisioning")
-endpoint-path string
Endpoint path for the streamable-http server (default "/mcp")
-log-level string
Log level (debug, info, warn, error) (default "info")
-max-loki-log-limit int
Maximum number of log lines returned per query_loki_logs call (default 100)
-metrics
Enable Prometheus metrics endpoint
-metrics-address string
Separate address for metrics server (e.g., :9090). If empty, metrics are served on the main server at /metrics
-server.tls-cert-file string
Path to TLS certificate file for server HTTPS (required for TLS)
-server.tls-key-file string
Path to TLS private key file for server HTTPS (required for TLS)
-session-idle-timeout-minutes int
Session idle timeout in minutes. Sessions with no activity for this duration are automatically reaped. Set to 0 to disable session reaping (default 30)
-slow-request-log-level string
Log level for slow-request events. One of "info" or "warn". Default "warn". (default "warn")
-slow-request-threshold duration
Log an event when any MCP request (tool invocation, list, resource read, etc.) takes longer than this threshold. Accepts Go duration strings, e.g. 500ms, 5s. Default 0 disables slow-request logging.
-standalone
should this run standalone
-t string
Transport type (stdio, sse or streamable-http) (default "stdio")
-tls-ca-file string
Path to TLS CA certificate file for server verification
-tls-cert-file string
Path to TLS certificate file for client authentication
-tls-key-file string
Path to TLS private key file for client authentication
-tls-skip-verify
Skip TLS certificate verification (insecure)
-transport string
Transport type (stdio, sse or streamable-http) (default "stdio")
-version
Print the version and exit
Options (53)
| Option | Description | Source |
|---|
-address string | The host and port to start the sse server on (default "localhost:8000") | help |
-base-path string | Base path for the sse server | help |
-debug | Enable debug mode for the Grafana transport | help |
-disable-admin | Disable admin tools | help |
-disable-alerting | Disable alerting tools | help |
-disable-annotations | Disable annotation tools | help |
-disable-api | Disable API tools | help |
-disable-asserts | Disable asserts tools | help |
-disable-athena | Disable Athena tools | help |
-disable-clickhouse | Disable ClickHouse tools | help |
-disable-cloudwatch | Disable CloudWatch tools | help |
-disable-config | Disable config-generation tools | help |
-disable-dashboard | Disable dashboard tools | help |
-disable-datasource | Disable datasource tools | help |
-disable-elasticsearch | Disable elasticsearch and opensearch tools | help |
-disable-examples | Disable query examples tools | help |
-disable-folder | Disable folder tools | help |
-disable-graphite | Disable Graphite tools | help |
-disable-incident | Disable incident tools | help |
-disable-influxdb | Disable InfluxDB tools | help |
-disable-loki | Disable loki tools | help |
-disable-navigation | Disable navigation tools | help |
-disable-oncall | Disable oncall tools | help |
-disable-plugin | Disable plugin tools | help |
-disable-prometheus | Disable prometheus tools | help |
-disable-provisioning | Disable provisioning tools | help |
-disable-proxied | Disable proxied tools (tools from external MCP servers) | help |
-disable-pyroscope | Disable pyroscope tools | help |
-disable-rendering | Disable rendering tools (panel/dashboard image export) | help |
-disable-runpanelquery | Disable run panel query tools | help |
-disable-search | Disable search tools | help |
-disable-sift | Disable sift tools | help |
-disable-snowflake | Disable Snowflake tools | help |
-disable-write | Disable write tools (create/update operations) | help |
-enabled-tools string | A comma separated list of tools enabled for this server. | help |
-endpoint-path string | Endpoint path for the streamable-http server (default "/mcp") | help |
-log-level string | Log level (debug, info, warn, error) (default "info") | help |
-max-loki-log-limit int | Maximum number of log lines returned per query_loki_logs call (default 100) | help |
-metrics | Enable Prometheus metrics endpoint | help |
-metrics-address string | Separate address for metrics server (e.g., :9090). | help |
-server.tls-cert-file string | Path to TLS certificate file for server HTTPS (required for TLS) | help |
-server.tls-key-file string | Path to TLS private key file for server HTTPS (required for TLS) | help |
-session-idle-timeout-minutes int | Session idle timeout in minutes. | help |
-slow-request-log-level string | Log level for slow-request events. | help |
-slow-request-threshold duration | Log an event when any MCP request (tool invocation, list, resource read, etc.) takes longer than this threshold. | help |
-standalone | should this run standalone | help |
-t string | Transport type (stdio, sse or streamable-http) (default "stdio") | help |
-tls-ca-file string | Path to TLS CA certificate file for server verification | help |
-tls-cert-file string | Path to TLS certificate file for client authentication | help |
-tls-key-file string | Path to TLS private key file for client authentication | help |
-tls-skip-verify | Skip TLS certificate verification (insecure) | help |
-transport string | Transport type (stdio, sse or streamable-http) (default "stdio") | help |
-version | Print the version and exit | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.