Documentation
Google products as MCP servers for Claude Code, Codex, OpenCode and Antigravity
One plugin per Google product, 23 in all. Install only the products you use, sign in with your own Google credentials, and let an agent read your data and, when you allow it, change it.
- 23products
- 3558registered tools
- 393OAuth scopes
- 8login groups
What this is
google-services-mcps is a suite of Model Context Protocol servers for Google products. Each product is one plugin in one marketplace, and each plugin runs one local MCP server with the same name. The agent starts the server over stdio, the server calls Google's APIs with the credentials you give it, and every tool name starts with mcp__plugin_<product>_, so a call always traces back to one product.
The same servers run in four harnesses. Claude Code installs them as plugins from the google-services-mcps marketplace. The gsm installer writes the same servers into a Codex, an OpenCode or an Antigravity configuration. There is no build step and no server of the suite's own: the servers run on your machine, as you.
One plugin per product
A single plugin for every Google API would load thousands of tool definitions into every session. This suite splits the work by product instead, so you install only what you use.
- Install only what you use. Each plugin adds its tools to your session. Fewer plugins means less to load.
- Each product has its own login group. Products in one group share one login. A Search Console login does not reach Gmail.
- Switch one server off for a session. Use
/mcpto turn a server off and on again without uninstalling it. - Tool names show the product. Every tool name starts with
mcp__plugin_<product>_, so a call always traces back to one product.
The 23 products
Each product id is also its plugin name and its server name. The cards below are generated from the plugin folders at build time, and each one links to the product's page with its tools, its scopes and its login group.
Workspace Admin
gadminGoogle Workspace administration: Cloud Identity, Chrome management and policy, Groups Settings, licensing, reports, alerts, Vault, reseller and Cloud Search admin.
Ads and Publisher
gadsGoogle Ads API (accounts, campaigns, ad groups, ads, keywords, budgets, conversions, assets and GAQL reporting, with every other method through the gateway), plus advertising and publisher APIs: Search Ads 360, Display & Video 360, Campaign Manager, Ad Exchange, AdSense, AdMob, Real-time Bidding and more.
AI and ML
gaiGenerative and classic AI APIs: Discovery Engine, Vertex AI, Dialogflow, Vision, Speech, Translate, Document AI and agent services.
Google Analytics
ganalyticsGoogle Analytics admin and data APIs for GA4 properties, configuration and reports.
Apps Script
gappsApps Script projects and execution, plus the Workspace Marketplace SDK.
Business Profile
gbusinessBusiness Profile accounts, locations, verifications, lodging, place actions, notifications and performance.
Google Calendar
gcalendarGoogle Calendar calendars, events and calendar settings.
Google Chat
gchatGoogle Chat spaces, messages and members, plus Workspace Events subscriptions.
Google Classroom
gclassroomGoogle Classroom courses, coursework, submissions, students and teachers.
Google Cloud
gcloudGoogle Cloud console APIs: projects, service enablement, API keys, billing, monitoring, storage, BigQuery and IAM, plus the rest of the infrastructure, data, devops, networking, security and governance APIs.
Contacts and Profile
gcontactsGoogle Contacts and People, personal health metrics, Data Portability, and the OAuth2 userinfo endpoints.
Google Drive and Docs
gdriveGoogle Drive files, labels and activity, plus Docs, Sheets, Slides, Forms and Books.
Firebase
gfirebaseFirebase management, App Check, App Distribution, Crashlytics, Hosting, Data Connect, Rules, Test Lab, FCM and Identity Toolkit.
Gmail
gmailGmail mailboxes, messages, labels and settings, plus Gmail Postmaster Tools.
Maps and Location
gmapsMaps Platform and location APIs: Places, Address Validation, Solar, Air Quality, Pollen, Street View Publish and related datasets.
Google Meet
gmeetGoogle Meet spaces, conference records, participants and recordings.
Merchant Center
gmerchantMerchant Center: Merchant API and Comparison Shopping Service, through a service account key.
Google Play
gplayGoogle Play developer publishing and reporting, Play Games Services, Android Enterprise and Management, Play Integrity and device APIs.
Search Console
gscSearch Console sites, sitemaps, search analytics, URL indexing and site verification.
Search and Web Quality
gsearchPublic search and web-quality APIs (Custom Search, PageSpeed, CrUX, Safe Browsing, Web Risk, Fact Check) that take an API key instead of OAuth. The Custom Search JSON API is closed to new customers and is scheduled to be discontinued on 2027-01-01.
Tasks and Keep
gtasksGoogle Tasks task lists and tasks, plus Google Keep notes.
Tag Manager
gtmGoogle Tag Manager accounts, containers, tags, triggers and variables.
YouTube and Blogger
gyoutubeYouTube Data, YouTube Analytics and YouTube Reporting APIs, plus Blogger.
How the pieces connect
The marketplace lists the plugins. A plugin holds one MCP server, a consent hook for Claude Code, a tool map and a skill. The server reads your tokens from the token directory and calls Google over HTTPS. The hook runs before each tool call and asks before a change.
Codex, OpenCode and Antigravity have no approval hook in this suite. A client that cannot ask for approval is refused every change, so nothing runs without a confirmation. The full model is on the architecture page.
Install
One command installs the suite and Gmail for Claude Code. It adds the marketplace and installs the gmail plugin for your user account, the default scope. It checks what Claude Code needs first and writes nothing until that is in place.
Install Gmail for Claude Code
npx google-services-mcps install --agent claude --plugin gmailRun the command with no arguments in a terminal to open a guided menu instead. The menu asks for the agent, the products and the scope, shows the exact command it will run, and previews it with --dry-run. Every route and every flag is on the install page.
Safe by default
The controls apply in order, and one failing layer does not let a change through.
- Token scopes. A login asks only for the scopes of its profile:
readonly(the default),readwrite,full, or an exact list. Google rejects any call outside them. - Tool registration. A write or destructive tool is listed only when Allow write tools is on. It is off by default.
- Approval gate. In Claude Code a
PreToolUsehook asks before every change. The hook never allows a call, so your own permission rules still apply. Destructive actions ask twice: once in the hook and once in an Approve this action? form. - Confirmation setting.
every-changeis the default.destructive-onlyasks only before deleting, sending, sharing, publishing and the other destructive actions.offasks for nothing, and deny rules still apply. - Policy file.
policy.jsonin the token directory holdsallow,askanddenyrules. A matching deny always wins. - Audit log. Each gated action writes one JSON line with the time, tool, method, decision and outcome, and a hash of the arguments, never the values.
The configuration page lists the settings by name, and the troubleshooting page covers the messages the suite prints.
Status
The suite is in beta. The code is built and tested offline: the unit and build tests pass, a smoke test starts all 23 servers over stdio, and Claude plugin validation passes for the marketplace and the Gmail plugin. Live Google accounts have been tested for three products only: gcloud (the project readiness check and enabling APIs), gsc (reads and a live login check) and gmail (reads, on six accounts). Nothing else has run against a real account, and no mail has been sent.
Test one product at a time, starting with a read, on an account where a mistake does no harm. The quick start walks through the first server.
Questions
The FAQ answers the questions people ask most: what it costs, which accounts are needed, whether data leaves your machine, and how this compares with Google's own MCP servers.
The project is independent and is not affiliated with Google. It is licensed under the Apache License, Version 2.0.