watchgoose-mcp
Watchgoose MCP
Watchgoose MCP 将支持 MCP 的 AI 客户端连接到 Watchgoose Management API。它可以让你查看 cron 与重复任务的监控情况,并且只有在你显式启用写入时,才可对检查(check)进行更改。
要求
Node.js 20 或更高版本
来自项目设置的项目级 Watchgoose API 密钥
当你只需要检查状态和状态历史时,请使用 hcr_ 只读密钥。当你还需要 ping、集成或对检查进行更改时,请使用 hcw_ 读写密钥。
Related MCP server: uptimepage
Claude Desktop
将以下条目添加到 claude_desktop_config.json,然后重启 Claude Desktop:
{
"mcpServers": {
"watchgoose": {
"command": "npx",
"args": ["-y", "watchgoose-mcp"],
"env": {
"WATCHGOOSE_API_KEY": "hcr_your_project_key"
}
}
}
}Claude Code
claude mcp add --env WATCHGOOSE_API_KEY=hcr_your_project_key \
--transport stdio --scope user watchgoose -- npx -y watchgoose-mcp运行 claude mcp get watchgoose 以检查连接。
Cursor
在你的项目中创建 .cursor/mcp.json,或将相同的条目添加到你的用户 MCP 配置中:
{
"mcpServers": {
"watchgoose": {
"command": "npx",
"args": ["-y", "watchgoose-mcp"],
"env": {
"WATCHGOOSE_API_KEY": "hcr_your_project_key"
}
}
}
}VS Code
创建 .vscode/mcp.json:
{
"servers": {
"watchgoose": {
"type": "stdio",
"command": "npx",
"args": ["-y", "watchgoose-mcp"],
"env": {
"WATCHGOOSE_API_KEY": "hcr_your_project_key"
}
}
}
}运行 MCP: List Servers,然后启动 watchgoose。
环境变量
变量 | 是否必需 | 默认值 | 说明 |
| 是 | - | 项目级的 |
| 否 |
| Management API 基础 URL。除回环(loopback)开发主机外,必须使用 HTTPS。密钥会发送到此主机,因此请只使用你信任的 URL。 |
| 否 |
| 当密钥为读写权限时,设置为 |
| 仅旧版密钥需要 | - | 对于不带前缀的 32 字符密钥,必须设置为 |
服务器会在本地对密钥前缀进行分类,绝不会探测 API 来推断访问权限。设置 WATCHGOOSE_ENABLE_WRITES=true 无法为只读密钥赋予额外的访问权限。
工具
检查使用稳定的 40 字符 unique_key 值来标识。UUID、ping URL 和集成 UUID 仅在服务器内部使用,不会显示给 AI 客户端。
工具 | 所需访问权限 | Management API 映射 |
| 只读 |
|
| 只读 |
|
| 只读 |
|
| 读写 | 解析 |
| 读写 |
|
| 读写且已启用写入 |
|
| 读写且已启用写入 | 解析 |
| 读写且已启用写入 | 解析 |
| 读写且已启用写入 | 解析 |
| 读写且已启用写入 | 解析 |
集成分配使用确切的集成名称。名称必须非空,并且在项目内唯一。
列表结果的上限为 100 个检查、100 条 ping、200 条 flip 记录和 100 个集成。每个序列化后的工具结果同样以 24,000 字符为上限。当有条目被省略时,结果中会包含相应的元数据。
安全性
即使使用
hcw_密钥,写入默认也是禁用的。API 密钥仅通过
X-Api-Key请求头发送,绝不会被记录或返回。API 重定向会被拒绝,因此凭据不会被转发到其他主机。
检查的 UUID、ping 与更新 URL、集成 UUID,以及未知的未来 API 字段,都会从输出中移除。
每条 ping 仅保留
type、date、n、scheme、method和duration。源 IP 地址、用户代理、运行 ID 和请求体 URL 都会被移除。永远不会请求 ping 的请求体。
服务器不包含任何遥测功能。
请保护包含 API 密钥的客户端配置文件。建议使用专用项目,并选择能提供所需工具的最低权限密钥。当密钥不再使用时,请从 Watchgoose 项目设置中吊销该密钥。
开发
npm install
npm run format:check
npm run lint
npm run typecheck
npm test
npm run publish:dry-run生产环境集成测试为可选启用(opt-in),需要专用的测试项目密钥。它们绝不会在 CI 中运行。
许可证
MIT
Available Tools
3 toolsget_checkGet a Watchgoose checkARead-onlyIdempotentInspect
Get one check by its stable unique_key, including its current state and schedule. Cron and OnCalendar checks use schedule plus grace; simple checks use timeout plus grace.
| Name | Required | Description | Default |
|---|---|---|---|
| unique_key | Yes | 40-character stable check identifier from list_checks. |
Output Schema
| Name | Required | Description |
|---|---|---|
| meta | No | |
| check | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds useful behavioral detail beyond annotations: it returns current state and schedule, and explains that Cron/OnCalendar checks use schedule plus grace while simple checks use timeout plus grace.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no redundancy. The primary purpose and identifier are front-loaded, and the second sentence adds meaningful behavioral nuance without unnecessary detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter read tool with strong annotations and an output schema, the description sufficiently explains what the tool does, what it returns, and the relevant scheduling nuance. Nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the schema already documents unique_key as a 40-character stable identifier from list_checks. The description repeats 'stable unique_key' but adds no new parameter semantics beyond what the schema provides, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Get'), resource ('one check'), identifier ('stable unique_key'), and the content returned ('current state and schedule'). It clearly distinguishes from siblings: list_checks lists checks, while this retrieves a single one.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context: use this tool when you need a single check by its unique_key, not a list. It does not explicitly exclude alternatives, but the 'one check by its stable unique_key' phrasing implies the appropriate use case, and the schema parameter notes the key comes from list_checks.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_checksList Watchgoose checksARead-onlyIdempotentInspect
List checks in this Watchgoose project, optionally filtered by slug or tags. A successful ping arms a new check; Watchgoose then expects the next success within its timeout or schedule plus grace period.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Exact check slug to match, using lowercase letters, numbers, hyphens, or underscores. | |
| tags | No | Tags that every returned check must have, for example ["production", "backup"]. | |
| limit | No | Maximum number of checks to return, from 1 to 100. |
Output Schema
| Name | Required | Description |
|---|---|---|
| meta | Yes | |
| checks | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful domain context about how pings arm checks and expectations after timeout/schedule plus grace period, but it does not disclose tool-specific behavior such as sorting, pagination, or response shape beyond the existing schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded: the first sentence states the action, resource, and filters. The second sentence is concise and adds useful domain context, though it is somewhat tangential to actually invoking list_checks.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a low-complexity, read-only list operation with a fully described input schema, an output schema, and complete annotations, the description is largely sufficient. It specifies project scope and filtering, though explicit sibling differentiation would make it fully self-contained.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with slug, tags, and limit each already described in the input schema. The description only restates the slug/tags filter idea and adds no parameter-level meaning beyond what the schema provides, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a precise action and resource: 'List checks in this Watchgoose project'. It also states the optional filters (slug or tags), and the collection-scope wording naturally distinguishes this from the sibling tools get_check and list_flips.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through 'optionally filtered by slug or tags', but it never explicitly contrasts this tool with get_check or list_flips. There is no when-to-use vs. alternatives guidance, only a clear statement of what the tool does.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_flipsList a check's status changesARead-onlyIdempotentInspect
List retained status changes for a check, newest first, with optional time filters. In results, up: 1 means the check became up; up: 0 means any other status, including down, paused, and new after resume. A pause or resume that changes the check's status records a flip.
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Exclusive upper bound for status-change timestamps, as Unix seconds; for example 1592217980. | |
| limit | No | Maximum number of status changes to return, from 1 to 200. | |
| start | No | Inclusive lower bound for status-change timestamps, as Unix seconds; for example 1592214380. | |
| seconds | No | Lookback window for status changes in seconds, from 0 to 31536000; for example 3600. | |
| unique_key | Yes | 40-character stable check identifier from list_checks. |
Output Schema
| Name | Required | Description |
|---|---|---|
| meta | Yes | |
| flips | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent annotations, the description explains key output semantics: up: 1 means became up, up: 0 includes down/paused/new-after-resume, and pause/resume that changes status records a flip. This materially helps an agent interpret results and is not visible in the schema alone.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact and front-loaded with the core operation, followed by the essential semantics of the up field and flip recording. Every sentence contributes useful information with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotations and an output schema present, the description sufficiently covers what the tool returns, how results are ordered, and what counts as a flip. The required unique_key and optional time filters are documented in the schema, so nothing critical is missing for invoking the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all five parameters. The description adds only the general notion of 'optional time filters,' which aligns with start/end/seconds but provides no additional parameter-level meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb and resource: 'List retained status changes for a check.' It also states the ordering ('newest first') and clearly distinguishes this tool from siblings by focusing on status-change history rather than listing checks or fetching a single check.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context: use this when you need a check's status changes with optional time filters. It does not explicitly name alternatives or say when not to use it, but the operation is distinct enough from list_checks and get_check that the intended use is evident.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.1- Changed
get_check1 field changed- added
Input schema / properties / unique_key / descriptionAdded value: +"40-character stable check identifier from list_checks."
- Changed
list_checks3 fields changed- added
Input schema / properties / limit / descriptionAdded value: +"Maximum number of checks to return, from 1 to 100." - added
Input schema / properties / slug / descriptionAdded value: +"Exact check slug to match, using lowercase letters, numbers, hyphens, or underscores." - added
Input schema / properties / tags / descriptionAdded value: +"Tags that every returned check must have, for example [\"production\", \"backup\"]."
- Changed
list_flips5 fields changed- added
Input schema / properties / end / descriptionAdded value: +"Exclusive upper bound for status-change timestamps, as Unix seconds; for example 1592217980." - added
Input schema / properties / limit / descriptionAdded value: +"Maximum number of status changes to return, from 1 to 200." - added
Input schema / properties / seconds / descriptionAdded value: +"Lookback window for status changes in seconds, from 0 to 31536000; for example 3600." - added
Input schema / properties / start / descriptionAdded value: +"Inclusive lower bound for status-change timestamps, as Unix seconds; for example 1592214380." - added
Input schema / properties / unique_key / descriptionAdded value: +"40-character stable check identifier from list_checks."
3 tool updates
v1.0.0- First observed
get_check - First observed
list_checks - First observed
list_flips
TDQS
Scored across 3 tools
The three tools are clearly distinct: list checks, get a single check by key, and list status changes. There is no meaningful overlap or ambiguity between them.
All tool names follow a consistent lowercase verb_noun pattern: list_checks, get_check, list_flips. The singular/plural difference is natural and appropriate.
Three tools is well-scoped for a read-only monitoring server. Each tool provides a distinct capability with no redundancy or filler.
The read-only monitoring surface is coherent: discover checks, inspect a check, and view its flip history. Check management and ping actions appear to happen outside MCP, so the lack of mutation tools is a minor gap rather than a fatal one.
Maintenance
Related MCP Connectors
MCP server for Uptrack uptime monitoring. Manage monitors and incidents from AI agents.
Manage uptime monitors, incidents and status pages from any MCP client.
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Monitor websites, APIs, and servers: create monitors, triage incidents, and query uptime stats.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for CronAlert uptime monitoring — manage monitors, check results, and incidents from any MCP-compatible AI client.9102 npmMIT

uptimepageofficial
AlicenseNot gradedqualityBmaintenanceMCP server for Uptimepage uptime monitoring. An LLM client can read your monitors and incidents, run a check on demand, and post incident updates. Writes need an OAuth login and a scoped token, and each one is logged.54AGPL 3.0- AlicenseNot gradedqualityDmaintenanceMCP server for KEEPitALIVE monitoring, enabling AI agents to read and manage monitors, incidents, triggers, and notification routing via the v1 API, with scope-based tool filtering and safety modes.7 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLM clients to manage Uptime Kuma HTTP(S) monitors, groups, tags, and notifications, and to retrieve heartbeats, stats, and incident history through MCP tools.MIT