@dguido/google-workspace-mcp 1.0.0 → 1.2.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/LICENSE +1 -1
- package/README.md +40 -14
- package/dist/index.js +308 -274
- package/dist/index.js.map +4 -4
- package/package.json +3 -2
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -95,6 +95,28 @@ Create a presentation called "Product Roadmap" with slides for Q1 milestones.
|
|
|
95
95
|
|
|
96
96
|
Tokens are stored at `~/.config/google-workspace-mcp/tokens.json` by default.
|
|
97
97
|
|
|
98
|
+
### Token-Efficient Output (TOON)
|
|
99
|
+
|
|
100
|
+
For LLM-optimized responses that reduce token usage by 20-50%, enable TOON format:
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{
|
|
104
|
+
"mcpServers": {
|
|
105
|
+
"google-workspace": {
|
|
106
|
+
"command": "npx",
|
|
107
|
+
"args": ["@dguido/google-workspace-mcp"],
|
|
108
|
+
"env": {
|
|
109
|
+
"GOOGLE_DRIVE_OAUTH_CREDENTIALS": "/path/to/gcp-oauth.keys.json",
|
|
110
|
+
"GOOGLE_WORKSPACE_SERVICES": "drive,gmail,calendar",
|
|
111
|
+
"GOOGLE_WORKSPACE_TOON_FORMAT": "true"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
TOON (Token-Oriented Object Notation) encodes structured responses more compactly than JSON by eliminating repeated field names. Savings are highest for list operations (calendars, events, emails, filters).
|
|
119
|
+
|
|
98
120
|
### Service Configuration
|
|
99
121
|
|
|
100
122
|
By default, we recommend enabling only the core services (`drive,gmail,calendar`) as shown in Quick Start. This provides file management, email, and calendar capabilities without the complexity of document editing tools.
|
|
@@ -125,25 +147,33 @@ See [Advanced Configuration](docs/ADVANCED.md) for multi-account setup and envir
|
|
|
125
147
|
|
|
126
148
|
## Available Tools
|
|
127
149
|
|
|
128
|
-
### Drive
|
|
150
|
+
### Drive (29 tools)
|
|
151
|
+
|
|
152
|
+
`search` `listFolder` `createFolder` `createTextFile` `updateTextFile` `deleteItem` `renameItem` `moveItem` `copyFile` `getFileMetadata` `exportFile` `shareFile` `getSharing` `removePermission` `listRevisions` `restoreRevision` `downloadFile` `uploadFile` `getStorageQuota` `starFile` `resolveFilePath` `batchDelete` `batchRestore` `batchMove` `batchShare` `listTrash` `restoreFromTrash` `emptyTrash` `getFolderTree`
|
|
129
153
|
|
|
130
|
-
|
|
154
|
+
### Google Docs (8 tools)
|
|
131
155
|
|
|
132
|
-
|
|
156
|
+
`createGoogleDoc` `updateGoogleDoc` `getGoogleDocContent` `appendToDoc` `insertTextInDoc` `deleteTextInDoc` `replaceTextInDoc` `formatGoogleDocRange`
|
|
133
157
|
|
|
134
|
-
|
|
158
|
+
### Google Sheets (7 tools)
|
|
135
159
|
|
|
136
|
-
|
|
160
|
+
`createGoogleSheet` `updateGoogleSheet` `getGoogleSheetContent` `formatGoogleSheetCells` `mergeGoogleSheetCells` `addGoogleSheetConditionalFormat` `sheetTabs`
|
|
137
161
|
|
|
138
|
-
|
|
162
|
+
### Google Slides (10 tools)
|
|
139
163
|
|
|
140
|
-
|
|
164
|
+
`createGoogleSlides` `updateGoogleSlides` `getGoogleSlidesContent` `formatSlidesText` `formatSlidesShape` `formatSlideBackground` `createGoogleSlidesTextBox` `createGoogleSlidesShape` `slidesSpeakerNotes` `listSlidePages`
|
|
141
165
|
|
|
142
|
-
|
|
166
|
+
### Calendar (7 tools)
|
|
143
167
|
|
|
144
|
-
|
|
168
|
+
`listCalendars` `listEvents` `getEvent` `createEvent` `updateEvent` `deleteEvent` `findFreeTime`
|
|
145
169
|
|
|
146
|
-
|
|
170
|
+
### Gmail (14 tools)
|
|
171
|
+
|
|
172
|
+
`sendEmail` `draftEmail` `readEmail` `searchEmails` `deleteEmail` `modifyEmail` `downloadAttachment` `listLabels` `getOrCreateLabel` `updateLabel` `deleteLabel` `createFilter` `listFilters` `deleteFilter`
|
|
173
|
+
|
|
174
|
+
### Unified (3 tools)
|
|
175
|
+
|
|
176
|
+
`createFile` `updateFile` `getFileContent`
|
|
147
177
|
|
|
148
178
|
[Full API Reference](docs/API.md)
|
|
149
179
|
|
|
@@ -194,10 +224,6 @@ npm test # Run tests
|
|
|
194
224
|
|
|
195
225
|
See [Contributing Guide](CONTRIBUTING.md) for project structure and development workflow.
|
|
196
226
|
|
|
197
|
-
## Docker
|
|
198
|
-
|
|
199
|
-
See [Docker Usage](docs/DOCKER.md) for containerized deployment.
|
|
200
|
-
|
|
201
227
|
## Links
|
|
202
228
|
|
|
203
229
|
- [GitHub Repository](https://github.com/dguido/google-workspace-mcp)
|