google-workspace-mcp-server 1.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.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +125 -0
  3. package/dist/constants.d.ts +7 -0
  4. package/dist/constants.d.ts.map +1 -0
  5. package/dist/constants.js +12 -0
  6. package/dist/constants.js.map +1 -0
  7. package/dist/index.d.ts +10 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +38 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/schemas/docs.d.ts +36 -0
  12. package/dist/schemas/docs.d.ts.map +1 -0
  13. package/dist/schemas/docs.js +28 -0
  14. package/dist/schemas/docs.js.map +1 -0
  15. package/dist/schemas/drive.d.ts +113 -0
  16. package/dist/schemas/drive.d.ts.map +1 -0
  17. package/dist/schemas/drive.js +101 -0
  18. package/dist/schemas/drive.js.map +1 -0
  19. package/dist/schemas/sheets.d.ts +121 -0
  20. package/dist/schemas/sheets.d.ts.map +1 -0
  21. package/dist/schemas/sheets.js +98 -0
  22. package/dist/schemas/sheets.js.map +1 -0
  23. package/dist/services/google-auth.d.ts +7 -0
  24. package/dist/services/google-auth.d.ts.map +1 -0
  25. package/dist/services/google-auth.js +60 -0
  26. package/dist/services/google-auth.js.map +1 -0
  27. package/dist/tools/docs.d.ts +3 -0
  28. package/dist/tools/docs.d.ts.map +1 -0
  29. package/dist/tools/docs.js +222 -0
  30. package/dist/tools/docs.js.map +1 -0
  31. package/dist/tools/drive.d.ts +3 -0
  32. package/dist/tools/drive.d.ts.map +1 -0
  33. package/dist/tools/drive.js +586 -0
  34. package/dist/tools/drive.js.map +1 -0
  35. package/dist/tools/sheets.d.ts +3 -0
  36. package/dist/tools/sheets.d.ts.map +1 -0
  37. package/dist/tools/sheets.js +553 -0
  38. package/dist/tools/sheets.js.map +1 -0
  39. package/dist/types.d.ts +41 -0
  40. package/dist/types.d.ts.map +1 -0
  41. package/dist/types.js +2 -0
  42. package/dist/types.js.map +1 -0
  43. package/package.json +56 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Nityesh Agarwal
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # Google Workspace MCP Server
2
+
3
+ MCP server for Google Workspace APIs - Docs, Sheets, and Drive Comments.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npx google-workspace-mcp-server
9
+ ```
10
+
11
+ Or install globally:
12
+
13
+ ```bash
14
+ npm install -g google-workspace-mcp-server
15
+ google-workspace-mcp-server
16
+ ```
17
+
18
+ ## Tools
19
+
20
+ ### Google Docs API
21
+
22
+ | Tool | Description |
23
+ |------|-------------|
24
+ | `docs_get_document` | Get document content by ID |
25
+ | `docs_create_document` | Create a new document |
26
+ | `docs_batch_update` | Insert/update/delete text, formatting, images, tables |
27
+
28
+ ### Google Sheets API
29
+
30
+ | Tool | Description |
31
+ |------|-------------|
32
+ | `sheets_get_spreadsheet` | Get spreadsheet metadata |
33
+ | `sheets_get_values` | Read cell values from a range |
34
+ | `sheets_batch_get_values` | Read from multiple ranges |
35
+ | `sheets_update_values` | Write values to a range |
36
+ | `sheets_append_values` | Append rows to a table |
37
+ | `sheets_create_spreadsheet` | Create a new spreadsheet |
38
+ | `sheets_batch_update` | Apply formatting, charts, filters |
39
+ | `sheets_clear_values` | Clear cell values from a range |
40
+
41
+ ### Google Drive API (Comments)
42
+
43
+ | Tool | Description |
44
+ |------|-------------|
45
+ | `drive_list_comments` | List comments on a document |
46
+ | `drive_create_comment` | Add a comment (anchored or unanchored) |
47
+ | `drive_reply_to_comment` | Reply to an existing comment |
48
+ | `drive_resolve_comment` | Mark comment as resolved |
49
+ | `drive_delete_comment` | Delete a comment |
50
+
51
+ ## Setup
52
+
53
+ ### 1. Create OAuth Credentials
54
+
55
+ 1. Go to [Google Cloud Console](https://console.cloud.google.com/)
56
+ 2. Create a project (or select existing)
57
+ 3. Enable **Google Docs API**, **Google Sheets API**, and **Google Drive API**
58
+ 4. Go to **APIs & Services > Credentials**
59
+ 5. Click **Create Credentials > OAuth client ID**
60
+ 6. Choose **Web application**
61
+ 7. Add `https://developers.google.com/oauthplayground` as an **Authorized redirect URI**
62
+ 8. Save your **Client ID** and **Client Secret**
63
+
64
+ ### 2. Get Refresh Token
65
+
66
+ 1. Go to [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/)
67
+ 2. Click the **gear icon** (top right) > check **"Use your own OAuth credentials"**
68
+ 3. Enter your **Client ID** and **Client Secret**
69
+ 4. In the left panel, select scopes:
70
+ - `Google Docs API v1` > `https://www.googleapis.com/auth/documents`
71
+ - `Google Sheets API v4` > `https://www.googleapis.com/auth/spreadsheets`
72
+ - `Google Drive API v3` > `https://www.googleapis.com/auth/drive`
73
+ 5. Click **Authorize APIs** > sign in with your Google account
74
+ 6. Click **Exchange authorization code for tokens**
75
+ 7. Copy the **Refresh Token**
76
+
77
+ ### 3. Claude Code Configuration
78
+
79
+ Add to your Claude Code settings (`~/.claude.json` or project settings):
80
+
81
+ ```json
82
+ {
83
+ "mcpServers": {
84
+ "google-workspace": {
85
+ "type": "stdio",
86
+ "command": "npx",
87
+ "args": ["google-workspace-mcp-server"],
88
+ "env": {
89
+ "GOOGLE_CLIENT_ID": "your-client-id",
90
+ "GOOGLE_CLIENT_SECRET": "your-client-secret",
91
+ "GOOGLE_REFRESH_TOKEN": "your-refresh-token"
92
+ }
93
+ }
94
+ }
95
+ }
96
+ ```
97
+
98
+ ## Environment Variables
99
+
100
+ | Variable | Description |
101
+ |----------|-------------|
102
+ | `GOOGLE_CLIENT_ID` | OAuth 2.0 Client ID from Google Cloud Console |
103
+ | `GOOGLE_CLIENT_SECRET` | OAuth 2.0 Client Secret |
104
+ | `GOOGLE_REFRESH_TOKEN` | Refresh token from OAuth Playground |
105
+
106
+ ## Development
107
+
108
+ ```bash
109
+ # Clone the repo
110
+ git clone https://github.com/nityeshaga/google-workspace-mcp-server.git
111
+ cd google-workspace-mcp-server
112
+
113
+ # Install dependencies
114
+ npm install
115
+
116
+ # Build
117
+ npm run build
118
+
119
+ # Run locally
120
+ npm start
121
+ ```
122
+
123
+ ## License
124
+
125
+ MIT
@@ -0,0 +1,7 @@
1
+ export declare const CHARACTER_LIMIT = 25000;
2
+ export declare enum ResponseFormat {
3
+ MARKDOWN = "markdown",
4
+ JSON = "json"
5
+ }
6
+ export declare const SCOPES: string[];
7
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,QAAQ,CAAC;AAErC,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AAED,eAAO,MAAM,MAAM,UAIlB,CAAC"}
@@ -0,0 +1,12 @@
1
+ export const CHARACTER_LIMIT = 25000;
2
+ export var ResponseFormat;
3
+ (function (ResponseFormat) {
4
+ ResponseFormat["MARKDOWN"] = "markdown";
5
+ ResponseFormat["JSON"] = "json";
6
+ })(ResponseFormat || (ResponseFormat = {}));
7
+ export const SCOPES = [
8
+ "https://www.googleapis.com/auth/documents",
9
+ "https://www.googleapis.com/auth/drive",
10
+ "https://www.googleapis.com/auth/spreadsheets"
11
+ ];
12
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AAErC,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;AACf,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAED,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,2CAA2C;IAC3C,uCAAuC;IACvC,8CAA8C;CAC/C,CAAC"}
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * MCP Server for Google Workspace.
4
+ *
5
+ * This server provides tools to interact with Google Docs API, Google Drive
6
+ * Comments API, and Google Sheets API, enabling document creation, editing,
7
+ * spreadsheet operations, and comment management.
8
+ */
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;GAMG"}
package/dist/index.js ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * MCP Server for Google Workspace.
4
+ *
5
+ * This server provides tools to interact with Google Docs API, Google Drive
6
+ * Comments API, and Google Sheets API, enabling document creation, editing,
7
+ * spreadsheet operations, and comment management.
8
+ */
9
+ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
10
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
11
+ import { initializeGoogleAuth } from "./services/google-auth.js";
12
+ import { registerDocsTools } from "./tools/docs.js";
13
+ import { registerDriveTools } from "./tools/drive.js";
14
+ import { registerSheetsTools } from "./tools/sheets.js";
15
+ const server = new McpServer({
16
+ name: "google-workspace-mcp-server",
17
+ version: "1.0.0"
18
+ });
19
+ registerDocsTools(server);
20
+ registerDriveTools(server);
21
+ registerSheetsTools(server);
22
+ async function main() {
23
+ try {
24
+ initializeGoogleAuth();
25
+ }
26
+ catch (error) {
27
+ console.error("ERROR:", error instanceof Error ? error.message : String(error));
28
+ process.exit(1);
29
+ }
30
+ const transport = new StdioServerTransport();
31
+ await server.connect(transport);
32
+ console.error("Google Workspace MCP server running via stdio");
33
+ }
34
+ main().catch(error => {
35
+ console.error("Server error:", error);
36
+ process.exit(1);
37
+ });
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;IAC3B,IAAI,EAAE,6BAA6B;IACnC,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AAEH,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAC1B,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAC3B,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAE5B,KAAK,UAAU,IAAI;IACjB,IAAI,CAAC;QACH,oBAAoB,EAAE,CAAC;IACzB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAChF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;AACjE,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;IACnB,OAAO,CAAC,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;IACtC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { z } from "zod";
2
+ import { ResponseFormat } from "../constants.js";
3
+ export declare const GetDocumentSchema: z.ZodObject<{
4
+ document_id: z.ZodString;
5
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ document_id: string;
8
+ response_format: ResponseFormat;
9
+ }, {
10
+ document_id: string;
11
+ response_format?: ResponseFormat | undefined;
12
+ }>;
13
+ export type GetDocumentInput = z.infer<typeof GetDocumentSchema>;
14
+ export declare const CreateDocumentSchema: z.ZodObject<{
15
+ title: z.ZodString;
16
+ body_content: z.ZodOptional<z.ZodString>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ title: string;
19
+ body_content?: string | undefined;
20
+ }, {
21
+ title: string;
22
+ body_content?: string | undefined;
23
+ }>;
24
+ export type CreateDocumentInput = z.infer<typeof CreateDocumentSchema>;
25
+ export declare const BatchUpdateSchema: z.ZodObject<{
26
+ document_id: z.ZodString;
27
+ requests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
28
+ }, "strict", z.ZodTypeAny, {
29
+ document_id: string;
30
+ requests: Record<string, unknown>[];
31
+ }, {
32
+ document_id: string;
33
+ requests: Record<string, unknown>[];
34
+ }>;
35
+ export type BatchUpdateInput = z.infer<typeof BatchUpdateSchema>;
36
+ //# sourceMappingURL=docs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/schemas/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,eAAO,MAAM,iBAAiB;;;;;;;;;EAOnB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEjE,eAAO,MAAM,oBAAoB;;;;;;;;;EAQtB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,iBAAiB;;;;;;;;;EAOnB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from "zod";
2
+ import { ResponseFormat } from "../constants.js";
3
+ export const GetDocumentSchema = z.object({
4
+ document_id: z.string()
5
+ .min(1, "Document ID is required")
6
+ .describe("The ID of the Google Doc to retrieve (found in the URL)"),
7
+ response_format: z.nativeEnum(ResponseFormat)
8
+ .default(ResponseFormat.MARKDOWN)
9
+ .describe("Output format: 'markdown' for human-readable or 'json' for structured data")
10
+ }).strict();
11
+ export const CreateDocumentSchema = z.object({
12
+ title: z.string()
13
+ .min(1, "Title is required")
14
+ .max(500, "Title must not exceed 500 characters")
15
+ .describe("The title for the new document"),
16
+ body_content: z.string()
17
+ .optional()
18
+ .describe("Optional initial text content for the document body")
19
+ }).strict();
20
+ export const BatchUpdateSchema = z.object({
21
+ document_id: z.string()
22
+ .min(1, "Document ID is required")
23
+ .describe("The ID of the Google Doc to update"),
24
+ requests: z.array(z.record(z.unknown()))
25
+ .min(1, "At least one request is required")
26
+ .describe("Array of batch update request objects (see Google Docs API batchUpdate documentation)")
27
+ }).strict();
28
+ //# sourceMappingURL=docs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/schemas/docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;SACpB,GAAG,CAAC,CAAC,EAAE,yBAAyB,CAAC;SACjC,QAAQ,CAAC,yDAAyD,CAAC;IACtE,eAAe,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC;SAC1C,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC;SAChC,QAAQ,CAAC,4EAA4E,CAAC;CAC1F,CAAC,CAAC,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;SACd,GAAG,CAAC,CAAC,EAAE,mBAAmB,CAAC;SAC3B,GAAG,CAAC,GAAG,EAAE,sCAAsC,CAAC;SAChD,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;SACrB,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;CACnE,CAAC,CAAC,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;SACpB,GAAG,CAAC,CAAC,EAAE,yBAAyB,CAAC;SACjC,QAAQ,CAAC,oCAAoC,CAAC;IACjD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;SACrC,GAAG,CAAC,CAAC,EAAE,kCAAkC,CAAC;SAC1C,QAAQ,CAAC,uFAAuF,CAAC;CACrG,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,113 @@
1
+ import { z } from "zod";
2
+ import { ResponseFormat } from "../constants.js";
3
+ export declare const ListCommentsSchema: z.ZodObject<{
4
+ file_id: z.ZodString;
5
+ include_deleted: z.ZodDefault<z.ZodBoolean>;
6
+ page_size: z.ZodDefault<z.ZodNumber>;
7
+ page_token: z.ZodOptional<z.ZodString>;
8
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ response_format: ResponseFormat;
11
+ file_id: string;
12
+ include_deleted: boolean;
13
+ page_size: number;
14
+ page_token?: string | undefined;
15
+ }, {
16
+ file_id: string;
17
+ response_format?: ResponseFormat | undefined;
18
+ include_deleted?: boolean | undefined;
19
+ page_size?: number | undefined;
20
+ page_token?: string | undefined;
21
+ }>;
22
+ export type ListCommentsInput = z.infer<typeof ListCommentsSchema>;
23
+ export declare const CreateCommentSchema: z.ZodObject<{
24
+ file_id: z.ZodString;
25
+ content: z.ZodString;
26
+ quoted_text: z.ZodOptional<z.ZodString>;
27
+ }, "strict", z.ZodTypeAny, {
28
+ content: string;
29
+ file_id: string;
30
+ quoted_text?: string | undefined;
31
+ }, {
32
+ content: string;
33
+ file_id: string;
34
+ quoted_text?: string | undefined;
35
+ }>;
36
+ export type CreateCommentInput = z.infer<typeof CreateCommentSchema>;
37
+ export declare const ReplyToCommentSchema: z.ZodObject<{
38
+ file_id: z.ZodString;
39
+ comment_id: z.ZodString;
40
+ content: z.ZodString;
41
+ }, "strict", z.ZodTypeAny, {
42
+ content: string;
43
+ file_id: string;
44
+ comment_id: string;
45
+ }, {
46
+ content: string;
47
+ file_id: string;
48
+ comment_id: string;
49
+ }>;
50
+ export type ReplyToCommentInput = z.infer<typeof ReplyToCommentSchema>;
51
+ export declare const ResolveCommentSchema: z.ZodObject<{
52
+ file_id: z.ZodString;
53
+ comment_id: z.ZodString;
54
+ }, "strict", z.ZodTypeAny, {
55
+ file_id: string;
56
+ comment_id: string;
57
+ }, {
58
+ file_id: string;
59
+ comment_id: string;
60
+ }>;
61
+ export type ResolveCommentInput = z.infer<typeof ResolveCommentSchema>;
62
+ export declare const DeleteCommentSchema: z.ZodObject<{
63
+ file_id: z.ZodString;
64
+ comment_id: z.ZodString;
65
+ }, "strict", z.ZodTypeAny, {
66
+ file_id: string;
67
+ comment_id: string;
68
+ }, {
69
+ file_id: string;
70
+ comment_id: string;
71
+ }>;
72
+ export type DeleteCommentInput = z.infer<typeof DeleteCommentSchema>;
73
+ export declare const ListFilesSchema: z.ZodObject<{
74
+ page_size: z.ZodDefault<z.ZodNumber>;
75
+ page_token: z.ZodOptional<z.ZodString>;
76
+ order_by: z.ZodDefault<z.ZodString>;
77
+ mime_type: z.ZodDefault<z.ZodEnum<["all", "documents", "spreadsheets", "presentations", "folders"]>>;
78
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
79
+ }, "strict", z.ZodTypeAny, {
80
+ response_format: ResponseFormat;
81
+ page_size: number;
82
+ order_by: string;
83
+ mime_type: "all" | "documents" | "spreadsheets" | "presentations" | "folders";
84
+ page_token?: string | undefined;
85
+ }, {
86
+ response_format?: ResponseFormat | undefined;
87
+ page_size?: number | undefined;
88
+ page_token?: string | undefined;
89
+ order_by?: string | undefined;
90
+ mime_type?: "all" | "documents" | "spreadsheets" | "presentations" | "folders" | undefined;
91
+ }>;
92
+ export type ListFilesInput = z.infer<typeof ListFilesSchema>;
93
+ export declare const SearchFilesSchema: z.ZodObject<{
94
+ query: z.ZodString;
95
+ page_size: z.ZodDefault<z.ZodNumber>;
96
+ page_token: z.ZodOptional<z.ZodString>;
97
+ mime_type: z.ZodDefault<z.ZodEnum<["all", "documents", "spreadsheets", "presentations", "folders"]>>;
98
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
99
+ }, "strict", z.ZodTypeAny, {
100
+ response_format: ResponseFormat;
101
+ page_size: number;
102
+ mime_type: "all" | "documents" | "spreadsheets" | "presentations" | "folders";
103
+ query: string;
104
+ page_token?: string | undefined;
105
+ }, {
106
+ query: string;
107
+ response_format?: ResponseFormat | undefined;
108
+ page_size?: number | undefined;
109
+ page_token?: string | undefined;
110
+ mime_type?: "all" | "documents" | "spreadsheets" | "presentations" | "folders" | undefined;
111
+ }>;
112
+ export type SearchFilesInput = z.infer<typeof SearchFilesSchema>;
113
+ //# sourceMappingURL=drive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drive.d.ts","sourceRoot":"","sources":["../../src/schemas/drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAmBpB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAUrB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAUtB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,oBAAoB;;;;;;;;;EAOtB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,mBAAmB;;;;;;;;;EAOrB,CAAC;AAEZ,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAErE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;EAmBjB,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAmBnB,CAAC;AAEZ,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,101 @@
1
+ import { z } from "zod";
2
+ import { ResponseFormat } from "../constants.js";
3
+ export const ListCommentsSchema = z.object({
4
+ file_id: z.string()
5
+ .min(1, "File ID is required")
6
+ .describe("The ID of the Google Doc to list comments from"),
7
+ include_deleted: z.boolean()
8
+ .default(false)
9
+ .describe("Whether to include deleted comments"),
10
+ page_size: z.number()
11
+ .int()
12
+ .min(1)
13
+ .max(100)
14
+ .default(20)
15
+ .describe("Maximum number of comments to return (1-100)"),
16
+ page_token: z.string()
17
+ .optional()
18
+ .describe("Token for pagination to retrieve the next page of results"),
19
+ response_format: z.nativeEnum(ResponseFormat)
20
+ .default(ResponseFormat.MARKDOWN)
21
+ .describe("Output format: 'markdown' for human-readable or 'json' for structured data")
22
+ }).strict();
23
+ export const CreateCommentSchema = z.object({
24
+ file_id: z.string()
25
+ .min(1, "File ID is required")
26
+ .describe("The ID of the Google Doc to add a comment to"),
27
+ content: z.string()
28
+ .min(1, "Comment content is required")
29
+ .describe("The text content of the comment"),
30
+ quoted_text: z.string()
31
+ .optional()
32
+ .describe("Optional text to anchor the comment to (for anchored comments)")
33
+ }).strict();
34
+ export const ReplyToCommentSchema = z.object({
35
+ file_id: z.string()
36
+ .min(1, "File ID is required")
37
+ .describe("The ID of the Google Doc containing the comment"),
38
+ comment_id: z.string()
39
+ .min(1, "Comment ID is required")
40
+ .describe("The ID of the comment to reply to"),
41
+ content: z.string()
42
+ .min(1, "Reply content is required")
43
+ .describe("The text content of the reply")
44
+ }).strict();
45
+ export const ResolveCommentSchema = z.object({
46
+ file_id: z.string()
47
+ .min(1, "File ID is required")
48
+ .describe("The ID of the Google Doc containing the comment"),
49
+ comment_id: z.string()
50
+ .min(1, "Comment ID is required")
51
+ .describe("The ID of the comment to resolve")
52
+ }).strict();
53
+ export const DeleteCommentSchema = z.object({
54
+ file_id: z.string()
55
+ .min(1, "File ID is required")
56
+ .describe("The ID of the Google Doc containing the comment"),
57
+ comment_id: z.string()
58
+ .min(1, "Comment ID is required")
59
+ .describe("The ID of the comment to delete")
60
+ }).strict();
61
+ export const ListFilesSchema = z.object({
62
+ page_size: z.number()
63
+ .int()
64
+ .min(1)
65
+ .max(100)
66
+ .default(20)
67
+ .describe("Maximum number of files to return (1-100)"),
68
+ page_token: z.string()
69
+ .optional()
70
+ .describe("Token for pagination to retrieve the next page of results"),
71
+ order_by: z.string()
72
+ .default("modifiedTime desc")
73
+ .describe("Sort order (e.g., 'modifiedTime desc', 'name', 'createdTime desc')"),
74
+ mime_type: z.enum(["all", "documents", "spreadsheets", "presentations", "folders"])
75
+ .default("all")
76
+ .describe("Filter by file type"),
77
+ response_format: z.nativeEnum(ResponseFormat)
78
+ .default(ResponseFormat.MARKDOWN)
79
+ .describe("Output format: 'markdown' for human-readable or 'json' for structured data")
80
+ }).strict();
81
+ export const SearchFilesSchema = z.object({
82
+ query: z.string()
83
+ .min(1, "Search query is required")
84
+ .describe("Search query - searches file names and content"),
85
+ page_size: z.number()
86
+ .int()
87
+ .min(1)
88
+ .max(100)
89
+ .default(20)
90
+ .describe("Maximum number of files to return (1-100)"),
91
+ page_token: z.string()
92
+ .optional()
93
+ .describe("Token for pagination to retrieve the next page of results"),
94
+ mime_type: z.enum(["all", "documents", "spreadsheets", "presentations", "folders"])
95
+ .default("all")
96
+ .describe("Filter by file type"),
97
+ response_format: z.nativeEnum(ResponseFormat)
98
+ .default(ResponseFormat.MARKDOWN)
99
+ .describe("Output format: 'markdown' for human-readable or 'json' for structured data")
100
+ }).strict();
101
+ //# sourceMappingURL=drive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drive.js","sourceRoot":"","sources":["../../src/schemas/drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;SAChB,GAAG,CAAC,CAAC,EAAE,qBAAqB,CAAC;SAC7B,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE;SACzB,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,qCAAqC,CAAC;IAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;SAClB,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;SACnB,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,eAAe,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC;SAC1C,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC;SAChC,QAAQ,CAAC,4EAA4E,CAAC;CAC1F,CAAC,CAAC,MAAM,EAAE,CAAC;AAIZ,MAAM,CAAC,MAAM,mBAAmB,GAAG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,CAAC,CAAC,EAAE,0BAA0B,CAAC;SAClC,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;SAClB,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,2CAA2C,CAAC;IACxD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;SACnB,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,CAAC,CAAC;SAChF,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,qBAAqB,CAAC;IAClC,eAAe,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC;SAC1C,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC;SAChC,QAAQ,CAAC,4EAA4E,CAAC;CAC1F,CAAC,CAAC,MAAM,EAAE,CAAC"}
@@ -0,0 +1,121 @@
1
+ import { z } from "zod";
2
+ import { ResponseFormat } from "../constants.js";
3
+ export declare const GetSpreadsheetSchema: z.ZodObject<{
4
+ spreadsheet_id: z.ZodString;
5
+ include_grid_data: z.ZodDefault<z.ZodBoolean>;
6
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
7
+ }, "strict", z.ZodTypeAny, {
8
+ response_format: ResponseFormat;
9
+ spreadsheet_id: string;
10
+ include_grid_data: boolean;
11
+ }, {
12
+ spreadsheet_id: string;
13
+ response_format?: ResponseFormat | undefined;
14
+ include_grid_data?: boolean | undefined;
15
+ }>;
16
+ export type GetSpreadsheetInput = z.infer<typeof GetSpreadsheetSchema>;
17
+ export declare const GetValuesSchema: z.ZodObject<{
18
+ spreadsheet_id: z.ZodString;
19
+ range: z.ZodString;
20
+ major_dimension: z.ZodDefault<z.ZodEnum<["ROWS", "COLUMNS"]>>;
21
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
22
+ }, "strict", z.ZodTypeAny, {
23
+ response_format: ResponseFormat;
24
+ spreadsheet_id: string;
25
+ range: string;
26
+ major_dimension: "ROWS" | "COLUMNS";
27
+ }, {
28
+ spreadsheet_id: string;
29
+ range: string;
30
+ response_format?: ResponseFormat | undefined;
31
+ major_dimension?: "ROWS" | "COLUMNS" | undefined;
32
+ }>;
33
+ export type GetValuesInput = z.infer<typeof GetValuesSchema>;
34
+ export declare const BatchGetValuesSchema: z.ZodObject<{
35
+ spreadsheet_id: z.ZodString;
36
+ ranges: z.ZodArray<z.ZodString, "many">;
37
+ major_dimension: z.ZodDefault<z.ZodEnum<["ROWS", "COLUMNS"]>>;
38
+ response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
39
+ }, "strict", z.ZodTypeAny, {
40
+ response_format: ResponseFormat;
41
+ spreadsheet_id: string;
42
+ major_dimension: "ROWS" | "COLUMNS";
43
+ ranges: string[];
44
+ }, {
45
+ spreadsheet_id: string;
46
+ ranges: string[];
47
+ response_format?: ResponseFormat | undefined;
48
+ major_dimension?: "ROWS" | "COLUMNS" | undefined;
49
+ }>;
50
+ export type BatchGetValuesInput = z.infer<typeof BatchGetValuesSchema>;
51
+ export declare const UpdateValuesSchema: z.ZodObject<{
52
+ spreadsheet_id: z.ZodString;
53
+ range: z.ZodString;
54
+ values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">;
55
+ value_input_option: z.ZodDefault<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
56
+ }, "strict", z.ZodTypeAny, {
57
+ values: (string | number | boolean | null)[][];
58
+ spreadsheet_id: string;
59
+ range: string;
60
+ value_input_option: "RAW" | "USER_ENTERED";
61
+ }, {
62
+ values: (string | number | boolean | null)[][];
63
+ spreadsheet_id: string;
64
+ range: string;
65
+ value_input_option?: "RAW" | "USER_ENTERED" | undefined;
66
+ }>;
67
+ export type UpdateValuesInput = z.infer<typeof UpdateValuesSchema>;
68
+ export declare const AppendValuesSchema: z.ZodObject<{
69
+ spreadsheet_id: z.ZodString;
70
+ range: z.ZodString;
71
+ values: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">, "many">;
72
+ value_input_option: z.ZodDefault<z.ZodEnum<["RAW", "USER_ENTERED"]>>;
73
+ insert_data_option: z.ZodDefault<z.ZodEnum<["OVERWRITE", "INSERT_ROWS"]>>;
74
+ }, "strict", z.ZodTypeAny, {
75
+ values: (string | number | boolean | null)[][];
76
+ spreadsheet_id: string;
77
+ range: string;
78
+ value_input_option: "RAW" | "USER_ENTERED";
79
+ insert_data_option: "OVERWRITE" | "INSERT_ROWS";
80
+ }, {
81
+ values: (string | number | boolean | null)[][];
82
+ spreadsheet_id: string;
83
+ range: string;
84
+ value_input_option?: "RAW" | "USER_ENTERED" | undefined;
85
+ insert_data_option?: "OVERWRITE" | "INSERT_ROWS" | undefined;
86
+ }>;
87
+ export type AppendValuesInput = z.infer<typeof AppendValuesSchema>;
88
+ export declare const CreateSpreadsheetSchema: z.ZodObject<{
89
+ title: z.ZodString;
90
+ sheet_titles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ title: string;
93
+ sheet_titles?: string[] | undefined;
94
+ }, {
95
+ title: string;
96
+ sheet_titles?: string[] | undefined;
97
+ }>;
98
+ export type CreateSpreadsheetInput = z.infer<typeof CreateSpreadsheetSchema>;
99
+ export declare const BatchUpdateSpreadsheetSchema: z.ZodObject<{
100
+ spreadsheet_id: z.ZodString;
101
+ requests: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
102
+ }, "strict", z.ZodTypeAny, {
103
+ requests: Record<string, unknown>[];
104
+ spreadsheet_id: string;
105
+ }, {
106
+ requests: Record<string, unknown>[];
107
+ spreadsheet_id: string;
108
+ }>;
109
+ export type BatchUpdateSpreadsheetInput = z.infer<typeof BatchUpdateSpreadsheetSchema>;
110
+ export declare const ClearValuesSchema: z.ZodObject<{
111
+ spreadsheet_id: z.ZodString;
112
+ range: z.ZodString;
113
+ }, "strict", z.ZodTypeAny, {
114
+ spreadsheet_id: string;
115
+ range: string;
116
+ }, {
117
+ spreadsheet_id: string;
118
+ range: string;
119
+ }>;
120
+ export type ClearValuesInput = z.infer<typeof ClearValuesSchema>;
121
+ //# sourceMappingURL=sheets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sheets.d.ts","sourceRoot":"","sources":["../../src/schemas/sheets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAUtB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAajB,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAatB,CAAC;AAEZ,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAapB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEnE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAgBpB,CAAC;AAEZ,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,O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