Globalping

io.globalping由 globalping.io 发布官方发布者v1.0.0更新于 Oct 24, 2026

Interact with a global network measurement platform.Run network commands from any point in the world

已验证SSE可网页运行云端与基础设施安全与监控

概览

AI 生成的概览

远程 MCP 服务器,让助手通过 Globalping 从全球探针执行 ping、traceroute、DNS、MTR 和 HTTP 等网络测量。

可以做什么
  • 从指定地区、国家、城市、网络或云区域的探针发起 ping、traceroute、MTR 和 HTTP/HTTPS 测试
  • 使用指定解析器和记录类型执行 DNS 查询
  • 列出可用探针位置与筛选条件,并比较不同区域的延迟与路由
  • 按 ID 获取历史测量结果,查看每小时免费额度与可用积分
  • 查询工具语法说明并检查当前认证状态
适用场景
适合需要从多个观测点排查或评估互联网基础设施的场景,例如检查某国能否访问某站点、比较不同区域的延迟,或验证不同解析器看到的 DNS 结果。
运行要求
需要一个基于 Streamable HTTP 的远程 MCP 端点(旧客户端可用 SSE 端点),无需本地运行时。交互式客户端通过 OAuth 2.0 登录,无头场景使用 Globalping API 令牌并以 Authorization Bearer 请求头发送。需要能访问该服务的网络。
安装前请注意
OAuth 或 API 令牌会关联到 Globalping 账户,请妥善保管令牌。免费测试按小时限流,超出额度后每次额外测试消耗一个积分,可能产生付费积分消耗。测量请求会发送到 Globalping 公共服务,适用其隐私政策和使用条款。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Globalping,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.globalping%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "globalping": {
      "type": "sse",
      "url": "https://mcp.globalping.io/sse"
    }
  }
}

README

Globalping MCP Server

[Globalping Logo]

Enable AI models to interact with a global network measurement platform through natural language. Give network access to any LLM.

[MCP Compatible]

What is Globalping?

Globalping is a free, public API that provides access to a globally distributed network of probes for monitoring, debugging, and benchmarking internet infrastructure. With Globalping, you can run network tests (ping, traceroute, DNS, MTR, HTTP) from thousands of locations worldwide.

What is the Globalping MCP Server?

The Globalping MCP Server implements the Model Context Protocol (MCP), allowing AI models and IDE assistants to interact with Globalping's network measurement capabilities through natural language.

The server supports standard OAuth 2.0 authentication as well as API token authentication for automated workflows.

Key Features

  • 🌐 Global Network Access: Run measurements from thousands of probes worldwide
  • 🤖 AI-Friendly Interface: Any LLM will easily parse the data and run new measurements as needed
  • 📊 Comprehensive Measurements: Support for ping, traceroute, DNS, MTR, and HTTP tests
  • 🔍 Smart Context Handling: Detailed parameter descriptions and semantic tool annotations for intelligent agent routing
  • 🔄 Comparative Analysis: Compare network latency and routing between different targets and geographic locations
  • 🔑 Authentication Support: Use OAuth or an API token with your Globalping account for higher rate limits

Installation

The primary endpoint for all modern MCP integrations is:

https://mcp.globalping.dev/mcp Streamable HTTP

ChatGPT & Codex

Connect Globalping as a remote MCP server in ChatGPT and Codex:

ChatGPT (Web & Desktop)
  1. In ChatGPT, go to Settings → Security and login and enable Developer mode (or Settings → Features → MCP Servers in ChatGPT Desktop).
  2. Add a new custom connector / MCP server with the endpoint:
text
https://mcp.globalping.dev/mcp
  1. Authenticate via OAuth when prompted.
OpenAI Codex

Add the remote server using the Codex CLI:

bash
codex mcp add globalping --url https://mcp.globalping.dev/mcp

Or add to ~/.codex/config.toml directly:

toml
[mcp_servers.globalping]url = "https://mcp.globalping.dev/mcp"

Claude (Web, Desktop)

Claude supports remote Streamable HTTP MCP connectors natively without requiring local mcp-remote bridges:

  1. In Claude, navigate to Settings → Connectors (or Organization settings → Connectors for Team/Enterprise accounts).
  2. Click + Add custom connector.
  3. Fill in the connector details:
  • Name: Globalping
  • URL: https://mcp.globalping.dev/mcp
Claude Code

Run the following command in your terminal:

bash
claude mcp add --transport http globalping https://mcp.globalping.dev/mcp

To make Globalping available across all projects on your machine (global user scope) instead of just the current project directory:

bash
claude mcp add -s user --transport http globalping https://mcp.globalping.dev/mcp

Run claude mcp login globalping --no-browser if working over SSH or in a headless terminal to complete the authorization URL exchange manually.

Cursor

Add Globalping to Cursor in one click:

[Install MCP Server]

Or configure manually in Settings → Features → MCP Servers → Add New MCP Server:

  • Type: SSE / HTTP
  • Name: globalping
  • URL: https://mcp.globalping.dev/mcp

Gemini CLI

Globalping is indexed in the official Gemini CLI Extensions Gallery.

Install via the Gemini extension manager:

