google-services-mcp 0.1.6 → 0.1.7
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/README.md +3 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +18 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -284,7 +284,7 @@ All publishing happens from GitHub Actions — no local npm login needed:
|
|
|
284
284
|
release. No manual steps. The next version is derived from the last
|
|
285
285
|
published `latest` on npm, so repeated merges never collide; an
|
|
286
286
|
intentional minor/major bump in `package.json` is honored.
|
|
287
|
-
2. **Staging** — manual beta builds from `main`: **Actions →
|
|
287
|
+
2. **Staging** — manual beta builds from `main`: **Actions → CI
|
|
288
288
|
→ Run workflow**. Publishes a `beta` build (`0.1.1-beta.X`) under the
|
|
289
289
|
`beta` dist-tag with provenance.
|
|
290
290
|
|
|
@@ -292,9 +292,9 @@ Prerelease tags `v*-beta*` publish to `beta` with a prerelease GitHub release
|
|
|
292
292
|
(patch/minor builds for milestone testing). Publishing uses npm **trusted
|
|
293
293
|
publishing** (OIDC): configure it once per package at
|
|
294
294
|
`npmjs.com/package/google-services-mcp/access` with the GitHub repository
|
|
295
|
-
`nabheet/google-services-mcp` and workflow name `
|
|
295
|
+
`nabheet/google-services-mcp` and workflow name `ci.yml`.
|
|
296
296
|
npm allows **one trusted publisher per package** and validates the calling
|
|
297
|
-
workflow's filename — all channels run from the same `
|
|
297
|
+
workflow's filename — all channels run from the same `ci.yml` file.
|
|
298
298
|
No `NPM_TOKEN` secret is required.
|
|
299
299
|
|
|
300
300
|
## License
|
package/dist/server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAqBpE,wBAAgB,YAAY,IAAI,SAAS,CAOxC"}
|
package/dist/server.js
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
|
+
import { readFileSync } from "node:fs";
|
|
1
2
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
3
|
import { registerTools } from "./tools/index.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read the package version at runtime instead of hardcoding it, so the
|
|
6
|
+
* server-info version always matches the actually-published version (the
|
|
7
|
+
* publish workflow bumps package.json before packing, so a hardcoded string
|
|
8
|
+
* would drift). Resolves relative to this module — works from src/ (tsx dev)
|
|
9
|
+
* and dist/ (compiled) alike.
|
|
10
|
+
*/
|
|
11
|
+
const VERSION = (() => {
|
|
12
|
+
try {
|
|
13
|
+
const pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
|
|
14
|
+
return pkg.version ?? "0.0.0";
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
return "0.0.0";
|
|
18
|
+
}
|
|
19
|
+
})();
|
|
3
20
|
export function createServer() {
|
|
4
21
|
const server = new McpServer({
|
|
5
22
|
name: "google-services-mcp",
|
|
6
|
-
version:
|
|
23
|
+
version: VERSION,
|
|
7
24
|
});
|
|
8
25
|
registerTools(server);
|
|
9
26
|
return server;
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,UAAU,YAAY;IAC1B,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;QAC3B,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE,OAAO;KACjB,CAAC,CAAC;IACH,aAAa,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE;IAC5B,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CACpB,YAAY,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAC1C,CAAC;QAC1B,OAAO,GAAG,CAAC,OAAO,IAAI,OAAO,CAAC;IAChC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,OAAO,CAAC;IACjB,CAAC;AACH,CAAC,CAAC,EAAE,CAAC;AAEL,MAAM,UAAU,YAAY;IAC1B,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;QAC3B,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE,OAAO;KACjB,CAAC,CAAC;IACH,aAAa,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-services-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "MCP server for Google consumer services — Gmail, Calendar, Meet, Drive, Contacts, Tasks — with multi-account OAuth support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|