@piotr-agier/google-drive-mcp 1.4.0 → 1.6.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 +94 -0
- package/dist/index.js +800 -12
- package/dist/index.js.map +3 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -402,6 +402,24 @@ Add the server to your Claude Desktop configuration:
|
|
|
402
402
|
- `exportMimeType`: For Google Workspace files, MIME type to export as (optional, e.g., 'application/pdf', 'text/csv')
|
|
403
403
|
- `overwrite`: Whether to overwrite existing files (optional, default: false)
|
|
404
404
|
|
|
405
|
+
#### PDF Ingestion and Conversion (v1.6.0)
|
|
406
|
+
- **convertPdfToGoogleDoc** - Convert a PDF already stored in Drive into an editable Google Doc
|
|
407
|
+
- `fileId`: Source PDF file ID
|
|
408
|
+
- `newName`: Optional destination doc name
|
|
409
|
+
- `parentFolderId`: Optional destination folder
|
|
410
|
+
|
|
411
|
+
- **bulkConvertFolderPdfs** - Convert all PDFs in a folder and return per-file success/failure summary
|
|
412
|
+
- `folderId`: Source folder ID
|
|
413
|
+
- `maxResults`: Maximum PDFs to process (optional, default: 100)
|
|
414
|
+
- `continueOnError`: Continue processing after individual failures (optional, default: true)
|
|
415
|
+
|
|
416
|
+
- **uploadPdfWithSplit** - Upload a local PDF, optionally split into chunked PDF parts before upload
|
|
417
|
+
- `localPath`: Absolute local path to PDF
|
|
418
|
+
- `split`: Enable split mode metadata output (optional, default: false)
|
|
419
|
+
- `maxPagesPerChunk`: Advisory chunk size for split planning (optional)
|
|
420
|
+
- `parentFolderId`: Optional destination folder
|
|
421
|
+
- `namePrefix`: Optional uploaded file name prefix
|
|
422
|
+
|
|
405
423
|
### Folder Operations
|
|
406
424
|
- **createFolder** - Create a new folder
|
|
407
425
|
- `name`: Folder name
|
|
@@ -433,6 +451,24 @@ Add the server to your Claude Desktop configuration:
|
|
|
433
451
|
- `documentId`: Document ID
|
|
434
452
|
- `includeContent`: Include content summary (character count) for each tab (optional)
|
|
435
453
|
|
|
454
|
+
- **addDocumentTab** - Add a new tab in a Google Doc
|
|
455
|
+
- `documentId`: Document ID
|
|
456
|
+
- `title`: Tab title
|
|
457
|
+
|
|
458
|
+
- **renameDocumentTab** - Rename an existing tab in a Google Doc
|
|
459
|
+
- `documentId`: Document ID
|
|
460
|
+
- `tabId`: Tab ID
|
|
461
|
+
- `title`: New tab title
|
|
462
|
+
|
|
463
|
+
- **insertSmartChip** - Insert a person smart chip (mention) at a document index. Only person chips are supported by the Docs API; date and file chips are read-only.
|
|
464
|
+
- `documentId`: Document ID
|
|
465
|
+
- `index`: Insertion index (1-based)
|
|
466
|
+
- `chipType`: `person` (only supported type)
|
|
467
|
+
- `personEmail`: Email address for the person mention
|
|
468
|
+
|
|
469
|
+
- **readSmartChips** - Read smart chip-like elements (person mentions, rich links, date chips) from the default tab of a document. Only the default tab is scanned; other tabs are not included.
|
|
470
|
+
- `documentId`: Document ID
|
|
471
|
+
|
|
436
472
|
- **listGoogleDocs** - List Google Documents with optional filtering
|
|
437
473
|
- `query`: Search query to filter by name or content (optional)
|
|
438
474
|
- `maxResults`: Maximum documents to return, 1-100 (optional, default: 20)
|
|
@@ -569,9 +605,41 @@ Add the server to your Claude Desktop configuration:
|
|
|
569
605
|
- `valueInputOption`: `RAW` or `USER_ENTERED` (optional, default: USER_ENTERED)
|
|
570
606
|
|
|
571
607
|
- **addSpreadsheetSheet** - Add a new sheet/tab to an existing spreadsheet
|
|
608
|
+
- **addSheet** - Alias for `addSpreadsheetSheet`
|
|
572
609
|
- `spreadsheetId`: Spreadsheet ID
|
|
573
610
|
- `sheetTitle`: Title for the new sheet
|
|
574
611
|
|
|
612
|
+
- **listSheets** - List tabs/sheets in a spreadsheet
|
|
613
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
614
|
+
|
|
615
|
+
- **renameSheet** - Rename a sheet/tab by `sheetId`
|
|
616
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
617
|
+
- `sheetId`: Sheet ID
|
|
618
|
+
- `newTitle`: New title
|
|
619
|
+
|
|
620
|
+
- **deleteSheet** - Delete a sheet/tab by `sheetId`
|
|
621
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
622
|
+
- `sheetId`: Sheet ID
|
|
623
|
+
|
|
624
|
+
- **addDataValidation** - Add data validation rules to a range
|
|
625
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
626
|
+
- `range`: A1 range (e.g., `Sheet1!A1:A10`)
|
|
627
|
+
- `conditionType`: `ONE_OF_LIST`, `NUMBER_GREATER`, `NUMBER_LESS`, or `TEXT_CONTAINS`
|
|
628
|
+
- `values`: Condition values (e.g. list items, threshold)
|
|
629
|
+
- `strict`: Reject invalid values (optional, default: `true`)
|
|
630
|
+
- `showCustomUi`: Show dropdown/custom UI (optional, default: `true`)
|
|
631
|
+
|
|
632
|
+
- **protectRange** - Protect a range in a spreadsheet
|
|
633
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
634
|
+
- `range`: A1 range
|
|
635
|
+
- `description`: Protection description (optional)
|
|
636
|
+
- `warningOnly`: Warn instead of enforce (optional, default: `false`)
|
|
637
|
+
|
|
638
|
+
- **addNamedRange** - Create a named range
|
|
639
|
+
- `spreadsheetId`: Spreadsheet ID
|
|
640
|
+
- `name`: Named range name
|
|
641
|
+
- `range`: A1 range
|
|
642
|
+
|
|
575
643
|
- **listGoogleSheets** - List Google Spreadsheets with optional filtering
|
|
576
644
|
- `query`: Search query to filter by name or content (optional)
|
|
577
645
|
- `maxResults`: Maximum spreadsheets to return, 1-100 (optional, default: 20)
|
|
@@ -694,6 +762,32 @@ Add the server to your Claude Desktop configuration:
|
|
|
694
762
|
- `slideIndex`: Slide index (0-based)
|
|
695
763
|
- `notes`: The speaker notes content to set
|
|
696
764
|
|
|
765
|
+
#### Slide Operations and Templating
|
|
766
|
+
- **deleteGoogleSlide** - Delete a slide by object ID
|
|
767
|
+
- `presentationId`: Presentation ID
|
|
768
|
+
- `slideObjectId`: Slide object ID
|
|
769
|
+
|
|
770
|
+
- **duplicateSlide** - Duplicate a slide by object ID
|
|
771
|
+
- `presentationId`: Presentation ID
|
|
772
|
+
- `slideObjectId`: Slide object ID
|
|
773
|
+
|
|
774
|
+
- **reorderSlides** - Reorder slides by object IDs and insertion index
|
|
775
|
+
- `presentationId`: Presentation ID
|
|
776
|
+
- `slideObjectIds`: Array of slide object IDs to move
|
|
777
|
+
- `insertionIndex`: Target insertion index
|
|
778
|
+
|
|
779
|
+
- **replaceAllTextInSlides** - Replace text across a presentation
|
|
780
|
+
- `presentationId`: Presentation ID
|
|
781
|
+
- `containsText`: Text to find
|
|
782
|
+
- `replaceText`: Replacement text
|
|
783
|
+
- `matchCase`: Match case (optional, default: `false`)
|
|
784
|
+
|
|
785
|
+
- **exportSlideThumbnail** - Export a slide thumbnail URL (PNG/JPEG, SMALL/MEDIUM/LARGE)
|
|
786
|
+
- `presentationId`: Presentation ID
|
|
787
|
+
- `slideObjectId`: Slide object ID
|
|
788
|
+
- `mimeType`: `PNG` or `JPEG` (optional, default: `PNG`)
|
|
789
|
+
- `size`: `SMALL`, `MEDIUM`, or `LARGE` (optional, default: `LARGE`)
|
|
790
|
+
|
|
697
791
|
### Google Calendar
|
|
698
792
|
- **listCalendars** - List all accessible Google Calendars
|
|
699
793
|
- `showHidden`: Include hidden calendars (optional, default: false)
|