Google Business MCP
Google Business MCP
Read-only MCP server for Google Merchant Center, Google Search Console, Google Drive, Google Analytics (GA4), and selected Google Workspace surfaces.
Use google_business as the only enabled day-to-day Google business MCP in
Codex. Separate docs MCPs and the Google Ads MCP can stay configured but
disabled unless they are needed later.
Setup
Create OAuth credentials in Google Cloud for a desktop app.
Enable these APIs in the same project:
Merchant API
Search Console API
Google Drive API
Gmail API
Google Calendar API
People API
Google Analytics Admin API
Google Analytics Data API
Create
~/.codex/secrets/google/google-business-mcp.envfrom.env.example.Run the OAuth helper:
python3 scripts/oauth_authorize.pyThe helper writes a refresh token to the token path configured in the env file.
Merchant API currently requires the https://www.googleapis.com/auth/content
OAuth scope. The MCP only exposes read-only tools, but Google does not provide a
separate Merchant API read-only OAuth scope.
Analytics tools use the read-only https://www.googleapis.com/auth/analytics.readonly
scope and require both the Google Analytics Admin API and the Google Analytics
Data API to be enabled in the project.
Local account labels
Optional local labels can be set in your private env file. Keep real account IDs, project numbers, login hints, and token paths out of git.
GOOGLE_BUSINESS_MERCHANT_ACCOUNTGOOGLE_BUSINESS_MERCHANT_DISPLAY_NAMEGOOGLE_BUSINESS_SEARCH_CONSOLE_SITEGOOGLE_ANALYTICS_PROPERTY_IDGOOGLE_CLOUD_PROJECT_NUMBER
Merchant notes
Product status and product issue data comes from
issueresolution/v1/{account}/aggregateProductStatuses.merchant.list_product_issuesflattens theitemLevelIssuesreturned by aggregate product statuses.Valid Merchant reports queries use lowercase MCQL view names, for example:
SELECT date, impressions, clicks
FROM product_performance_view
WHERE date DURING LAST_7_DAYS
LIMIT 5Read-only tools
google.help_overviewgoogle.docs_linksmerchant.list_accountsmerchant.list_productsmerchant.get_productmerchant.list_product_statusesmerchant.list_product_issuesmerchant.query_reportsmerchant.query_examplesgsc.list_sitesgsc.search_analyticsgsc.inspect_urlgsc.list_sitemapsgsc.get_sitemapdrive.list_recent_filesdrive.search_filesdrive.get_file_metadatadrive.get_file_permissionsdrive.read_file_contentdrive.download_file_contentgmail.list_labelsgmail.search_threadsgmail.get_threadcalendar.list_calendarscalendar.list_eventscalendar.get_eventpeople.get_user_profilepeople.search_contactspeople.search_directoryanalytics.list_account_summariesanalytics.list_propertiesanalytics.get_propertyanalytics.get_metadataanalytics.run_reportanalytics.run_realtime_report
Google Workspace MCP note
Google's official Workspace MCP servers are live as a Developer Preview as of July 2026. This local MCP remains a durable Codex-side, read-only Google business and Workspace surface for Merchant Center, Search Console, Drive, Gmail, Calendar, and People.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mohammadtakneshan/google-business-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server