gogcli-mcp 1.0.10 → 2.0.2
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 +6 -3
- package/SKILL.md +15 -36
- package/dist/index.js +869 -10
- package/dist/lib.js +880 -10
- package/manifest.json +229 -1
- package/package.json +18 -1
- package/src/lib.ts +15 -1
- package/src/server.ts +27 -3
- package/src/tools/classroom.ts +696 -0
- package/src/tools/drive.ts +17 -6
- package/src/tools/slides.ts +203 -0
- package/src/tools/utils.ts +9 -1
- package/tests/runner.test.ts +16 -0
- package/tests/server.test.ts +43 -0
- package/tests/tools/classroom.test.ts +875 -0
- package/tests/tools/drive.test.ts +49 -3
- package/tests/tools/slides.test.ts +441 -0
- package/tests/tools/utils.test.ts +65 -0
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# gogcli-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> **AI-developed project.** This codebase was built and is actively maintained by [Claude Code](https://www.anthropic.com/claude). Review all code and tool permissions before use.
|
|
5
|
+
|
|
6
|
+
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
7
|
|
|
5
8
|
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
9
|
|
|
@@ -43,12 +46,12 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|
|
|
43
46
|
claude mcp add gogcli-mcp -- gogcli-mcp
|
|
44
47
|
```
|
|
45
48
|
|
|
46
|
-
## Tools (
|
|
49
|
+
## Tools (52)
|
|
47
50
|
|
|
48
51
|
| Service | Tools | Includes |
|
|
49
52
|
|---------|-------|----------|
|
|
50
53
|
| **Sheets** | 8 | get, update, append, clear, metadata, create, find-replace, run |
|
|
51
|
-
| **Docs** |
|
|
54
|
+
| **Docs** | 7 | info, cat, create, write, find-replace, structure, run |
|
|
52
55
|
| **Gmail** | 4 | search, get, send, run |
|
|
53
56
|
| **Calendar** | 7 | events, get, create, update, delete, respond, run |
|
|
54
57
|
| **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.
|