شعار Globalping

Globalping

مؤسسة
jsdelivr

Remote MCP server that gives LLMs access to run network commands

الناشرjsdelivr
المستودعglobalping-mcp-server
اللغةTypeScript
التفريعات
10
النجوم
63
الأدوات المتاحة
0
نوع نقل البياناتstreamable-http
الفئات
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Globalping إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 63، والنسخ المتفرعة: 10 في المستودع المرتبط.

Globalping MCP Server

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.

التثبيت

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

استخدم MCP الخاص بـ Globalping مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Globalping، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يتصل تكامل MCP هذا عبر عنوان URL لخادم MCP مستضاف عن بُعد في TypingMind.

أضف عنوان URL لخادم MCP

استخدم هذا الخيار عندما يكون Globalping مستضافًا بالفعل عن بُعد أو عندما يريد فريقك موصلًا مشتركًا واحدًا يمكن لعدة مستخدمين الوصول إليه.

1

فتح موصلات MCP

في TypingMind، انتقل إلى «الإضافات»، وافتح «موصلات MCP»، ثم اختر «إضافة رابط».

  1. افتح TypingMind في متصفحك.
  2. انتقل إلى الإضافات.
  3. افتح موصلات MCP.
  4. انقر على «إضافة عنوان URL».
نموذج إضافة عنوان URL لخادم MCP مخصص في TypingMind
2

لصق عنوان URL للخادم

أدخل https://mcp.globalping.dev/sse في حقل «رابط الخادم». أضف اسمًا للاتصال أو وصفًا أو أيقونة أو ترويسات HTTP مخصصة أو إعدادات عميل OAuth إذا كان الخادم يتطلب ذلك.

  1. ألصق https://mcp.globalping.dev/sse في حقل «رابط الخادم».
  2. أدخل اسمًا لاتصال Globalping.
  3. أضف وصفًا وأيقونة لتسهيل التعرّف على الاتصال إن أردت.
  4. أضف ترويسات HTTP مخصصة أو تفاصيل عميل OAuth إذا كان الخادم يتطلب المصادقة.
3

إنشاء الاتصال

انقر على «إنشاء اتصال»، ثم عُد إلى قائمة الإضافات وتأكد من أن اتصال MCP الجديد نشط.

  1. انقر على «إنشاء اتصال».
  2. عُد إلى قائمة موصلات MCP.
  3. تأكد من ظهور اتصال Globalping بحالة «نشط».
  4. حدّث قائمة الإضافات إذا لم يظهر الاتصال فورًا.
4

تبديل النماذج دون إعادة الاتصال

ابدأ محادثة مع نموذجك المفضل، وفعّل أدوات Globalping من «الإضافات»، وانتقل إلى نموذج آخر عند الحاجة. يظل اتصال MCP متاحًا في مساحة عمل TypingMind.

  1. ابدأ محادثة جديدة في TypingMind.
  2. اختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  3. فعّل أدوات Globalping من قسم الإضافات.
  4. اطلب من النموذج استخدام الأداة عند الحاجة.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر وأعد استخدام اتصال MCP نفسه.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Globalping لمساعدتي في هذه المهمة؟
Globalping
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Globalping.

الأسئلة الشائعة

ما استخدامات خادم MCP Globalping؟

Globalping هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Globalping مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Globalping مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Globalping مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Globalping، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Globalping بـ TypingMind؟

يمكن توصيل Globalping بـ TypingMind بإضافة عنوان URL لخادم MCP المستضاف الخاص به. يفيد ذلك عندما تريد اتصال MCP بعيدًا متاحًا من مساحة عملك في TypingMind.

ما الأدوات التي يوفّرها خادم MCP Globalping في TypingMind؟

يتيح Globalping إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Globalping؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Globalping يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