Back to Browse

Google Tools MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Google tools for coding agents: Sheets, Gmail, Drive and Google Cloud.

About

Google tools for coding agents: Sheets, Gmail, Drive and Google Cloud.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (9/9 approved); 4 highly-trusted packages.

9 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "google-tools": {
      "command": "npx",
      "args": [
        "-y",
        "@craftsamo/google-tools@0.2.0"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

google-tools

Google tools for coding agents: Sheets, Gmail, Drive and Google Cloud.

HarnessDeliveryPinned by
OpenCode V2native plugin (npm package, with skills)the version in the package
OpenCode V1native plugin (npm package, no skills)the version in the package
Claude Codeplugin: MCP server and skillsthe release tag, as the ref
Codexplugin: MCP server and skillsthe release tag, as the ref
Grok Buildplugin: MCP server and skillsthe release tag, as @ref
Antigravityplugin: MCP server and skillsthe release tag's tree URL
Hermes Agentnative plugin (Python, calls the command line)the release commit, as the SHA
other MCP hostMCP server from npmthe version in the package

The tools need Node.js 24 or later. docs/conventions.md describes how the tools are named and how they behave.

Install

Install from a release, never from the default branch: a release is a tag whose commit carries the built dist/, and the default branch does not. In the commands below, <version> is a release's version (1.2.3) and <sha> is the commit its tag names:

gh api repos/craft-agent/google-tools/commits/v<version> --jq .sha

OpenCode

OpenCode V2 takes the package and its options in opencode.json:

{
  "plugins": [{ "package": "@craftsamo/google-tools@<version>", "options": { "read_only": false } }],
  "permissions": [{ "action": "google_*", "resource": "*", "effect": "ask" }]
}

OpenCode V1 takes the package as a string, or as a pair with its options:

{
  "plugin": [["@craftsamo/google-tools@<version>", { "read_only": false }]],
  "permission": { "google_*": "ask" }
}

OpenCode allows any action no rule names, so the plugin's request is granted silently unless a rule says ask. Read tools never ask, so the google_* glob is safe.

V1 registers no skills. Unpack the package and copy its skills/* folders into ~/.config/opencode/skills/:

npm pack @craftsamo/google-tools@<version>
tar -xzf craftsamo-google-tools-<version>.tgz
mkdir -p ~/.config/opencode/skills
cp -r package/skills/* ~/.config/opencode/skills/
rm -rf package craftsamo-google-tools-<version>.tgz

Claude Code

claude plugin marketplace add craft-agent/plugins
claude plugin install google-tools@craft-agent

craft-agent/plugins lists every craft-agent package at its latest release. To pin this package to a release instead, add its own marketplace at the tag, and do not install it from both:

claude plugin marketplace add craft-agent/google-tools#v<version>
claude plugin install google-tools@google-tools

If you added this repository as the craft-agent marketplace before, remove it first: claude plugin marketplace remove craft-agent.

Codex

codex plugin marketplace add craft-agent/plugins
codex plugin add google-tools@craft-agent

craft-agent/plugins lists every craft-agent package at its latest release. To pin this package to a release instead, add its own marketplace at the tag, and do not install it from both:

codex plugin marketplace add craft-agent/google-tools --ref v<version>
codex plugin add google-tools@google-tools

If you added this repository as the craft-agent marketplace before, remove it first: codex plugin marketplace remove craft-agent.

Codex turns - into _ in server names, so it shows the tools as mcp__google_tools__google_*. It starts the MCP server in the plugin's install directory and passes no roots, so the server takes each call's directory from what Codex sends with the call: its sandbox state, which the server asks for, else the one workspace it names.

The plugin declares default_tools_approval_mode = "writes": Codex asks before every tool not marked read-only. A user's [plugins."<plugin>".mcp_servers.<server>] setting can only tighten it. Setting auto there yields prompt (reads asked too), since Codex treats auto and writes as incomparable.

Grok Build

grok plugin install craft-agent/google-tools@v<version> --trust

Grok starts the MCP server in the session's working directory.

Antigravity

Install from the tree of the release tag, never from the default branch, which has no built dist/; Antigravity clones the tag into ~/.gemini/config/plugins/google-tools.

agy plugin install https://github.com/craft-agent/google-tools/tree/v<version>

Hermes Agent

Hermes installs a commit, not a tag, and the plugin installs disabled:

hermes plugins install craft-agent/google-tools --ref <sha>
hermes plugins enable google-tools

If a Hermes gateway is already running, restart it (hermes gateway restart) to load the plugin.

The plugin runs the Node it found when Hermes started. If a version manager removes that version while Hermes runs, a call looks for Node again; when it finds none, restart Hermes from a shell where node runs.

When the package's writes depend on another Hermes plugin, such as a guard that blocks writes no one is there to approve, name it in require_plugins. Hermes keeps loading this plugin when that one fails to import or register, and treats a manifest's requires_plugins as advisory. With the setting, while a named plugin is not loaded, every write is refused before it is approved, even under --yolo, approvals.mode: off or a remembered answer, naming the plugin that is missing. Reads still run.

plugins:
  entries:
    google-tools:
      settings:
        require_plugins: [write-guard]

Any other MCP host

Add the server to the host's MCP configuration. Flags go in args:

{
  "mcpServers": {
    "google-tools": {
      "command": "npx",
      "args": ["-y", "@craftsamo/google-tools@<version>", "--read-only"]
    }
  }
}

Tools and skills

Each toolset comes with a skill that tells an agent how to use its tools. A skill names its toolset under metadata in its frontmatter (metadata: { toolset: <name> }, written as a block). OpenCode V2 and Hermes register it only when the settings register at least one of that toolset's tools, so a profile with the toolset off, or with all its tools removed, does not see it; a skill without a toolset is always registered. Claude Code, Codex, Grok Build and Antigravity install the skill folder whole and pass the settings only to the MCP server, so they list every skill whatever the settings select. OpenCode V1 registers no skills, and its copied skills are all listed too.

Account (account)

On by default. Shows which Google accounts are set up and what each can reach.

ToolWhat it doesClass
google_account_readlist: each account's credential source, address, scopes, toolsets and problem. check: refresh the token and ask Google whose account it is, against the address recordedread

list reads local state and never contacts Google. Neither method returns a token, a client secret or a client id. When a credential needs a person, the result carries the one command to run.

Sheets (sheets)

On by default. Finds, reads and writes Google spreadsheets: their values, formatting, structure and protections. The format read also returns rich-text runs as text and styles, in transform's rich_text shape with a UTF-16 start index added. Only styled text within a cell's first 2,000 characters is returned; runs_clipped: true marks a run cut or dropped by that budget.

ToolWhat it doesClass
google_sheets_readlist: spreadsheets by name. view: a spreadsheet's tabs. values: cells of A1 ranges. snapshot: a tab or block exported as a PDF and rendered to PNG files. format: cell formats and sizes. structure: merges, groups, tables, rules, filters, views, charts and protections (and pivots on request). metadata: developer metadata by keyread
google_sheets_createcreate a spreadsheet, with named tabs if askedadd
google_sheets_tab_addadd a tab to a spreadsheetadd
google_sheets_appendadd rows below a range's data, or to a native tableadd
google_sheets_editoverwrite the cells of A1 rangesoverwrite
google_sheets_clearempty the values of A1 rangesoverwrite
google_sheets_formatcell formats, borders, sizes, hide, group, unmerge, freeze, tab colour, visibility, position and gridlinesidempotent change
google_sheets_addinsert rows and columns, duplicate a tab, add a table, conditional rule, validation, filter, filter view, chart, pivot or developer metadataadd
google_sheets_restructuredelete or move rows and columns, merge, delete or rename tabs, rename the spreadsheet, set its locale and time zone, change or delete tables, rules, validation, filters, views, charts, pivots and metadataadministrative
google_sheets_transformsort, find and replace, copy, cut, dedupe, trim, split text, autofill, notes, rich textadministrative
google_sheets_protectadd, change or delete protected rangesadministrative

The toolset asks for spreadsheets.readonly and drive.metadata.readonly to read, and spreadsheets to write; --read-only leaves the write scope out. A snapshot goes through Google's export, which takes the drive toolset's read scope, so a label that takes snapshots is logged in with the drive toolset too. format, add, restructure, transform and protect take a list of operations, each an op from the tool's own vocabulary, sent as one spreadsheets.batchUpdate, so all of them land or none does. edit, clear, restructure and transform take expect: up to 200 cells and the values they must show now, or a cell and the developer-metadata key (and value) its row must carry, so a row is found by its mark wherever sorting moved it. If any differs the call writes nothing and fails as stale, naming the cells. These four return before, the replaced cells, to give back to edit as an undo. protect lists every editor each protection leaves. Named ranges as ranges, slicers, banded ranges and data sources are not offered.

Gmail (gmail)

On by default. Finds and reads mail, sends it, keeps drafts, and keeps the mailbox in order with labels and the trash.

ToolWhat it doesClass
google_gmail_readsearch: messages by Gmail query. message, thread: their text and attachment lists. labels: the labels. drafts, draft: drafts. attachment: save one attachment under the download directoryread
google_gmail_sendsend a new mail or a reply, or an existing draft by draft_idadministrative
google_gmail_draft_createkeep a new mail as a draftadd
google_gmail_draft_editreplace the whole message of a draftoverwrite
google_gmail_draft_deletedelete a draft for goodadministrative
google_gmail_labeladd and remove labels on messages or threads (archive, mark read, star), or take mail out of the trashidempotent change
google_gmail_label_createcreate a label, with colours if askedadd
google_gmail_trashmove messages or threads to the trashoverwrite

The toolset asks for gmail.readonly to read, and gmail.send, gmail.compose and gmail.modify to write; --read-only asks only for gmail.readonly. Sending is administrative: it asks every time, and its prompt names every recipient, blind copies included. A grant over google_gmail_send can bound the number of recipients, whether a mail may go outside the account's own domain, and whether it may carry attachments. Attachments are read only from the directories of the upload_dirs setting, empty by default, so none can be attached until a person names one. Bodies are clipped (20,000 characters for a message, 60,000 for a thread) and the result says so. Permanent deletion, filters, forwarding and mailbox settings are not offered.

Drive (drive)

On by default. Finds, reads, downloads and exports files, shows who can reach a file, uploads files from the machine, and keeps in order what the tools made: folders, copies, names, places and the trash.

ToolWhat it doesClass
google_drive_readsearch: files by words or a Drive query. file: one file with who can reach it. drives: the shared drives. download: save a file, or a Google file exported, under the download directoryread
google_drive_uploadupload one file from an upload directory to My Drive or a folder only the account reachesadd
google_drive_folder_createcreate a folderadd
google_drive_copycopy one fileadd
google_drive_renamegive a file or folder a new nameidempotent change
google_drive_movemove a file or folder to another folderidempotent change
google_drive_trashmove files or folders to the trashoverwrite
google_drive_restoretake files or folders out of the trashidempotent change

The toolset asks for drive.readonly to read and drive.file to write; --read-only asks only for drive.readonly. drive.file reaches only the files and folders these tools created, or a person opened with them: Google refuses a write to any other, and the tool reports it as forbidden. Nothing is put into or taken out of a shared place: the destination of an upload, a new folder, a copy or a move must be a folder the account owns and no one else reaches (not in a shared drive, no permission beyond the owner's), since an item put in a folder takes its permissions, and an item in a shared folder or shared drive is not moved out. Uploads are read only from the directories of the upload_dirs setting, empty by default. A file under a directory of encrypt_dirs goes up only encrypted with age to the public keys of age_recipients (age must be installed), named .age; the package holds no secret key and never decrypts. Downloads are saved up to 2 GiB; a Google Docs, Sheets, Slides, Drawings or Apps Script file is exported (Google exports up to 10 MB, and not Vids). Trashed items are deleted by Drive after 30 days; google_drive_restore undoes it. Changing who can reach a file, deleting for good, revisions and managing shared drives are not offered.

Comments (comments)

On by default. Reads the comment threads of a spreadsheet or another Drive file, adds comments and replies, resolves and reopens threads, and edits and deletes the account's own comments.

ToolWhat it doesClass
google_comments_readthe comment threads of one file with their replies; in a spreadsheet, the cell of each, and ranges limits them to someread
google_comments_addadd a comment, or a reply to a thread; in a spreadsheet on one cell, and a thread may be assignedadministrative
google_comments_statusresolve or reopen a threadidempotent change
google_comments_editreplace the text of the account's own comment or replyoverwrite
google_comments_deletedelete the account's own comment with every reply in it, or one replyadministrative

The toolset asks for spreadsheets.readonly and drive.readonly to read and spreadsheets and drive.file to write; --read-only leaves the write scopes out. A spreadsheet's comments are its own, anchored to one cell. On any other file a comment is not anchored, and drive.file reaches only the files these tools created or a person opened with them: Google refuses a write to any other, and the tool reports it as forbidden. Adding is administrative: an assignee and every address a text mentions (+name@example.com) is emailed by Google, mail cannot be taken back, and the prompt lists them first. An edit that would mention a new address is refused, so an edit emails nobody. Google keeps no deleted comment, and a deleted thread takes its replies with it. Only the account's own comments are edited or deleted. A spreadsheet's change counts only when Google reports it saved; otherwise the tool says it may or may not have been made. Comments on files these tools did not create, anchoring a comment outside a spreadsheet and assigning one there are not offered.

Cloud Run (run)

Off by default. Reads a project's Cloud Run services and jobs, deploys them from the project's own images, splits traffic, runs and cancels jobs, and deletes revisions, services and jobs.

ToolWhat it doesClass
google_run_readservices, service: services with their traffic and settings. revisions, revision. jobs, job, executions, execution, tasks: jobs and their runs. iam: a service's or job's policy. operation: a changeread
google_run_service_deploydeploy an image to a service, creating it when there is noneoverwrite
google_run_traffic_setreplace a service's traffic split between its revisions and the latest, with tagsoverwrite
google_run_job_deploydeploy an image to a job, creating it when there is noneoverwrite
google_run_job_runstart an execution of a job, with overrides of plain variables, args, task count and timeout for that runadd
google_run_execution_cancelcancel an execution that is still runningoverwrite
google_run_revision_deletedelete a revision that no traffic or tag reachesadministrative
google_run_service_deletedelete a service with every revisionadministrative
google_run_job_deletedelete a job with its executionsadministrative

The toolset asks for run.readonly to read and run to write; --read-only asks only for run.readonly, and cloud-platform is never asked. Every call names its project and region, with no default. An image must sit in the project's own Artifact Registry or Container Registry; any other is refused before anyone is asked, and a grant over a deploy can bound the image's repository path (image, a prefix such as asia-northeast1-docker.pkg.dev/my-proj/apps/api). A deploy changes only the image and the settings its arguments name, on one container, and sends the rest of the service or job back as Google gave it; a new one takes Google's defaults, so invoking a service needs IAM. Environment values are never returned or shown: variables come back by name and kind, and one that references a secret is never set, removed or overridden. Writes wait up to two minutes for Google's operation and return it when it is still running; a job run returns once the execution has started. A revision that traffic or a tag still reaches is not deleted. Changing IAM or public access, the service account, ingress, network, secrets and volumes, building from source and deleting an execution are not offered.

revisions and revision return images already resolved to digests: images[].image and digest are the same …@sha256:… reference, not the tag deployed. A project that does not exist or whose Cloud Run Admin API is off is forbidden; a region that does not exist is upstream_error, with Google's reason (such as Unsupported region …) in the message. not_found means a service, job, revision, execution or operation does not exist.

YouTube (youtube)

Off by default. Reads public YouTube, a video's caption tracks and, for the channel a label was logged in for, its own uploads and analytics; edits, publishes, uploads and captions the channel's own videos; answers and moderates their comments; manages the channel's playlists; and changes the channel's settings and watermark.

ToolWhat it doesClass
google_youtube_readsearch: videos, channels or playlists. videos, channels: by id, handle or address. playlist: a playlist and its items. comments: a video's threads or a thread's replies. my_channel, my_videos: the channel and its uploads. captions: a video's tracks. analytics: reportsread
google_youtube_video_uploaduploads a video from upload_dirs, always privateadd
google_youtube_caption_addadds a caption track from a file that carries its timingsadd
google_youtube_video_editchanges a video's title, description, tags, category, languages, license, embedding, flags and localizationsoverwrite
google_youtube_thumbnail_setsets a video's custom thumbnail from a JPEG or PNGoverwrite
google_youtube_caption_updatereplaces a caption track's file or changes whether it is a draftoverwrite
google_youtube_privacy_setmakes a video or a playlist private, unlisted or public, or schedules a videoadministrative
google_youtube_comment_replyreplies as the channel to a comment thread on one of its videosadd
google_youtube_comment_moderatepublishes comments or holds them for reviewoverwrite
google_youtube_comment_rejectrejects comments for good, optionally banning their authorsadministrative
google_youtube_playlist_createcreates a playlist, always privateadd
google_youtube_playlist_editchanges a playlist's title, description, default language and localizationsoverwrite
google_youtube_playlist_addadds a video to a playlist, at a position and with a noteadd
google_youtube_playlist_movemoves a playlist entry to another positionidempotent
google_youtube_playlist_removetakes an entry out of a playlist; the video staysoverwrite
google_youtube_channel_editchanges the channel's description, keywords, country, default language and traileroverwrite
google_youtube_watermark_setsets the watermark shown on every video from a JPEG or PNGoverwrite
google_youtube_watermark_removeremoves the watermarkoverwrite

The writes reach the channel's own videos, comments, playlists and trailer only; another channel's is refused before anything is sent, and so is the uploads playlist. Replies go only to threads on the channel's own videos, and a rejected comment cannot be published again. A playlist is created private and, like a video, made unlisted or public with google_youtube_privacy_set. An upload always goes up private, since Google makes a video sent without a privacy public, and google_youtube_privacy_set publishes it once the person has seen it; it is administrative, so it asks every time. Files come from upload_dirs and are pinned to what the prompt showed; a file under encrypt_dirs is refused, since YouTube would hold only ciphertext. A video is at most 2 GiB, or what youtube_upload_max_gib sets; uploads come from a bucket of their own, 100 a day by default. Nothing deletes a video, a caption track, a comment or a playlist; marking spam and the whole channel's made-for-kids setting are not offered, and the channel's name, handle, picture, banner, links, home tab and translations stay with YouTube Studio.

The toolset asks for youtube.readonly and yt-analytics.readonly to read and youtube.force-ssl to write. Google serves comments and caption tracks only to youtube.force-ssl, so a label logged in with --read-only cannot read them. A consent picks one channel (a brand account's on Google's chooser), so log in a label per channel; an account with no channel reads public YouTube only. Enable the YouTube Data API v3 and the YouTube Analytics API in the client's Cloud project. Google counts quota per Cloud project and Pacific day, about 100 searches and 10,000 units for everything else, shared with whatever else uses the project; the tools do not count it, and a spent quota is rate_limited until midnight Pacific time. Transcripts and downloads of other channels' videos and settings only YouTube Studio changes are not offered.

Grants (grants)

Off by default. Delegates bounded writes for jobs where no person can answer.

ToolWhat it doesClass
google_grant_createask a person to delegate one tool's writes within limitsadministrative
google_grant_readlist grants and their use, or read the usage logread
google_grant_revokeremove a grant so no more calls run under itoverwrite

Every write tool can be granted for its targets, calls per hour and expiry. A tool adds what a grant can also limit by declaring bounds and giving measure(args, context) in its spec: a ceiling (max), a yes or no (allow), values from a list (oneOf) or the paths a value must sit under (prefix); see the conventions.

Google accounts

The tools call Google's APIs as you, through an OAuth client you create in a Google Cloud project of your own; the package ships none.

Documentation truncated — see the full README on GitHub.

Reviews

No reviews yet

Be the first to review this server!