drive-update-mcp
Provides tools to update, find, create, and manage revisions of files in Google Drive, using a service account for authentication.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@drive-update-mcpUpdate my 'Q4 Report' doc with the latest sales data"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
drive-update-mcp
A small remote MCP server that gives Claude one capability the built-in Google Drive connector is missing: updating an existing Drive file in place.
When Claude calls update_drive_file, the file keeps the same file ID, the same
shareable link, and Drive retains the previous version in its revision history. No
duplicates, no broken links.
How it works
Claude (claude.ai / app) ──► this MCP server (on Render) ──► Google Drive API
files.update() ← overwrites in placeClaude connects to the server from Anthropic's cloud using the Streamable HTTP MCP transport.
The server authenticates to Google Drive with a service account — no interactive Google login to manage. You grant it access to a file by sharing that file (or its folder) with the service-account's email address.
Tools exposed
Tool | What it does |
| Overwrite an existing file's contents by |
| Search by name to resolve a file's |
| Create a new file from base64 content (optionally in a folder). |
| Show a file's revision history. |
Related MCP server: Google Drive MCP Server
Prerequisites
A Google account with Google Drive.
A Google Cloud project (free).
A Render account (free tier is fine) — or any Node host that gives you an HTTPS URL.
A Claude Pro, Max, Team, or Enterprise plan (custom connectors are not on Free).
Setup
Part A — Create the Google service account
Go to the Google Cloud Console → create or pick a project.
APIs & Services → Library → enable the Google Drive API.
IAM & Admin → Service Accounts → Create service account (any name, e.g.
drive-updater).Open the service account → Keys → Add key → Create new key → JSON. A
.jsonfile downloads.Note the service account's email (looks like
drive-updater@your-project.iam.gserviceaccount.com).
Part B — Give the service account access to your file
The service account can only touch files that are shared with it.
In Google Drive, share the target file (or, easier, the folder that holds it) with the service-account email from step A5, with Editor permission.
Do this once per file/folder you want Claude to be able to update.
Tip: keep all the docs Claude manages in one folder and share just that folder.
Part C — Deploy to Render
Push this folder to a GitHub repo (or use Render's "deploy from local" / blueprint).
In Render: New → Web Service → point it at the repo.
render.yamlis included, so Render will pick up the build/start commands automatically. Otherwise set:Build command:
npm installStart command:
npm start
Add two Environment Variables:
GOOGLE_SERVICE_ACCOUNT_JSON→ paste the entire contents of the JSON key file from Part A4.MCP_AUTH_TOKEN→ a long random string you invent (this protects the endpoint).
Deploy. When it's live, confirm
https://YOUR-APP.onrender.com/healthreturns{"ok":true,...}.
Part D — Connect it to Claude
In Claude: Settings → Connectors → "+" → Add custom connector (on Pro/Max you may need to enable connector/developer features first).
Name:
Drive UpdateURL:
https://YOUR-APP.onrender.com/mcp?token=YOUR_MCP_AUTH_TOKEN(the?token=...is how the server authorises the call — use the same value asMCP_AUTH_TOKEN).Click Add. Leave the OAuth fields blank.
In a conversation, enable it via the "+" → Connectors toggle.
Using it with Claude
Once connected, the typical flow is:
You ask Claude to make changes to a document it produces.
Claude builds the updated file, then calls
find_files(to get thefileIdfrom the name) or you paste the Drive link, andupdate_drive_fileto overwrite it in place.
For the very first upload, the file has to exist in Drive (so it has an ID to update).
Either upload it once yourself, or have Claude call create_drive_file once; after
that, every change is an in-place update_drive_file.
Note on size: the new content is passed to the tool base64-encoded, so very large files mean large tool calls. For typical Office documents (well under a few MB) this is fine.
Security notes
The
MCP_AUTH_TOKENin the URL is what stops anyone else from driving your server. Treat that URL like a password; rotate the token if it leaks.The service account can reach only the files/folders you explicitly shared with it. It cannot see the rest of your Drive.
For a hardened setup you can replace the token gate with a full OAuth flow (Claude supports OAuth + Dynamic Client Registration); that's a later upgrade, not needed to start.
Local development
npm install
# put GOOGLE_SERVICE_ACCOUNT_JSON and MCP_AUTH_TOKEN in your shell env (or a .env loader)
npm start
# health check:
curl localhost:3000/healthdrive-update-mcp-
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/drboden/drive-update-mcp-'
If you have feedback or need assistance with the MCP directory API, please join our Discord server