gogcli-mcp 1.0.10 → 2.0.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.
- package/README.md +3 -3
- package/SKILL.md +15 -36
- package/dist/index.js +6 -3
- package/dist/lib.js +15 -3
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib.ts +13 -1
- package/src/server.ts +17 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# gogcli-mcp
|
|
2
2
|
|
|
3
|
-
Base [Model Context Protocol](https://modelcontextprotocol.io) server that gives Claude access to Google Workspace via [gogcli](https://github.com/steipete/gogcli). Includes
|
|
3
|
+
Base [Model Context Protocol](https://modelcontextprotocol.io) server that gives Claude access to Google Workspace via [gogcli](https://github.com/steipete/gogcli). Includes 52 tools across 8 services: Sheets, Docs, Gmail, Calendar, Drive, Tasks, Contacts, and Auth.
|
|
4
4
|
|
|
5
5
|
For extended Sheets or Docs support, see [gogcli-mcp-sheets](https://www.npmjs.com/package/gogcli-mcp-sheets) and [gogcli-mcp-docs](https://www.npmjs.com/package/gogcli-mcp-docs).
|
|
6
6
|
|
|
@@ -43,12 +43,12 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
|
43
43
|
claude mcp add gogcli-mcp -- gogcli-mcp
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
## Tools (
|
|
46
|
+
## Tools (52)
|
|
47
47
|
|
|
48
48
|
| Service | Tools | Includes |
|
|
49
49
|
|---------|-------|----------|
|
|
50
50
|
| **Sheets** | 8 | get, update, append, clear, metadata, create, find-replace, run |
|
|
51
|
-
| **Docs** |
|
|
51
|
+
| **Docs** | 7 | info, cat, create, write, find-replace, structure, run |
|
|
52
52
|
| **Gmail** | 4 | search, get, send, run |
|
|
53
53
|
| **Calendar** | 7 | events, get, create, update, delete, respond, run |
|
|
54
54
|
| **Drive** | 9 | ls, search, get, mkdir, rename, move, delete, share, run |
|
package/SKILL.md
CHANGED
|
@@ -1,42 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gogcli-mcp
|
|
3
|
-
description: Use when the user asks to
|
|
3
|
+
description: Use when the user asks to interact with Google Workspace services. Triggers for requests involving Google Sheets, Docs, Gmail, Calendar, Drive, Tasks, or Contacts — such as "read my spreadsheet", "search my email", "create a calendar event", "list my drive files", or "add a contact". For extended Sheets or Docs support, see gogcli-mcp-sheets and gogcli-mcp-docs.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# gogcli-mcp
|
|
7
7
|
|
|
8
|
-
MCP server wrapping [gogcli](https://github.com/steipete/gogcli) — provides Claude with access to Google Sheets
|
|
8
|
+
MCP server wrapping [gogcli](https://github.com/steipete/gogcli) — provides Claude with access to Google Sheets, Docs, Gmail, Calendar, Drive, Tasks, Contacts, and Auth.
|
|
9
9
|
|
|
10
10
|
- **Source:** [github.com/chrischall/gogcli-mcp](https://github.com/chrischall/gogcli-mcp)
|
|
11
11
|
|
|
12
12
|
## Requirements
|
|
13
13
|
|
|
14
|
-
- [gogcli](https://github.com/steipete/gogcli) installed and authenticated
|
|
14
|
+
- [gogcli](https://github.com/steipete/gogcli) installed and authenticated
|
|
15
15
|
- Node.js 18 or later
|
|
16
16
|
|
|
17
17
|
## Setup
|
|
18
18
|
|
|
19
|
-
### Option A — Claude Code (direct MCP)
|
|
20
|
-
|
|
21
|
-
Add to `.mcp.json` in your project:
|
|
22
|
-
|
|
23
|
-
```json
|
|
24
|
-
{
|
|
25
|
-
"mcpServers": {
|
|
26
|
-
"gogcli": {
|
|
27
|
-
"command": "node",
|
|
28
|
-
"args": ["/path/to/gogcli-mcp/dist/index.js"],
|
|
29
|
-
"cwd": "/path/to/gogcli-mcp",
|
|
30
|
-
"env": {
|
|
31
|
-
"GOG_ACCOUNT": "you@gmail.com"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Option B — npx
|
|
39
|
-
|
|
40
19
|
```json
|
|
41
20
|
{
|
|
42
21
|
"mcpServers": {
|
|
@@ -51,19 +30,19 @@ Add to `.mcp.json` in your project:
|
|
|
51
30
|
}
|
|
52
31
|
```
|
|
53
32
|
|
|
54
|
-
`GOG_ACCOUNT` is optional — omit it to use gogcli's configured default account.
|
|
33
|
+
`GOG_ACCOUNT` is optional — omit it to use gogcli's configured default account.
|
|
55
34
|
|
|
56
|
-
##
|
|
35
|
+
## Tools (52)
|
|
57
36
|
|
|
58
|
-
|
|
|
59
|
-
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
37
|
+
| Service | Tools |
|
|
38
|
+
|---------|-------|
|
|
39
|
+
| **Sheets** (8) | get, update, append, clear, metadata, create, find-replace, run |
|
|
40
|
+
| **Docs** (7) | info, cat, create, write, find-replace, structure, run |
|
|
41
|
+
| **Gmail** (4) | search, get, send, run |
|
|
42
|
+
| **Calendar** (7) | events, get, create, update, delete, respond, run |
|
|
43
|
+
| **Drive** (9) | ls, search, get, mkdir, rename, move, delete, share, run |
|
|
44
|
+
| **Tasks** (7) | lists, list, get, add, done, delete, run |
|
|
45
|
+
| **Contacts** (5) | search, list, get, create, run |
|
|
46
|
+
| **Auth** (5) | list, status, services, add, run |
|
|
68
47
|
|
|
69
48
|
All tools accept an optional `account` parameter to override the default Google account for that call.
|
package/dist/index.js
CHANGED
|
@@ -30893,12 +30893,15 @@ function registerTasksTools(server2) {
|
|
|
30893
30893
|
}
|
|
30894
30894
|
|
|
30895
30895
|
// src/server.ts
|
|
30896
|
-
var VERSION = true ? "
|
|
30897
|
-
function
|
|
30898
|
-
|
|
30896
|
+
var VERSION = true ? "2.0.0" : "0.0.0";
|
|
30897
|
+
function createServer(options) {
|
|
30898
|
+
return new McpServer({
|
|
30899
30899
|
name: options?.name ?? "gogcli",
|
|
30900
30900
|
version: options?.version ?? VERSION
|
|
30901
30901
|
});
|
|
30902
|
+
}
|
|
30903
|
+
function createBaseServer(options) {
|
|
30904
|
+
const server2 = createServer(options);
|
|
30902
30905
|
registerAuthTools(server2);
|
|
30903
30906
|
registerCalendarTools(server2);
|
|
30904
30907
|
registerContactsTools(server2);
|
package/dist/lib.js
CHANGED
|
@@ -30800,12 +30800,15 @@ function registerTasksTools(server) {
|
|
|
30800
30800
|
}
|
|
30801
30801
|
|
|
30802
30802
|
// src/server.ts
|
|
30803
|
-
var VERSION = true ? "
|
|
30804
|
-
function
|
|
30805
|
-
|
|
30803
|
+
var VERSION = true ? "2.0.0" : "0.0.0";
|
|
30804
|
+
function createServer(options) {
|
|
30805
|
+
return new McpServer({
|
|
30806
30806
|
name: options?.name ?? "gogcli",
|
|
30807
30807
|
version: options?.version ?? VERSION
|
|
30808
30808
|
});
|
|
30809
|
+
}
|
|
30810
|
+
function createBaseServer(options) {
|
|
30811
|
+
const server = createServer(options);
|
|
30809
30812
|
registerAuthTools(server);
|
|
30810
30813
|
registerCalendarTools(server);
|
|
30811
30814
|
registerContactsTools(server);
|
|
@@ -30820,6 +30823,15 @@ export {
|
|
|
30820
30823
|
VERSION,
|
|
30821
30824
|
accountParam,
|
|
30822
30825
|
createBaseServer,
|
|
30826
|
+
createServer,
|
|
30827
|
+
registerAuthTools,
|
|
30828
|
+
registerCalendarTools,
|
|
30829
|
+
registerContactsTools,
|
|
30830
|
+
registerDocsTools,
|
|
30831
|
+
registerDriveTools,
|
|
30832
|
+
registerGmailTools,
|
|
30833
|
+
registerSheetsTools,
|
|
30834
|
+
registerTasksTools,
|
|
30823
30835
|
run,
|
|
30824
30836
|
runOrDiagnose,
|
|
30825
30837
|
toError,
|
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp",
|
|
5
5
|
"display_name": "gogcli",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"description": "Google Sheets (and more) for Claude via gogcli — read, write, and manage spreadsheets",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
package/package.json
CHANGED
package/src/lib.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {
|
|
2
|
+
createServer,
|
|
3
|
+
createBaseServer,
|
|
4
|
+
VERSION,
|
|
5
|
+
registerAuthTools,
|
|
6
|
+
registerCalendarTools,
|
|
7
|
+
registerContactsTools,
|
|
8
|
+
registerDocsTools,
|
|
9
|
+
registerDriveTools,
|
|
10
|
+
registerGmailTools,
|
|
11
|
+
registerSheetsTools,
|
|
12
|
+
registerTasksTools,
|
|
13
|
+
} from './server.js';
|
|
2
14
|
export { run } from './runner.js';
|
|
3
15
|
export type { RunOptions, Spawner } from './runner.js';
|
|
4
16
|
export { accountParam, runOrDiagnose, toText, toError } from './tools/utils.js';
|
package/src/server.ts
CHANGED
|
@@ -12,11 +12,15 @@ import { registerTasksTools } from './tools/tasks.js';
|
|
|
12
12
|
declare const GOGCLI_VERSION: string;
|
|
13
13
|
export const VERSION = typeof GOGCLI_VERSION !== 'undefined' ? GOGCLI_VERSION : '0.0.0';
|
|
14
14
|
|
|
15
|
-
export function
|
|
16
|
-
|
|
15
|
+
export function createServer(options?: { name?: string; version?: string }): McpServer {
|
|
16
|
+
return new McpServer({
|
|
17
17
|
name: options?.name ?? 'gogcli',
|
|
18
18
|
version: options?.version ?? VERSION,
|
|
19
19
|
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function createBaseServer(options?: { name?: string; version?: string }): McpServer {
|
|
23
|
+
const server = createServer(options);
|
|
20
24
|
|
|
21
25
|
registerAuthTools(server);
|
|
22
26
|
registerCalendarTools(server);
|
|
@@ -29,3 +33,14 @@ export function createBaseServer(options?: { name?: string; version?: string }):
|
|
|
29
33
|
|
|
30
34
|
return server;
|
|
31
35
|
}
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
registerAuthTools,
|
|
39
|
+
registerCalendarTools,
|
|
40
|
+
registerContactsTools,
|
|
41
|
+
registerDocsTools,
|
|
42
|
+
registerDriveTools,
|
|
43
|
+
registerGmailTools,
|
|
44
|
+
registerSheetsTools,
|
|
45
|
+
registerTasksTools,
|
|
46
|
+
};
|