Better Stack MCP server

OfficialBetter StackConfig last verified Jun 1, 2026

Better Stack's official MCP server: query logs, metrics, and traces, manage monitors and incidents, and drive on-call from one remote endpoint.

The Better Stack MCP server is Better Stack's official integration that connects an AI agent to its three products: Uptime (monitors, heartbeats, incidents, on-call, status pages), Telemetry (logs, metrics, traces, dashboards, charts, and alerts backed by ClickHouse), and Error Tracking (applications, releases, exceptions, and session replays). With it an agent can list and inspect monitors and their availability and response times, create and resolve incidents, acknowledge or escalate alerts and read incident timelines, build and run telemetry queries (including ClickHouse SQL behind dashboards), render charts, manage dashboards and chart alerts, and triage application errors end to end. Because the tool surface spans the whole stack, an agent can move from an alert to the underlying logs to a code-level fix without you switching tools.

It is delivered as a hosted remote server at https://mcp.betterstack.com. OAuth is the recommended authentication: clients that support it prompt the user to sign in through the browser with no token configuration. For clients without OAuth, you can pass a Better Stack API token as an Authorization: Bearer header. The endpoint exposes a large tool surface (65+ operations across the three product areas), and you can narrow what the agent sees with the X-MCP-Tools-Only and X-MCP-Tools-Except headers to enforce least privilege or keep the tool list focused.

Quick install

Copy-paste configs are provided for all 8 supported clients. Pick your client below.

Add to ~/.claude.json

~/.claude.json
json
{
  "mcpServers": {
    "betterstack": {
      "type": "http",
      "url": "https://mcp.betterstack.com"
    }
  }
}
Or via CLI
bash
claude mcp add --transport http betterstack https://mcp.betterstack.com

Heads up

  • First tool call opens a browser to authorize.

Available tools

ToolDescription
uptime_list_monitorsLists Uptime monitors, with filtering options.
uptime_get_monitor_detailsGets the configuration and status of a single monitor.
uptime_get_monitor_availabilityReturns availability/uptime statistics for a monitor.
uptime_get_monitor_response_timesReturns response-time data for a monitor.
uptime_list_heartbeatsLists heartbeat checks.
uptime_get_heartbeat_detailsGets the details of a single heartbeat.
uptime_get_heartbeat_availabilityReturns availability statistics for a heartbeat.
uptime_create_incidentCreates a new incident.
uptime_list_incidentsLists incidents, with filtering options.
uptime_get_incident_detailsGets the details of a single incident.
uptime_get_incident_timelineReturns the timeline of events for an incident.
uptime_get_incident_commentsLists the comments on an incident.
uptime_create_incident_commentAdds a comment to an incident.
uptime_acknowledge_incidentAcknowledges an incident.
uptime_escalate_incidentEscalates an incident.
uptime_resolve_incidentResolves an incident.
uptime_get_on_call_detailsGets current on-call details.
uptime_list_on_call_calendarsLists on-call calendars.
uptime_list_on_call_eventsLists on-call events.
uptime_get_on_call_event_detailsGets the details of a single on-call event.
uptime_get_on_call_rotation_detailsGets the details of an on-call rotation.
uptime_get_incident_escalation_optionsReturns the available escalation options for an incident.
uptime_list_escalation_policiesLists escalation policies.
uptime_get_escalation_policy_detailsGets the details of an escalation policy.
uptime_list_severitiesLists incident severities.
uptime_get_severity_detailsGets the details of a severity.
uptime_list_status_pagesLists status pages.
uptime_get_status_page_detailsGets the details of a status page.
uptime_get_status_page_resourcesLists the resources on a status page.
uptime_create_status_page_reportCreates a status page report (incident/maintenance).
uptime_create_status_page_report_updateAdds an update to a status page report.
uptime_list_status_page_reportsLists status page reports.
uptime_list_status_page_report_updatesLists the updates on a status page report.
uptime_get_status_page_report_update_detailsGets the details of a status page report update.
telemetry_execute_queryExecutes a telemetry query over logs, metrics, or traces.
telemetry_render_line_chartRenders a line chart from query results.
telemetry_get_query_instructionsReturns guidance for writing telemetry queries.
telemetry_get_metric_query_instructionsReturns guidance for writing metric queries.
telemetry_get_errors_query_instructionsReturns guidance for writing error queries.
telemetry_get_replays_query_instructionsReturns guidance for writing session-replay queries.
telemetry_list_sourcesLists telemetry sources.
telemetry_get_source_detailsGets the details of a telemetry source.
telemetry_create_sourceCreates a new telemetry source.
telemetry_get_source_fieldsLists the fields available on a source.
telemetry_list_dashboardsLists dashboards.
telemetry_get_dashboard_detailsGets the details of a dashboard.
telemetry_list_dashboard_templatesLists available dashboard templates.
telemetry_create_dashboardCreates a new dashboard.
telemetry_rename_dashboardRenames a dashboard.
telemetry_export_dashboardExports a dashboard definition.
telemetry_import_dashboardImports a dashboard definition.
telemetry_remove_dashboardRemoves a dashboard.
telemetry_get_chart_detailsGets the details of a chart.
telemetry_get_chart_building_instructionsReturns guidance for building charts.
telemetry_add_chart_to_dashboardAdds a chart to a dashboard.
telemetry_edit_chartEdits an existing chart.
telemetry_remove_chartRemoves a chart from a dashboard.
telemetry_add_dashboard_sectionAdds a section to a dashboard.
telemetry_remove_dashboard_sectionRemoves a section from a dashboard.
telemetry_move_chartsReorders or moves charts within a dashboard.
telemetry_list_chart_alertsLists chart alerts.
telemetry_get_chart_alert_detailsGets the details of a chart alert.
telemetry_create_chart_alertCreates a chart alert.
telemetry_edit_chart_alertEdits a chart alert.
telemetry_delete_chart_alertDeletes a chart alert.
telemetry_toggle_chart_alert_pausePauses or resumes a chart alert.
telemetry_build_explore_queryBuilds an explore query over logs and spans.
telemetry_get_metrics_and_cardinalityLists metrics and their cardinality.
telemetry_get_metric_detailsGets the details of a metric.
telemetry_build_metric_queryBuilds a metric query for a dashboard chart.
telemetry_list_data_regionsLists available data regions.
telemetry_list_clustersLists ClickHouse clusters.
telemetry_list_teamsLists teams.
telemetry_create_cloud_connectionCreates a cloud infrastructure connection.
error_list_applicationsLists error-tracking applications.
error_get_application_detailsGets the details of an application.
error_create_applicationCreates a new error-tracking application.
error_list_releasesLists releases for error tracking.
error_get_error_detailsGets the details of a tracked error/exception.
error_update_error_stateUpdates the state (e.g. resolved, ignored) of a tracked error.

Required configuration

  • BETTERSTACK_API_TOKENOptional

    Better Stack API token, passed as an Authorization: Bearer header for clients that do not support OAuth. Not needed when using OAuth.

What you can do with it

Run an incident from alert to fix

The agent reads the incident timeline, acknowledges or escalates as needed, queries the underlying logs and traces in Telemetry, and resolves the incident once the change ships.

Build and maintain dashboards

Create sources, write ClickHouse-backed telemetry queries, render charts, and assemble dashboards with alerts so a new service is observable without hand-clicking the UI.

FAQ

Is it free?
The MCP server is included with Better Stack; you need a Better Stack account, and usage of Uptime, Telemetry, and Error Tracking is governed by your plan. Better Stack markets itself as a lower-cost alternative to incumbents, but data ingestion and retention follow your subscription.
Does it support remote/OAuth?
Yes. It is a hosted remote server at https://mcp.betterstack.com. OAuth is the recommended method (browser sign-in, no token config), and clients without OAuth can pass a Better Stack API token as an Authorization: Bearer header.
Can I limit which tools the agent gets?
Yes. The endpoint exposes a large tool surface, and you can pass the X-MCP-Tools-Only header to allowlist specific tools or X-MCP-Tools-Except to blocklist them, keeping the tool list focused and enforcing least privilege.
← Browse all monitoring-observability servers