bash
gemini extensions install https://github.com/jsdelivr/globalping-mcp-server

(Add --auto-update to keep the extension automatically updated).

VS Code & GitHub Copilot

  • Command Palette: Run MCP: Add Server and enter https://mcp.globalping.dev/mcp.

Generic MCP Clients

For any client supporting the standard Streamable HTTP MCP transport, add:

json
{  "mcpServers": {    "globalping": {      "url": "https://mcp.globalping.dev/mcp"    }  }}

Legacy Clients (SSE / stdio fallback): If your client strictly requires SSE over a local process bridge, configure npx mcp-remote https://mcp.globalping.dev/sse.


Authentication

Globalping MCP supports two authentication modes:

  • OAuth 2.0: Handled automatically in interactive clients during connection.
  • API Token: Useful for headless scripts, CI/CD pipelines, or programmatic API clients.

Using a Globalping API Token

  1. Go to dash.globalping.io and generate an API token under Tokens.
  2. Pass the token via standard HTTP headers:
json
{  "mcpServers": {    "globalping": {      "url": "https://mcp.globalping.dev/mcp",      "headers": {        "Authorization": "Bearer YOUR_GLOBALPING_API_TOKEN"      }    }  }}

Programmatic Integration (Anthropic Messages API)

To use Globalping directly with Anthropic's Messages API (MCP Connector), pass the remote server definition in your request payload:

json
{  "model": "claude-3-7-sonnet-latest",  "max_tokens": 1024,  "mcp_servers": [    {      "type": "url",      "name": "globalping",      "url": "https://mcp.globalping.dev/mcp"    }  ],  "tools": [    {      "type": "mcp_toolset",      "mcp_server_name": "globalping"    }  ],  "messages": [    {      "role": "user",      "content": "Run a traceroute to 1.1.1.1 from Frankfurt and Tokyo."    }  ]}

Available Tools

ToolDescription
pingPerform ICMP/packet ping tests to a destination
tracerouteTrace network routing hops to a target
dnsResolve DNS queries using specific resolvers and record types
mtrRun combined ping and traceroute tests (My Traceroute)
httpExecute HTTP/HTTPS requests from probes worldwide
locationsList available Globalping probe regions and filters
limitsDisplay the current free hourly test allowance and additional credits
getMeasurementRetrieve results of a historical measurement by ID
compareLocationsHelper guide to compare multi-region performance metrics
helpTool reference and syntax documentation
authStatusCheck the current MCP authentication status

Usage Examples

Once connected, run network diagnostics using natural language:

Ping google.com from 3 locations in Europe
Run a traceroute to github.com from Japan and compare with traceroute from the US
Check the DNS resolution of example.com using Google DNS (8.8.8.8)
Is jsdelivr.com reachable from China? Test with both ping and HTTP
What's the average response time for cloudflare.com across different continents?

Location Specification

Locations can be specified using the location's magic parameter:

  • Continents: EU, NA, AS, AF, OC, SA
  • Country codes: US, DE, JP, PL, BR
  • Cities: London, Tokyo, New York, Warsaw
  • Networks & ASNs: Cloudflare, Google, AS13335, AS15169
  • Cloud regions: aws-us-east-1, gcp-us-central1
  • Combinations: London+UK, Cloudflare+US, AWS+Frankfurt

Troubleshooting and Support

The connector cannot reach the server

  • Use the Streamable HTTP endpoint exactly as shown: https://mcp.globalping.dev/mcp.
  • A 401 Unauthorized response before completing OAuth is expected. Reconnect the integration and finish the browser authorization flow.
  • Use the legacy /sse endpoint only for clients that do not support Streamable HTTP.

Authentication fails or expires

  • Remove and reconnect the integration to start a fresh OAuth flow.
  • For API-token authentication, generate a current token in the Globalping dashboard and send it as Authorization: Bearer YOUR_GLOBALPING_API_TOKEN.
  • Once connected, use the authStatus tool to verify that authentication is active and the limits tool to check the free hourly test allowance and available credits. The displayed rate limit covers free tests only; authenticated users with credits can continue above it by spending one credit per additional test.

Get help or report a problem


Development

src/├── index.ts        # Main entry point & MCP agent definition├── app.ts          # OAuth web routes├── api/            # Globalping API client├── auth/           # Authentication helpers├── config/         # Configuration & constants├── lib/            # Utilities├── mcp/            # MCP tool definitions & handlers├── types/          # TypeScript interfaces└── ui/             # OAuth HTML templates

Credentials & Secrets

Store OAuth credentials:

bash
npx wrangler secret put GLOBALPING_CLIENT_ID

For OpenAI plugin-directory domain verification, store the token generated by the submission portal:

bash
npx wrangler secret put OPENAI_APPS_CHALLENGE

The Worker serves this value as plain text from /.well-known/openai-apps-challenge. The route returns 404 until the secret is configured.

KV Storage Setup

For Cloudflare Workers OAuth state management:

  1. Create a KV namespace: npx wrangler kv:namespace create OAUTH_KV
  2. Configure OAUTH_KV inside wrangler.jsonc.

来源:README.md,提交 452ad04

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Globalping 集成