Skip to main content
Glama
wganalytics

mcp-ping-server-giulia-ai

by wganalytics

PRJ-01 — Ping Server (MCP nível "super easy")

Servidor MCP (FastMCP, transporte stdio) — o exemplo introdutório do Capítulo 2 do livro Model Context Protocol (Sandeco), aqui com uma tool de utilidade real.

🏗️ Arquitetura do Servidor

Diagrama MCP Ping Server

Related MCP server: Echo MCP Server

Tools

Tool

O que faz

ping

Health-check do próprio servidor — retorna pong.

echo(mensagem)

Devolve exatamente a mensagem (teste de transporte).

check_host(host, port=443, timeout=3.0)

Health-check TCP real: abre conexão e mede a latência (ms).

Uso

uv sync
uv run python src/ping_server.py     # ou: uv run python src/main.py

Registre no Claude Desktop apontando para src/ping_server.py (transporte stdio). Exemplo de uso da tool real: check_host("1.1.1.1", 443)UP 1.1.1.1:443 — 12.3 ms.

Sem segredos externos.

Testes

uv run pytest        # 12 testes

check_host é exercitado contra um socket TCP local em porta efêmera — nada sai da máquina.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that allows users to ping other hosts to check network connectivity and diagnostic information. It enables LLMs to perform network latency tests and host availability checks through a standardized interface.
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/wganalytics/mcp-ping-server-giulia-ai'

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