npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lengelhard/google-drive-mcp

v1.0.0

Published

MCP server for Google Drive, Docs, Sheets, and Slides

Readme

@lengelhard/google-drive-mcp

MCP server for Google Drive, Docs, Sheets, and Slides. Private fork of piotr-agier/google-drive-mcp (v1.7.4), cleaned and rebranded. Calendar tools disabled (covered by claude.ai's built-in Google Calendar connector).

Setup

Prerequisites

  • Node.js 18+
  • Google Cloud Project with Drive, Docs, Sheets, and Slides APIs enabled
  • OAuth 2.0 Desktop credentials (gcp-oauth.keys.json)

Install & Build

git clone https://github.com/lengelhard/google-drive-mcp.git
cd google-drive-mcp
npm install
npm run build

Authenticate

node dist/index.js auth

Tokens are saved to ~/.config/google-drive-mcp/tokens.json (0600 permissions).

Claude Desktop Config

{
  "mcpServers": {
    "google-drive": {
      "command": "node",
      "args": ["/Users/loicengelhard/google-drive-mcp/dist/index.js"],
      "env": {
        "GOOGLE_DRIVE_OAUTH_CREDENTIALS": "/Users/loicengelhard/.config/google-drive-mcp/gcp-oauth.keys.json"
      }
    }
  }
}

Scope Configuration

Default scopes: drive, drive.file, drive.readonly, documents, spreadsheets, presentations.

To narrow scopes:

export GOOGLE_DRIVE_MCP_SCOPES="drive.file,documents,spreadsheets,presentations"

Changing scopes requires re-authentication.

Available Tools

Drive

search, listFolder, listSharedDrives, createTextFile, updateTextFile, deleteItem (trash only), renameItem, moveItem, copyFile, createFolder, uploadFile, downloadFile

Permissions

listPermissions, addPermission, updatePermission, removePermission, shareFile

Revisions & Auth Diagnostics

getRevisions, restoreRevision (requires confirm: true), authGetStatus, authListScopes, authTestFileAccess

PDF

convertPdfToGoogleDoc, bulkConvertFolderPdfs, uploadPdfWithSplit

Google Docs

createGoogleDoc, updateGoogleDoc, readGoogleDoc, getGoogleDocContent, listDocumentTabs, addDocumentTab, renameDocumentTab, insertSmartChip, readSmartChips, listGoogleDocs, getDocumentInfo, insertText, deleteRange, applyTextStyle, applyParagraphStyle, formatGoogleDocText, formatGoogleDocParagraph, createParagraphBullets, findAndReplaceInDoc, insertTable, editTableCell, insertImageFromUrl, insertLocalImage, listComments, getComment, addComment, replyToComment, deleteComment

Google Sheets

createGoogleSheet, updateGoogleSheet, getGoogleSheetContent, getSpreadsheetInfo, appendSpreadsheetRows, addSpreadsheetSheet / addSheet, listSheets, renameSheet, deleteSheet, addDataValidation, protectRange, addNamedRange, listGoogleSheets, formatGoogleSheetCells, formatGoogleSheetText, formatGoogleSheetNumbers, setGoogleSheetBorders, mergeGoogleSheetCells, addGoogleSheetConditionalFormat

Google Slides

createGoogleSlides, updateGoogleSlides, getGoogleSlidesContent, formatGoogleSlidesText, formatGoogleSlidesParagraph, styleGoogleSlidesShape, setGoogleSlidesBackground, createGoogleSlidesTextBox, createGoogleSlidesShape, getGoogleSlidesSpeakerNotes, updateGoogleSlidesSpeakerNotes, deleteGoogleSlide, duplicateSlide, reorderSlides, replaceAllTextInSlides, exportSlideThumbnail

Environment Variables

| Variable | Description | Default | |---|---|---| | GOOGLE_DRIVE_OAUTH_CREDENTIALS | Path to OAuth credentials JSON | ~/.config/google-drive-mcp/gcp-oauth.keys.json | | GOOGLE_DRIVE_MCP_TOKEN_PATH | Custom token storage path | ~/.config/google-drive-mcp/tokens.json | | GOOGLE_DRIVE_MCP_SCOPES | Comma-separated OAuth scope aliases | All scopes |

Notes

  • Google OAuth apps in "Testing" status expire refresh tokens after 7 days. Publish the app or re-authenticate weekly.
  • resolvePath() auto-creates intermediate folders when navigating paths like /Work/Projects.
  • USER_ENTERED mode in Sheets tools evaluates formulas — only use with trusted data.

License

MIT — see LICENSE.