AWS Documentation MCP Server
MCP setupDevOps and cloud
FreeMCP setupDevOps and cloud
Let your agent search Grafana dashboards, query Prometheus and Loki and read alert rules through Grafana's own MCP server, in read-only mode.
npx workspacetemplates add grafana-mcp --tool claude-codeWrites 1 file to your project root
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana",
"--disable-write"
],
"env": {
"GRAFANA_URL": "${GRAFANA_URL}",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${GRAFANA_SERVICE_ACCOUNT_TOKEN}"
}
}
}
}npx workspacetemplates add grafana-mcp --tool codexWrites 1 file to ~/.codex/
[mcp_servers.grafana]
command = "uvx"
args = ["mcp-grafana","--disable-write"]
[mcp_servers.grafana.env]
GRAFANA_URL = "${GRAFANA_URL}"
GRAFANA_SERVICE_ACCOUNT_TOKEN = "${GRAFANA_SERVICE_ACCOUNT_TOKEN}"npx workspacetemplates add grafana-mcp --tool cursorWrites 1 file to .cursor/
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana",
"--disable-write"
],
"env": {
"GRAFANA_URL": "${env:GRAFANA_URL}",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${env:GRAFANA_SERVICE_ACCOUNT_TOKEN}"
}
}
}
}npx workspacetemplates add grafana-mcp --tool gemini-cliWrites 1 file to .gemini/
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": [
"mcp-grafana",
"--disable-write"
],
"env": {
"GRAFANA_URL": "$GRAFANA_URL",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "$GRAFANA_SERVICE_ACCOUNT_TOKEN"
}
}
}
}npx workspacetemplates add grafana-mcp --tool copilotWrites 1 file to .vscode/
{
"inputs": [
{
"type": "promptString",
"id": "grafana_url",
"description": "Base URL of your Grafana instance, such as https://myinstance.grafana.net",
"password": true
},
{
"type": "promptString",
"id": "grafana_service_account_token",
"description": "A Grafana service account token; give the account a Viewer role to match the read-only flag",
"password": true
}
],
"servers": {
"grafana": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-grafana",
"--disable-write"
],
"env": {
"GRAFANA_URL": "${input:grafana_url}",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "${input:grafana_service_account_token}"
}
}
}
}The Grafana MCP server connects an agent to a Grafana instance through a service account. It can find dashboards, run PromQL and LogQL queries against your datasources and list alert rules, so you can ask about a metric instead of hunting through panels.
This setup starts it with uvx and passes the --disable-write flag, which blocks every create, update and delete call. Remove the flag only if you want the agent to edit dashboards or alerts.
you › Which alert rules in the payments folder are firing, and what does the p95 latency query for the checkout service return for the last 30 minutes?
agent › Two rules are firing: PaymentsQueueDepth and CheckoutErrorBudget. The p95 latency query shows 410 ms now, up from 180 ms at the start of the window, with the jump at 14:12.MCP setupDevOps and cloud
FreeMCP setupDevOps and cloud
FreeMCP setupDevOps and cloud
FreeMCP setupDevOps and cloud
Free