convez.ai
MCP ServerDevOps & InfraestruturaIntermediário
ashwini-anand

Verificador de Status de Servidor

ashwini-anand/check-server-status

Monitora disponibilidade de servidores via HTTP com respostas detalhadas

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP server em Python que verifica se um website ou serviço está online ou offline através de requisições HTTP GET. Utiliza httpx para requisições assíncronas e fornece detalhes como tempo de resposta, códigos HTTP e resolução de redirecionamentos.

Instalação

$npx convez-ai ashwini-anand/check-server-status

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
2

Casos de uso

  • Verificar se um website está no ar antes de acessá-lo
  • Monitorar status de servidores locais durante desenvolvimento
  • Validar endpoints de API em tempo real
  • Diagnosticar problemas de conectividade com serviços

Veredito

MCP server sólido e funcional para monitoramento de saúde de servidores. Bem estruturado com FastMCP, httpx async e suporte a Claude Desktop/Antigravity, mas limitado a verificações pontuais sem histórico ou alertas — adequado para troubleshooting imediato, não para monitoramento contínuo.

README

A tradução para o português deste README ainda está na fila.

Server Status Checker MCP Server

A Model Context Protocol (MCP) server written in Python that checks if a website or service is up or down by sending HTTP GET requests.

Built using the official FastMCP framework (from the Python mcp SDK) and Python 3.12.


Features

  • FastMCP SDK: Built on the official Model Context Protocol library.
  • Python 3.12: Runs in a modern, optimized Python environment created with uv.
  • Advanced HTTP client: Uses httpx for asynchronous requests, custom user-agent headers, and redirect following.
  • Detailed Output: Reports status (🟢 UP / 🔴 DOWN), redirect resolution, response time (ms), and exact HTTP status codes.

Setup & Virtual Environment

The project uses uv to manage the virtual environment and dependencies.

1. Initialize Virtual Environment (Python 3.12)

# Recreate virtual environment using Python 3.12
uv venv --python 3.12 --clear

2. Install Dependencies

# Install required packages (mcp, httpx, etc.)
uv pip install -r requirements.txt

Testing Locally

You can test the core logic and integration using the test script:

.venv/bin/python test_server.py

Client Configuration (Antigravity AI Client)

To add this server to your Antigravity AI client:

1. Open the configuration file

Open the config file in your preferred text editor:

nano ~/.gemini/config/mcp_config.json

2. Add the configuration

Add the following configuration block under the mcpServers section of the JSON. Replace /path/to/your/project with the actual absolute path where this repository is located on your machine:

{
  "mcpServers": {
    "server-status-checker": {
      "command": "/path/to/your/project/.venv/bin/python",
      "args": [
        "/path/to/your/project/server.py"
      ]
    }
  }
}

If you already have other MCP servers configured, append it inside the mcpServers block:

    "server-status-checker": {
      "command": "/path/to/your/project/.venv/bin/python",
      "args": [
        "/path/to/your/project/server.py"
      ]
    }

3. Restart the Client

Restart the client to enable the check_server_status tool.


Using the Tool

Once added, you can directly use Antigravity to check if a website is up or down. Antigravity will automatically use this tool behind the scenes to verify the status.

Sample queries you can ask Antigravity:

  • "Is google.com up right now?"
  • "Can you check if my local server at http://localhost:8000/ is running?"
  • "Verify if the website example.com is active."

Client Configuration (Claude Desktop)

To use this server in Claude Desktop, add it to your configuration file:

Configuration File Location

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the Server

Add the following configuration block. Make sure to use the absolute path to the virtual environment's Python interpreter:

{
  "mcpServers": {
    "server-status-checker": {
      "command": "/path/to/your/project/.venv/bin/python",
      "args": [
        "/path/to/your/project/server.py"
      ]
    }
  }
}

Restart Claude Desktop, and the check_server_status tool will be ready to use!

Ver o original no GitHub

Bom para

Relacionados