Token导航 LogoToken导航TokenDH.com
Downdetector MCP logo
运维云端stdio官方级别未说明来源级核验

Downdetector MCP

MCP Server

一个基于HTTP的MCP服务器,通过Downdetector获取在线服务状态数据,为AI应用提供支持。

工具数

2

提示词数

0

GitHub Stars

0

资源数

0
C#VS Code云端部署VS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

BenjaminFourmaux

提供方

BenjaminFourmaux

最后核验

2026/5/17 20:21

运行时

Docker

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

docker run -d -p 8080:8080 --name downdetector-mcp benjaminfourmauxb/downdetector-mcp:latest

详细介绍

下探测器mcp

![](https://img.shields.io/badge/10.0-mode?logo=dotnet&logoColor=white&label=C%23&color=darkgreen) ![](https://img.shields.io/badge/Down-detector-website?logo=downdetector&logoColor=red&color=red) ![](https://badge.mcpx.dev?type=server "MCP Server") ](https://hub.docker.com/repository/docker/benjaminfourmauxb/downdetector-mcp)

![](hero-banner.png)

基于HTTP 主控程序 服务器通过以下方式获取在线服务状态 下变频器.

为代理人工智能应用程序提供在线服务状态数据。

工具🛠

此MCP服务器中可用的工具列表

\[!重要\] 由于Downdetector网站最近发生了变化,恢复数据变得越来越困难。某些数据可能缺失。

搜索服务名称

用于检索与Downdetector中命名相同的正确服务名称(也称为 TechnicalServiceName 在MCP中)。

\[!提示\] 必须首先调用此命令,因为AI会得到正确的名称来使用 GetServiceStatus工具 避免在检索具有错误服务名称的数据时出错。

输入参数

param描述
serviceName要搜索的服务名称
country在Downdetector网站的正确国家实例中搜索的Alpha-2国家代码

输出示例

使用参数调用工具:

  • serviceName : google
  • country : us
SearchWord: google
Results[4]{ServiceName,TechnicalName,Url,Category}:
  Google,google,https://downdetector.com/status/google
  Google Cloud,google-cloud,https://downdetector.com/status/google-cloud,search portals
  Google Gemini,googlegemini,https://downdetector.com/status/googlegemini,ai platforms
  Google Nest,google-nest,https://downdetector.com/status/google-nest,home automation security

GetServiceStatus

获取有关在线服务状态的数据。与报告最多的问题一样,报告的最后数量和基线。

输入参数

param描述
technicalServiceName获取数据的技术服务名称
country在Downdetector网站的正确国家实例中搜索的Alpha-2国家代码
includeHistoricalReportData布尔值,用于检索过去24小时的历史图表点。默认情况下 false

输出示例

使用参数调用工具:

  • technicalServiceName : googlegemini
  • country : us
ServiceName: Google Gemini
Status: WARNING
MostReportedIssues[3]{Issue,Percentage}:
  AI Generation,57
  Website,24
  App,20
ReportData[96]{Time,Report,Baseline}:
  14:05 07/02/2026,8,2
  15:05 07/02/2026,4,2
  16:05 07/02/2026,3,1
  ...
LastReportData:
  Time: 14:05 08/02/2026
  Report: 25
  Baseline: 5

使用🚀

Docker(推荐)

来自Docker Hub

docker run -d -p 8080:8080 --name downdetector-mcp benjaminfourmauxb/downdetector-mcp:latest

从源代码构建

docker build -t downdetector-mcp .

运行容器

docker run -d -p 8080:8080 --name downdetector-mcp downdetector-mcp

服务器将在以下位置可用 http://localhost:8080.

源代码

先决条件

构建

dotnet build

安装Playwright Chromium

构建完成后,安装Playwright使用的Chromium浏览器:

pwsh DowdetectorMCP.Server/bin/Debug/net10.0/playwright.ps1 install chromium
\[!注意\] 此命令还安装Chromium所需的操作系统级依赖关系。您只需运行一次(或在Playwright版本更新后)。

dotnet run --project DowdetectorMCP.Server

服务器启动于 http://localhost:5057 默认情况下。

Visual Studio Copilot中的测试

在GitHub Copilot的“配置工具”页面上,添加一个MCP服务器。

在文件中 mcp.json 在VS Code环境中配置自定义MCP时,请输入以下设置:

{
	"servers": {
		"downdetector-mcp": {
			"url": "http://localhost:5057/mcp",
			"type": "http",
			"trusted": true
		}
	},
	"inputs": []
}

瞧,你可以直接在你的副驾驶上使用这个MCP服务器。

运作原理🏗

此应用程序是内置的 C净值10 并使用SDK 模型上下文协议 以实现MCP协议。

项目 DowndetectorMCP.API.csproj 用于从Downdetector网站查询数据。

从Downdetector获取数据的唯一简单方法是模拟web浏览器。 \ 为此,Downdetector MCP。API使用 剧作家 端到端测试框架被转移到通过Chronium无头浏览器浏览DOM页面。

Downdetector使用Cloudflare来保护他们的网站免受机器人或DDoS攻击。多次请求网站可能会导致限速错误或被著名页面屏蔽”✅ 你是人吗?”。

为了减少发送到Donwdetector的请求数量,设置了一个缓存系统 工具搜索服务名称这个缓存拯救了这对夫妇 => result. \ 缓存记录的生存期为24小时。

拯救所有人是不可行的 technicalServiceName,因为服务的数量不是有限的(_“明天,一家新的人工智能公司可以诞生……”_).这就是为什么有一个专门的搜索服务工具。

所有输出的工具都使用 面向令牌的对象表示法(Toon)格式 以表示数据。这种类似CSV的格式可以通过删除冗余的字段名(如JSON)来减少输入令牌的数量(和推理输入时间)。

错误消息非常冗长,类似于人类的错误解释,用于指示代理附加了什么错误(Cloudflare速率限制达到,找不到服务…)。

贡献👨‍👨‍👧

感谢您的贡献! \ 如果你想添加新功能,不要犹豫。

请告诉我您是否使用我的MCP以及在哪个项目中使用。我会很感激的。

目录标签

目录标签

C#VS Code云端部署在线服务监测本地部署MCP服务器AI应用支持状态数据获取

支持客户端

VS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Docker

工具数量(toolCount,工具数)

2

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP