Skip to main content
Glama

mcp 服务器关闭

MCP 服务器通过查询www.isitdownrightnow.com检查网站当前是否已关闭。

铁匠徽章

概述

该 MCP 服务器提供了一个简单的工具来检查网站是否正在经历停机,并可以提供有关最近停机事件的一些信息。

Related MCP server: cointelegraph-mcp

工具

实施了以下工具:

  • get_website_status :检查网站当前是否关闭。

    • Inputroot_domain (字符串):要检查的网站的根域(例如“example.com”)

    • Output :一条字符串消息,指示网站是否正常运行,以及最后记录的停机信息

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 IsItDown 服务器:

npx -y @smithery/cli install @hesreallyhim/mcp-server-isitdown --client claude

注意:此软件包目前尚未发布到公共注册表。仅可从源代码安装。

来自源

# Clone the repository git clone https://github.com/yourusername/mcp-server-isitdown.git cd mcp-server-isitdown # Using uv (recommended) uv pip install -e . # Using pip pip install -e .

Claude 桌面配置

将此配置添加到您的claude_desktop_config.json文件中:

"isitdown": { "command": "/path/to/uv", "args": [ "--directory", "/path/to/cloned/repo/src", "run", "mcp_server_isitdown" ] }

用法

作为独立的 MCP 服务器运行

# Using the installed script mcp-server-isitdown # Using the Python module python -m mcp_server_isitdown

使用 Claude for Dekstop 的示例:

  • “维基百科现在瘫痪了吗?”

  • “Reddit 上次宕机是什么时候?”

用作图书馆

from mcp_server_isitdown.server import get_website_status # Check if a website is down (async function) async def check_website(): result = await get_website_status("example.com") print(result) # Prints status message with up/down status

发展

# Type checking uvx mypy . # Run all pre-commit hooks uv pre-commit run --all-files # Install in development mode uv pip install -e ".[dev]" # Run the Inspector mcp dev src/mcp_server_isitdown/server.py

建造

# Build the package uv build # Install the built package uv pip install dist/mcp_isitdown_service-*.whl

执照

麻省理工学院

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hesreallyhim/mcp-server-isitdown'

If you have feedback or need assistance with the MCP directory API, please join our Discord server