# Connect Google Drive to your AI agent

> Yes — ClawLink is a hosted Google Drive MCP server. 76 tools your agent can call from chat, with one-click hosted OAuth and nothing to run locally.

Web version: https://claw-link.dev/hub/google-drive

ClawLink hosts a managed Google Drive MCP server that exposes 76 tools to your AI agent. You connect Google Drive in one click, and your agent can read, create, and update Google Drive data from chat without you building or running a local MCP server.

## Quick facts

- 76 tools callable from chat
- One-click hosted OAuth
- Works with OpenClaw, Hermes, Claude Code, Cursor, Codex, and any MCP client
- No local server or config files

## Overview

The usual path is: build auth, handle token refresh, wire up the tools. With ClawLink you connect Google Drive once and start using the real actions from the agent.

## Setup

Google Drive uses OAuth. You connect it in the browser: click Connect, sign in, approve. ClawLink stores the token and refreshes it on its own. You never touch a key or wire up a redirect URL.

Authentication: hosted OAuth

## What you can do

- **Read and write from chat** — Query, create, and update Google Drive items the moment a question comes up. No export step.
- **Go from insight to action** — The agent reads Google Drive, sums up what matters, and helps you decide the next step.
- **Keep analysis close to the work** — Turning Google Drive data into a follow-up task happens inside one flow.

## Google Drive tools

76 Google Drive tools, ready the moment you connect.

- `googledrive_copy_file_advanced` — Copy a file with advanced options
- `googledrive_create_comment` — Create a comment on a Drive file
- `googledrive_create_drive` — Create a new shared drive
- `googledrive_create_file` — Create a new file or folder with metadata
- `googledrive_create_file_from_text` — Create a Drive file from text content
- `googledrive_create_folder` — Create a new folder in Google Drive
- `googledrive_create_permission` — Share a file or folder with users or make it public
- `googledrive_create_reply` — Reply to a comment on a Drive file
- `googledrive_create_shortcut_to_file` — Create a shortcut to an existing Drive item
- `googledrive_download_file` — Download a file from Google Drive
- `googledrive_edit_file` — Update a Drive file's content (non-Google Workspace)
- `googledrive_export_google_workspace_file` — Export a Google Workspace doc to a specific format
- `googledrive_find_file` — Search for files in Google Drive by name, MIME type, or query
- `googledrive_find_folder` — Find a folder in Google Drive by name
- `googledrive_get_about` — Get user, Drive, and storage quota info
- `googledrive_get_drive` — Get a shared drive by ID
- `googledrive_get_file_metadata` — Get a file's metadata by ID
- `googledrive_list_comments` — List comments on a Google Drive file
- `googledrive_list_permissions` — List a file's sharing permissions
- `googledrive_list_replies` — List replies to a comment
- `googledrive_list_revisions` — List a file's revision history
- `googledrive_list_shared_drives` — List the user's shared drives
- `googledrive_move_file` — Move a file to a different folder
- `googledrive_update_file_put` — Update file metadata like name, description, or parents
- `googledrive_upload_file` — Upload a file to Google Drive
- `googledrive_upload_from_url` — Fetch a URL and upload it to Google Drive
- `googledrive_download_file_operation` — Download file content using long-running operations
- `googledrive_generate_ids` — Generates a set of file IDs which can be provided in create or copy requests
- `googledrive_get_app` — Get information about a specific Drive app by ID
- `googledrive_get_changes_start_page_token` — Get the starting pageToken for listing future changes in Google Drive

## Example prompts

- **Googledrive copy file advanced:** Use Google Drive to googledrive copy file advanced and walk me through it.
- **Googledrive create comment:** Use Google Drive to googledrive create comment and walk me through it.
- **Googledrive create drive:** Use Google Drive to googledrive create drive and walk me through it.
- **Googledrive create file:** Use Google Drive to googledrive create file and walk me through it.

## ClawLink vs. building it yourself

| | Manual | ClawLink |
|---|---|---|
| Connection | Build it yourself. You register a developer app with Google Drive, set up redirect URLs, handle the consent screen, store and refresh access tokens, and redo the wiring when scopes change. | Hosted hosted OAuth. Connect once in the browser. ClawLink owns the lifecycle. |
| Maintenance | Token refresh, permission debugging, env config, every edge case. All yours. | ClawLink handles the plumbing. You focus on the workflow. |
| Time to first call | Days to weeks. Auth, storage, tool wiring, testing. Then the agent can act. | About two minutes from sign-up to the agent calling Google Drive. |

## FAQ

### How do I connect Google Drive to my AI agent?

Install ClawLink, open the dashboard, click Connect next to Google Drive, and finish the hosted OAuth flow. Your agent can call Google Drive from the next message. Two minutes, total.

### Is there a Google Drive MCP server I can use?

Yes. ClawLink exposes Google Drive as 76 tools your agent calls through a hosted MCP-compatible runtime. You don't run a local server or edit a config file. The tools are there the moment you connect.

### Do I need Google Drive API credentials?

No separate API key. You sign in to Google Drive through the normal OAuth flow and ClawLink handles the token after that.

### How much does it cost?

Your first integration is free, plus a 7-day trial of the full catalog. Paid plans unlock the rest of the library.

### Can I set this up from the terminal instead of the dashboard?

Yes. Run npx -y @useclawlink/cli login, then npx -y @useclawlink/cli connect google-drive. The first opens a browser to sign in to ClawLink. The second opens a browser to authorize Google Drive. No API keys to create. Works with OpenClaw, Hermes, Claude Code, Cursor, Codex, and any agent that runs shell commands.
