mcp-google-map 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ Any command also accepts `--env-file <path>`: it loads exactly that file (exit 1
42
42
  ### stdio (predefinito per client locali)
43
43
 
44
44
  ```bash
45
- scripts/start-mcp.sh # node dist/cli.js --stdio
45
+ scripts/start-mcp.sh # node dist/cli.js start --stdio
46
46
  ```
47
47
 
48
48
  stdout è riservato ai messaggi JSON-RPC; tutti i log del server vanno su stderr.
@@ -68,7 +68,7 @@ Voce stdio per `~/.pi/agent/mcp.json` (utente) o `.pi/mcp.json` (progetto, richi
68
68
  "mcpServers": {
69
69
  "maps": {
70
70
  "command": "node",
71
- "args": ["/percorso/assoluto/a/mcp-google-map/dist/cli.js", "--stdio"],
71
+ "args": ["/percorso/assoluto/a/mcp-google-map/dist/cli.js", "start", "--stdio"],
72
72
  "env": { "GOOGLE_MAPS_API_KEY": "${GOOGLE_MAPS_API_KEY}" }
73
73
  }
74
74
  }
@@ -76,15 +76,15 @@ Voce stdio per `~/.pi/agent/mcp.json` (utente) o `.pi/mcp.json` (progetto, richi
76
76
  ```
77
77
 
78
78
  - `${VAR}` espande variabili d'ambiente: la chiave non resta cablata nel file di configurazione.
79
- - `pi mcp add maps -- node /percorso/assoluto/a/mcp-google-map/dist/cli.js --stdio` registra da terminale; `/reload` in sessione dopo modifiche esterne; `/mcp` ispeziona la connessione.
79
+ - `pi mcp add maps -- node /percorso/assoluto/a/mcp-google-map/dist/cli.js start --stdio` registra da terminale; `/reload` in sessione dopo modifiche esterne; `/mcp` ispeziona la connessione.
80
80
 
81
81
  ### OpenClaw
82
82
 
83
83
  ```bash
84
- openclaw mcp set maps '{"command":"node","args":["/percorso/assoluto/a/mcp-google-map/dist/cli.js","--stdio"],"env":{"GOOGLE_MAPS_API_KEY":"AIza..."},"description":"Google Maps MCP"}'
84
+ openclaw mcp set maps '{"command":"node","args":["/percorso/assoluto/a/mcp-google-map/dist/cli.js","start","--stdio"],"env":{"GOOGLE_MAPS_API_KEY":"AIza..."},"description":"Google Maps MCP"}'
85
85
  ```
86
86
 
87
- - Alternativa senza installazione: `"command":"npx","args":["-y","mcp-google-map","--stdio"]`.
87
+ - Alternativa senza installazione: `"command":"npx","args":["-y","mcp-google-map","start","--stdio"]`.
88
88
  - Ricaricare il gateway o riavviare la sessione agente dopo la modifica; `openclaw mcp list` / `openclaw mcp show maps` per verificare.
89
89
 
90
90
  ### Prerequisiti chiave e API Google
@@ -96,8 +96,8 @@ openclaw mcp set maps '{"command":"node","args":["/percorso/assoluto/a/mcp-googl
96
96
  ## Comandi CLI
97
97
 
98
98
  ```bash
99
- node dist/cli.js --stdio # stdio server
100
- node dist/cli.js --port 3000 --host 127.0.0.1 # HTTP server (loopback default)
99
+ node dist/cli.js start --stdio # stdio server
100
+ node dist/cli.js start --port 3000 --host 127.0.0.1 # HTTP server (loopback default)
101
101
  node dist/cli.js setup --write-env # onboarding: checks + .env scaffold (no network)
102
102
  node dist/cli.js exec search-places '{"query":"pizzeria Torino"}' # one tool call (params is a JSON string)
103
103
  node dist/cli.js doctor # local diagnostics (no network)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-google-map",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Google Maps MCP server — 18 tools for AI agents: geocoding, Places API (New) search with server-side filters, directions, distance matrix and more, via stdio or Streamable HTTP",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",