# Globalping — how to use (mcp.ai)

Connect your Globalping account and use 5 tools for server monitoring straight from your AI agent. Connect with your own API key. Globalping is a global network of probes that allows users to run network tests like ping, traceroute, and DNS resolve from various locations worldwide.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_globalping?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `globalping_create_measurement`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/globalping`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/globalping/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/globalping/create/measurement` — Tool to create and trigger a network measurement. Use when you need connectivity checks from specific geographic or network locations.
  - body: { type: string, limit?: integer, target: string, locations?: object[], inProgressUpdates?: boolean, measurementOptions?: object }
- `POST https://api.mcp.ai/api/globalping/get/limits` — Tool to retrieve current rate limits and credits. Use this to check remaining API quota before making measurements. Returns rate limits based on IP address for unauthenticated requests or user account
- `POST https://api.mcp.ai/api/globalping/get/measurement` — Retrieve measurement results by ID. Use this after creating a measurement to get the status and detailed results from all participating probes. Poll this endpoint until status is 'finished'.
  - body: { id: string }
- `POST https://api.mcp.ai/api/globalping/health/check` — Tool to check API health status. Use when verifying API availability.
- `POST https://api.mcp.ai/api/globalping/list/probes` — Retrieve all currently online Globalping probes worldwide. Returns probe metadata including location (continent, country, city), network information (ASN, ISP name), and tags (datacenter-network, eyeb
  - body: { max_results?: integer }

## Example prompts
- "What can I do in Globalping?"
- "Show me a summary of my Globalping account"

## More
- Page: https://mcp.ai/globalping
- Agent spec (llms.txt): https://mcp.ai/globalping/llms.txt
- Postman collection: https://mcp.ai/globalping/postman.json
