Skip to content

Commit 9c732f2

Browse files
authored
feat: Implement CORS and Origin validation for enhanced security (#24)
1 parent 5bb65bf commit 9c732f2

14 files changed

Lines changed: 3332 additions & 7660 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,25 @@ You can integrate our Globalping MCP server with various AI tools that support t
4646

4747
Here are instructions for the top 3 most popular tools:
4848

49+
#### Gemini CLI
50+
51+
To add the Globalping MCP server to Gemini CLI:
52+
53+
1. Ensure you have the [Gemini CLI](https://github.com/google/gemini-cli) installed.
54+
2. Run the following command:
55+
56+
```bash
57+
gemini extensions install https://github.com/jsdelivr/globalping-mcp-server
58+
```
59+
60+
This will automatically configure the server with OAuth authentication enabled. You will be prompted to log in when you first use the extension.
61+
62+
**Note:** If you prefer to use a Globalping API token (for higher rate limits or automation), you can manually add the server with the Authorization header instead of using the extension installer:
63+
64+
```bash
65+
gemini mcp add globalping https://mcp.globalping.dev/mcp --header "Authorization: Bearer YOUR_TOKEN"
66+
```
67+
4968
#### Claude Desktop App
5069

5170
Add to your Claude Desktop configuration file (located at `%APPDATA%\Claude\config.json` on Windows or `~/Library/Application Support/Claude/config.json` on macOS):

gemini-extension.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "globalping",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Interact with a global network of probes and run network measurements, benchmarks and tests.",
5+
"instructions": "You have access to Globalping, a global network measurement platform. Use it to run ping, traceroute, DNS, MTR, and HTTP tests from thousands of locations worldwide.\n\nKey guidelines:\n- Always use the 'locations' argument to specify where to run tests from (e.g., 'London', 'US', 'AWS').\n- Use 'world' as a location for globally diverse results; increase the 'limit' to get a wider distribution.\n- Use 'compareLocations' to understand how to benchmark performance.\n- Authentication: You can authenticate via OAuth (prompted automatically) or by providing a Globalping API token in the 'Authorization' header (Bearer <token>) for higher rate limits.\n- If a user asks for 'latency' or 'reachability', use 'ping'.\n- If a user asks about 'routing' or 'hops', use 'traceroute' or 'mtr'.\n- If a user asks about 'website availability', use 'http'.\n- If a user asks about 'dns propagation', use 'dns'.",
56
"mcpServers": {
67
"globalping-mcp": {
78
"httpUrl": "https://mcp.globalping.dev/mcp",

0 commit comments

Comments
 (0)