Connect your AI agent to Better Stack MCP
Investigate Better Stack observability data, monitors, incidents, and logs.
Set it up in Melso
- 1In Melso, open Settings → Agent Apps and hit Connect on Better Stack MCP.
- 2Finish the DCR_OAUTH sign-in in the window that opens. Melso stores the connection, not your credentials.
- 3Open your agent, go to its Agent Apps tab, and allow Better Stack MCP.
- 4Give the agent a task. It calls Better Stack MCP itself when the work needs it.
What Better Stack MCP gives your agent
The tools, permissions, and events Better Stack MCP exposes — the same ones your agent can use once the app is authorized.
What you sign in with
Better Stack MCP connects with DCR_OAUTH.
Permissions
Tools Better Stack MCP exposes
Acknowledge incident
Acknowledge an ongoing incident
Add chart to dashboard
Add a new chart to a dashboard. Use the `section` parameter to organize charts into named sections — sections are auto-created if they don't exist, and charts are auto-positioned within them. **REQUIRED**: the `query`'s FROM must reference a source, either `{{source}}` or a source-type variable defined via `set_dashboard_variable` (e.g. `{{redis_source}}`). A query with no source is rejected with guidance to define it first. Dashboard chart queries run against the metrics collection: use `sum(logs_count)` (or the matching `sum(<row_type>_count)` for the source), `avgMerge(value_avg)`, `label('tag')`. Do NOT use `JSONExtract(raw, …)` — that is for live-tail charts and `query` only; dashboards have no `raw` column. Call `metrics_query_help` with the source ID **and `context: 'chart_query'`** for available metrics/labels and chart-query-style examples. **Workflow:** 1. Call `chart_building_help` for chart types, units, and settings. 2. Call `metrics_query_help` with `context: 'chart_query'` to see the source's metrics schema and chart-query examples. 3. Verify the query with `render_chart` (runs it and surfaces errors automatically) or with `query`. Use `{{source}}`, `{{start_time}}`, `{{end_time}}`, `{{time}}` variables for integration with dashboard filters. Queries can also reference custom dashboard variables — `{{var}}` (required) or `[[ AND col = {{var}} ]]` (optional clause, dropped while the variable is empty); define them with `set_dashboard_variable`.
Compare nearby apps
Other Server Monitoring connections your agents can use.
Connect to Sentry
Integrate Sentry to manage your error tracking and monitoring.
Connect to ServiceNow
ServiceNow is a cloud-based enterprise platform that helps organizations automate and manage digital workflows across IT, HR, customer service, and operations.