Infra MCP vs MCP Grafana

A side-by-side look at the Infra MCP and MCP Grafana MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Infra MCP logoInfra MCPMonitoring · Local subprocess (stdio)Read-only MCP server for on-prem Linux VMs and PostgreSQL over SSH. Check service health (systemd/journald), retrieve bounded logs, inspect DB state, and explore table schemas — without terminal access. Allowlist-gated, append-only audit log. pip install infra-mcp.53GoodAuth: otherMCP Grafana logoMCP GrafanaMonitoring · Local subprocess (stdio)Search dashboards, investigate incidents and query datasources in your Grafana instance68GreatAuth: api key required

Verdict: choose Infra MCP for monitoring work as a local process; choose MCP Grafana for monitoring as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Infra MCP logoChoose Infra MCP when

  • You need dedicated capabilities in the Monitoring domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: other.
  • You want tools like list_vms, get_infra_overview, get_service_status.
Explore Infra MCP

MCP Grafana logoChoose MCP Grafana when

  • You need dedicated capabilities in the Monitoring domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: API key required.
  • You have the keys it needs: GRAFANA_URL, GRAFANA_SERVICE_ACCOUNT_TOKEN.
  • You want tools like add_activity_to_incident, alerting_manage_routing, alerting_manage_rules.
Explore MCP Grafana

Feature & specification comparison

Rows where the two servers differ are marked.

SpecInfra MCP logoInfra MCPMCP Grafana logoMCP Grafana
CategoryMonitoringMonitoring
Quality signal53/100 · Good68/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthotherAPI key required
PricingFreeFree
Required env varsNone listedGRAFANA_URLGRAFANA_SERVICE_ACCOUNT_TOKEN
Verified ownerCommunity listingCommunity listing
GitHub stars13,580
Directory activity 3 views 0 installs 0 upvotes 6 views 0 installs 0 upvotes
Tools1081

Tools & capabilities

Infra MCP tools 10

  • list_vmsAll VMs with reachability and watched services
  • get_infra_overviewService states + DB health for one VM in a single call
  • get_service_statussystemd state, uptime, last 5 log lines
  • get_service_logsBounded journald logs, filtered by severity
  • get_log_fileLast N lines of an allowed log file, optional grep
  • get_db_statusConnection counts, waiting locks, long-running query count
  • query_dbBounded caller-supplied `SELECT
  • list_tablesTables in a database (schema + name), capped at 200
  • describe_tableColumns, types, primary key, foreign keys for one table
  • get_audit_logRecent entries from the local audit log

MCP Grafana tools 81

  • add_activity_to_incidentAdd a note (userNote activity) to an existing incident's timeline using its ID. The note body can include URLs which will be attached as context. Use this to add context to an incident.
  • alerting_manage_routingManage Grafana alerting routing configuration, including notification policies, contact points and time intervals. Notification policies define how alerts are grouped, routed, and which contact points receive them. Time intervals define active/mute periods for alert notifications. When to use: - Understanding how alerts are routed to contact points/receivers - Debugging why an alert went to a specific receiver - Checking grouping, timing, or mute interval settings When NOT to use: - Checking alert rule configuration or state (use alerting_manage_rules)
  • alerting_manage_rulesManage Grafana alert rules with full CRUD capabilities and filtering. When to use: - Understanding why an alert is or isn't firing - Auditing alert rule configuration (queries, conditions, labels, notification settings) - Finding alert rules by state, folder, group, or name - Creating, updating, or deleting alert rules - Comparing rule versions to see what changed When NOT to use: - Checking how alerts are routed to receivers (use alerting_manage_routing)
  • alerting_manage_silencesManage Grafana alerting silences. A silence temporarily suppresses notifications for alerts whose labels match a set of matchers, without changing the alert rules themselves. Operations: - 'list': list existing silences. Optionally filter by rule_uid (matches the __alert_rule_uid__ label) or by matchers. - 'get': retrieve a single silence by silence_id. - 'create': create a new silence. Requires matchers, starts_at, ends_at (RFC3339) and comment. - 'update': modify an existing silence by silence_id. Requires matchers, starts_at, ends_at and comment. The id is only kept when the posted matchers and starts_at match the stored ones, so pass back the starts_at returned by 'get'; otherwise Alertmanager expires the old silence and returns a new id. - 'delete': expire/remove a silence by silence_id. When to use: - Muting noisy or expected alerts during maintenance windows - Inspecting or cleaning up existing silences When NOT to use: - Changing alert rule configuration or state (use alerting_manage_rules) - Changing how alerts are routed to receivers (use alerting_manage_routing)
  • analyze_loki_labelsAudits a Loki label strategy and optionally diagnoses query performance. Returns per-label verdicts, missing base labels, normalisation issues, and a recommended set. Pass datasourceUid for live cardinality or labels for static scoring; both may be combined.
  • check_datasources_healthCheck datasource health. Filter by type or UIDs; omit both to check all.
  • create_annotationCreate a new annotation on a dashboard or panel. Set format to 'graphite' and provide 'what' for Graphite-format annotations.
  • create_datasourceCreate a datasource. If type is ambiguous, call search_plugin_information first; install the plugin if needed. IMPORTANT: always call this tool twice. First call: provide only the type — the tool returns a field schema. After receiving the schema, you MUST ask the user for every required field value explicitly; do not infer or use defaults without user confirmation. Second call: provide the type, the display name in the top-level name argument, schemaReviewed=true, and the fields map populated with values confirmed by the user. Never handle credentials — remind the user to rotate any detected. Returns UID, health check, and a config page link.
  • create_folderCreate a Grafana folder. Provide a title and optional UID. Returns the created folder.
  • create_incidentCreate a new Grafana incident. Requires title, severity, and room prefix. Allows setting status, labels and custom fields. This tool should be used judiciously and sparingly, and only after confirmation from the user, as it may notify or alarm lots of people.
  • create_snapshotCreate a Grafana snapshot from a full dashboard payload. Supports optional expiration and external snapshot fields.
  • delete_annotationPermanently delete an annotation by ID. The annotation cannot be recovered afterwards.
  • +69 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Infra MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "esp4ce-infra-mcp": {
      "command": "uvx",
      "args": [
        "infra-mcp"
      ]
    }
  }
}

MCP Grafana

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "grafana-mcp-grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ],
      "env": {
        "GRAFANA_URL": "YOUR_GRAFANA_URL_HERE",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "YOUR_GRAFANA_SERVICE_ACCOUNT_TOKEN_HERE"
      }
    }
  }
}

Frequently asked questions

Infra MCP is categorized under Monitoring and uses a local stdio subprocess. MCP Grafana belongs to Monitoring and uses a local stdio subprocess. Pick Infra MCP for monitoring work and MCP Grafana for monitoring.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Infra MCP is listed as free. Auth: other. MCP Grafana is listed as free. Auth: api key required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add esp4ce-infra-mcp and grafana-mcp-grafana as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Infra MCP has a quality signal of 53/100 (Good) with 3 views, 0 installs and 1 GitHub stars. MCP Grafana has 68/100 (Great) with 6 views, 0 installs and 3,580 GitHub stars.