Pingo
Pingo - 本地局域网调试 MCP 服务器
一个 MCP 服务器,以清晰的按服务划分职责的架构提供整套本地网络调试工具,便于扩展。
提供的工具
工具 | 说明 |
| 列出本地 IPv4 接口(名称、IP、子网掩码、MAC) |
| Ping 单个 IPv4 地址,报告存活状态/延迟 |
| 扫描 |
| 使用操作系统原生的 traceroute/tracert 探测到主机或 IP 的路由 |
| 将主机名解析为对应的 IPv4/IPv6 地址 |
| 将 IP 反向解析为主机名 |
| 检查单个 TCP 端口是否开放 |
| 通过原始套接字扫描一段 TCP 端口范围(跨度最大 1024 个端口) |
| 读取操作系统 ARP 缓存,获取局域网内的 IP 到 MAC 映射 |
| 通过 |
| 检查 HTTP(S) 端点是否响应,返回状态码与延迟 |
Related MCP server: netops-mcp
设计说明
每个关注点对应一个服务(
src/services/*)——每个服务只做一件事,并被注入到 controller 中。因此,添加新的诊断功能(例如 MTU 发现、带宽测试)只需新增一个服务 + 一次registerTool调用,其他均无需改动。无 shell 注入面。 每条操作系统命令都通过
execFile执行(argv 数组方式,绝不使用 shell 字符串),所有输入在到达命令或套接字之前,都会经过严格的白名单验证(src/utils/validators.ts)。默认有界。 端口扫描跨度上限为 1024 个端口,网段扫描上限为
/24,所有操作都有超时——因此,任一看似的输入都不会挂起进程,也不会演变成无限制的网络扫描。DNS 使用 Node 原生的
dns/promises,完全不借助 shell 命令——为这个听起来风险最高的工具减少了一个 exec 入口。
运行
pnpm install
pnpm dev # tsx src/index.ts, hot-reload dev mode
pnpm build && pnpm start # compiled prod run服务器监听于 http://localhost:3000/mcp。
扩展
添加
src/services/YourService.ts,实现一个IYourService接口(仿照现有服务——无构造函数,含有一个或两个职责单一的方法)。将其加入
PingoMcpController.ts中的PingoServices,并在src/index.ts中实例化。在
registerTools()中添加一个server.registerTool(...)代码块。
这就是全部的扩展入口——其他文件无需任何改动。
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityBmaintenanceProvides network operations tools such as ping, traceroute, DNS queries, and nmap scans via MCP, enabling network diagnostics and monitoring through natural language.13MIT
- AlicenseAqualityAmaintenanceDiagnose connectivity and inspect tunnels locally from your AI assistant.1912MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real network diagnostics on the local machine, including ping, traceroute, DNS lookups, TLS checks, and more.MIT
- FlicenseNot gradedqualityDmaintenanceAggregates network operations tools such as retrieving local network configurations and scanning ports, enabling IT professionals to perform these tasks via natural language.
Related MCP Connectors
The web capability layer for AI agents: render, extract, DNS, SSL, WHOIS & more via x402.
Domain & company intel for AI agents: RDAP, DNS, email deliverability, tech stack. No API keys.
URL intelligence for AI agents and developers. 16 tools, 25 signal weights, 20 free checks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Kevin-Rozario/pingo-network-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server