内容
<p align="center">
<img src="assets/logo.png" alt="Sentinel logo" width="90" height="90">
</p>
# Sentinel 监控 MCP 服务器
实时监控、SSL、DNS 和域名监控,您可以与之交互:检查、创建和管理所有客户网站的监控,从 Claude、ChatGPT 或任何 MCP 客户端。
Sentinel 是为管理客户网站的机构和自由职业者提供的实时监控、SSL、DNS 和域名过期监控。该 MCP 服务器将整个产品置于您的 AI 助手之中:询问“哪些客户的 SSL 证书本月到期?”,“六月份所有网站的运行时间是多少?”,或“为 newclient.com 添加监控。” 支持创建、更新、暂停和删除监控、按需从每个区域检查 URL、运行时间摘要、事件管理、DNS 历史、性能历史、过期证书报告、状态页面和需要注意的摘要。由每天使用它的个人创始人构建,而不是使用仪表盘。
<p align="center">
<img src="assets/screenshot.png" alt="Sentinel dashboard: monitor stats and global check network" width="800">
</p>
这是一个**托管(远程)MCP 服务器**;无需安装或运行。该存储库是其公共主页:连接说明、注册表清单和来自代理用户的反馈问题跟踪器。
- **端点(API token / bearer):** `https://sentinel.rootstuff.io/mcp/sentinel`
- **端点(OAuth 2.1):** `https://sentinel.rootstuff.io/mcp/sentinel-oauth`
- **传输:** 流式 HTTP
- **文档:** [sentinel.rootstuff.io/docs/mcp](https://sentinel.rootstuff.io/docs/mcp) · [工具参考](https://sentinel.rootstuff.io/docs/mcp-tools)
## 连接
### Claude 代码
```bash
claude mcp add --transport http sentinel https://sentinel.rootstuff.io/mcp/sentinel \
--header "Authorization: Bearer 您的_API_TOKEN"
```
在 [sentinel.rootstuff.io/user/api-tokens](https://sentinel.rootstuff.io/user/api-tokens) 处创建 API token。
### Claude 桌面版
添加一个自定义连接器(设置 → 连接器 → 添加自定义连接器),网址为 `https://sentinel.rootstuff.io/mcp/sentinel-oauth`,或在 JSON 配置中使用上面的 bearer 端点:
```json
{
"mcpServers": {
"sentinel": {
"type": "http",
"url": "https://sentinel.rootstuff.io/mcp/sentinel",
"headers": {
"Authorization": "Bearer 您的_API_TOKEN"
}
}
}
}
```
### Claude.ai(网页和移动应用)
添加一个自定义连接器,网址为 `https://sentinel.rootstuff.io/mcp/sentinel-oauth`。Claude.ai 连接器流程需要 OAuth;您将登录 Sentinel 并批准访问,无需粘贴 token。支持具有动态客户端注册的 OAuth 2.1。
### ChatGPT 和其他 MCP 客户端
任何通过流式 HTTP 进行 MCP 的客户端都可以使用。对于具有浏览器登录流程的客户端,请使用 OAuth 端点;或对于无头和 CLI 客户端,请使用带有 `Authorization: Bearer 您的_API_TOKEN` 头的 bearer 端点。
## 工具(21)
**监控读取**(任何具有 API 访问权限的计划):
| 工具 | 回答内容 |
| --- | --- |
| `get-uptime-summary-tool` | "现在有任何宕机吗?" |
| `get-attention-items-tool` | "今天早上我需要注意什么?" |
| `list-monitors-tool` / `get-monitor-tool` | 检查监控、筛选和搜索 |
| `list-incidents-tool` | 查看宕机和时间线 |
| `get-performance-history-tool` | 每个监控的响应时间趋势 |
| `get-dns-history-tool` | 随时间变化的 DNS 记录 |
| `list-expiring-certificates-tool` | "哪些 SSL 证书即将到期?" |
| `list-status-pages-tool` | 团队中的公共状态页面 |
| `check-url-tool` | 从每个区域按需检查任意 URL |
**监控和事件管理**(完全 API 访问权限):
| 工具 | 功能 |
| --- | --- |
| `create-monitor-tool` / `update-monitor-tool` / `delete-monitor-tool` | 管理监控 |
| `pause-monitor-tool` / `unpause-monitor-tool` | 在维护期间暂停检查 |
| `trigger-check-tool` | 立即重新检查监控 |
| `create-incident-tool` / `update-incident-tool` / `delete-incident-tool` | 管理事件 |
| `acknowledge-incident-tool` / `resolve-incident-tool` | 在聊天中处理事件 |
## 示例提示
- "哪些客户网站本周有宕机?"
- "列出未来 30 天内到期的 SSL 证书。"
- "为 https://client-site.com 创建一个监控并立即检查。"
- "今天早上我需要注意什么?"
- "从每个区域检查 example.com 是否可用。"
## 身份验证和计划
- **API token** 携带每个 token 的权限;写入工具需要匹配的创建、更新或删除权限,并且 token 拒绝命名缺少的权限。
- **计划:** 读取工具可用于任何具有 API 访问权限的计划(Starter 及以上)。写入工具(创建、更新、删除、暂停)需要完全 API 访问权限(Pro 或 Business)。请参阅 [定价](https://sentinel.rootstuff.io/pricing)。
- 所有访问权限都限定在身份验证用户的当前团队。删除操作是不可逆的。
## 关于
Sentinel 是由 [rootstuff](https://rootstuff.io) 提供的托管服务;服务器代码不开源。该存储库存在,以便 MCP 目录、注册表和代理用户拥有一个公共主页用于服务器。欢迎在 [问题](../../issues) 中报告错误和工具请求。
- 产品: [sentinel.rootstuff.io](https://sentinel.rootstuff.io)
- MCP 功能页面: [sentinel.rootstuff.io/mcp](https://sentinel.rootstuff.io/mcp)
- 完整文档: [sentinel.rootstuff.io/docs/mcp](https://sentinel.rootstuff.io/docs/mcp)
- LLM 可读站点索引: [sentinel.rootstuff.io/llms.txt](https://sentinel.rootstuff.io/llms.txt)