Better Stack
Better Stack uptime monitoring and incident management: monitors and heartbeats with availability and response times, incidents with acknowledge, escalate and resolve, on-call calendars, escalation policies, status pages and status reports, and the configured integrations.
7 天免费 · 无需信用卡 · EU 托管
问 Better 任何事
通过 AnythingMCP 对 Better Stack 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 BetterClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Better Stack。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 Better Stack
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Better Stack
This connector works with the Better Stack Incidents API (formerly Better Uptime, https://incidents.betterstack.com/api): uptime monitors and heartbeats, incidents and their timeline, on-call calendars, escalation policies and severities, status pages with status reports, and the configured integrations. Telemetry (logs, metrics, dashboards) is not part of this connector.
Setup (2 minutes)
- Open https://betterstack.com/settings/api-tokens/0, pick your team and copy (or create) a token in Incidents API tokens. This team-scoped token is the simplest choice.
- A global API token (https://betterstack.com/settings/global-api-tokens) also works and reaches every team; then pass
team_nameto filter lists, and it is required when creating monitors, heartbeats or incidents. - Paste the token into
BETTER_STACK_API_TOKENand runbetter_stack_list_monitorsto check it. Writes need a token with write access.
Workflow
- Is something down?
better_stack_list_monitors(statusup,down,paused,validating,maintenance), thenbetter_stack_get_monitor. Uptime numbers:better_stack_get_monitor_availabilityfor a date range,better_stack_get_monitor_response_timesfor the last 24 hours. - Manage monitors:
better_stack_create_monitor,better_stack_update_monitor,better_stack_pause_monitorandbetter_stack_resume_monitoraround planned work. Groups:better_stack_list_monitor_groups,better_stack_get_monitor_group,better_stack_list_monitor_group_monitors. - Cron jobs:
better_stack_list_heartbeats,better_stack_get_heartbeat,better_stack_create_heartbeat(returns the ping URL the job must call),better_stack_update_heartbeat,better_stack_get_heartbeat_availability,better_stack_list_heartbeat_groups. - Incident response:
better_stack_list_incidentswithresolved: falsefor open incidents,better_stack_get_incident,better_stack_get_incident_timeline, thenbetter_stack_acknowledge_incident,better_stack_escalate_incident,better_stack_resolve_incidentorbetter_stack_reopen_incident. Notes:better_stack_list_incident_comments,better_stack_add_incident_comment. Raise one by hand withbetter_stack_create_incident(alerts people). - Who is on call:
better_stack_list_on_call_calendars,better_stack_get_on_call_calendar(usedefaultfor the team's default calendar,datefor another moment),better_stack_list_on_call_eventsfor the shifts in a window. Escalation:better_stack_list_escalation_policies,better_stack_get_escalation_policy,better_stack_list_severities. - Status pages:
better_stack_list_status_pages,better_stack_get_status_page,better_stack_list_status_page_resources(resource ids foraffected_resources),better_stack_list_status_reports,better_stack_get_status_report,better_stack_list_status_updates. Communicate:better_stack_create_status_report, thenbetter_stack_add_status_updateas things change, andbetter_stack_update_status_reportto change the title or reschedule. - Configuration:
better_stack_list_incoming_webhooks,better_stack_list_outgoing_webhooks,better_stack_list_slack_integrations,better_stack_list_metadata.
Before writing: creating an incident, escalating it and publishing a status report alert real people or public subscribers. Confirm with the user first; set notify_subscribers: false for a quiet status report.
Reading the answers: JSON:API style: data (one object or a list) with id, type, attributes and relationships; related users and status updates come in included. Ids are numeric strings. Times are ISO 8601 in UTC; date filters (from, to) take YYYY-MM-DD. Availability is a percentage (99.98), downtime and incident lengths are seconds, response times are seconds. Incident status is Started, Acknowledged or Resolved. Monitor passwords, Playwright environment variables and policy incident tokens are left out of the answers.
Paging: lists return pagination.next (a URL, null on the last page); call again with page set to the page number in that URL. per_page is 50 by default, up to 250; incidents default to 10 and allow 50.
Errors: 401 means a wrong or revoked token (or a Telemetry token instead of an Incidents one), 403 a token without write access, 404 an unknown id or an id of another team, 422 a validation error whose errors names the field, 429 the rate limit.