IsItDown MCP Server

by hesreallyhim
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

mcp 服务器关闭

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

概述

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

工具

实施了以下工具:

  • get_website_status :检查网站当前是否关闭。
    • Inputroot_domain (字符串):要检查的网站的根域(例如“example.com”)
    • Output :一条字符串消息,指示网站是否正常运行,以及最后记录的停机信息

安装

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

来自源

# 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 Desktop 的配置

将此配置添加到您的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

执照

麻省理工学院

You must be authenticated.

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

MCP 服务器允许用户通过查询 isitdownrightnow.com 来检查网站是否正在经历停机,并提供状态信息和有关最近停机事件的详细信息。

  1. Overview
    1. Tools
      1. Installation
        1. From Source
      2. Configuration for Claude Desktop
        1. Usage
          1. Run as a standalone MCP server
          2. Example usage with Claude for Dekstop:
          3. Use as a library
        2. Development
          1. Build
            1. License

              Appeared in Searches

              ID: 1wx4z4amkm