OhSnap uptime monitoring
Check if a website is down, add uptime monitors, read outage history and send test alerts.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"mcp": {
"url": "https://mcp.ohsnap.io/mcp"
}
}
}遠端端點
https://mcp.ohsnap.io/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢check_website(url)
One-off check of whether a website is up right now, from OhSnap's probe network. Works without an account. Use when the user asks "is my site down?", "is X up?", or wants a status code, response time, or the reason a site fails (DNS failure, SSL error, timeout, HTTP error, Cloudflare edge error). Results are cached for 60 seconds per site, and each user can run 10 checks per minute.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "Website URL or bare domain, e.g. \"example.com\" or \"https://example.com/shop\"."
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢whoami
Returns the OhSnap account this MCP key belongs to: email, plan (Free, Unlimited, Agency), the monitor cap, and the fastest allowed check interval. Call before add_monitor to explain plan limits up front.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_monitors
Lists every website this OhSnap account monitors, with its current status (up, down, warning, pending), last response time, and check interval. Use to answer "are my sites up?" and to find a website_id for other tools.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡add_monitor(url, name, check_frequency_seconds, alert_email)
Adds a website to OhSnap so it is checked around the clock and the user is alerted when it goes down or comes back. Free accounts can monitor 5 sites every 5 minutes; Unlimited allows any number every 30 seconds. Pass alert_email if the account has no alert channel yet, otherwise the monitor will run silently. SMS, WhatsApp, Slack and Telegram alerts are configured in the OhSnap dashboard.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "Website URL or bare domain to monitor."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Display name. Defaults to the hostname."
},
"check_frequency_seconds": {
"type": "integer",
"minimum": 30,
"maximum": 86400,
"description": "Seconds between checks. Raised to the plan minimum (300 on Free, 30 on Unlimited). Defaults to 300."
},
"alert_email": {
"type": "string",
"format": "email",
"maxLength": 254,
"description": "Email address for down/up alerts. Used only if the account has no email alert channel yet."
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_incidents(website_id, days, limit)
Returns recent outages for one monitored website: when each started and ended, how long it lasted, and the error. On the Unlimited plan each incident includes an AI diagnosis in plain language; on Free it is marked ai_locked.
輸入結構描述
{
"type": "object",
"properties": {
"website_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Monitor id from list_monitors or add_monitor."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 90,
"description": "How far back to look. Default 30, max 90."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Maximum incidents to return. Default 10."
}
},
"required": [
"website_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡send_test_alert(website_id)
Sends a clearly labelled test DOWN alert through every alert channel linked to a monitor (email, SMS, WhatsApp, Slack, Telegram), so the user can confirm alerts reach them. Limited to one test per monitor per minute.
輸入結構描述
{
"type": "object",
"properties": {
"website_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Monitor id from list_monitors or add_monitor."
}
},
"required": [
"website_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據