mcp-google-api 0.22.0 → 0.22.1
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.
- package/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/dist/cli.d.ts +7 -1
- package/dist/cli.js +30 -0
- package/dist/cli.js.map +1 -1
- package/docs/CONFIGURATION.md +22 -0
- package/package.json +1 -1
package/docs/CONFIGURATION.md
CHANGED
|
@@ -73,3 +73,25 @@ mcp-google-api doctor # local self-check: Node >= 24, package, key,
|
|
|
73
73
|
mcp-google-api doctor --live # billable probes against Geocoding, Places (New), and Routes
|
|
74
74
|
mcp-google-api show # CLI configuration and installation status tables
|
|
75
75
|
```
|
|
76
|
+
|
|
77
|
+
### MCP connection closed after a rename or upgrade
|
|
78
|
+
|
|
79
|
+
The registered entry launches `npx -y mcp-google-api start --stdio`. When the
|
|
80
|
+
MCP client spawns this command from a directory that hosts a same-name local
|
|
81
|
+
project (for example a repository checkout), `npm exec` prefers that local
|
|
82
|
+
project's own `dist/cli.js` over the installed package. A stale `dist/` build
|
|
83
|
+
from before a distribution rename then launches old code that silently exits
|
|
84
|
+
without answering the MCP handshake, and the client reports
|
|
85
|
+
`MCP connection closed`.
|
|
86
|
+
|
|
87
|
+
Remediation (run inside that checkout, then reconnect the MCP client):
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npm run verify # typecheck + unit tests + fresh dist/ build
|
|
91
|
+
# or, to ignore the local checkout and use the published package only:
|
|
92
|
+
npm install -g mcp-google-api@latest
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Since 0.22.0 the CLI prints a JSON diagnostic on stderr naming this exact
|
|
96
|
+
condition and the remediation commands instead of exiting silently, so a
|
|
97
|
+
stale-artifact launch is visible in MCP client logs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-google-api",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Google API MCP server — 18 Google Maps 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",
|