Can the official Google Analytics MCP server meet our enterprise authentication requirement?
If your policy requires SSO, admin approval or a dedicated audit log for every AI tool, the official Google Analytics MCP server does not meet that requirement on its own terms. The Google developer page describes sign-in only through Google credentials, and the docs we reviewed describe no separate SSO, admin approval or audit log feature for the MCP server itself. Google also labels the server experimental in the repository README. Treat it as a tool to evaluate under compensating controls, not as an enterprise-managed connector.
Authentication uses Application Default Credentials. Staff can sign in with a Google user account through gcloud auth application-default login, or the server can run with a service account, either through a JSON key file pointed to by GOOGLE_APPLICATION_CREDENTIALS or by impersonating the service account with the gcloud CLI. Each path changes who the AI client acts as. A user credential carries that person's access, while a service account carries whatever roles it was granted. Confirm which model you will allow and who owns the credential lifecycle.
Access is controlled by Google Analytics property roles and Google Cloud project settings, not by the MCP server. The server calls the Google Analytics Admin API and the Google Analytics Data API, and both must be enabled in a Google Cloud project. Your checklist should therefore record the property roles each user or service account holds, which Cloud project hosts the enabled APIs, and who can grant those roles. Ask Google or your Google Analytics administrator to confirm how these settings apply to your organization, and check the current README, because the GitHub and PyPI descriptions of deployment mode differ.
Enterprise controls by capability and option
This table compares each enterprise control for the official Google Analytics MCP server by status: built in, relying on Google Analytics or Google Cloud controls, needing an outside component, or not documented. Read the status column first, then the confirmation column before approval. The main takeaway is that the docs reviewed describe no SSO, client approval or MCP-specific audit log, so those controls must come from your identity provider, Google Cloud configuration or a gateway you add.
| Capability | Status | What the docs say | Confirm before approval |
|---|---|---|---|
| Authentication with user credentials | Relies on Google Cloud controls | Application Default Credentials via gcloud auth application-default login for a Google user account. | Which user accounts may sign in and what project roles those users hold. |
| Service account key file | Relies on Google Cloud controls | GOOGLE_APPLICATION_CREDENTIALS can point to a JSON key file for a service account. | Key creation, rotation, storage and revocation policy in your Google Cloud project. |
| Service account impersonation | Relies on Google Cloud controls | Credentials can be generated by impersonating a service account with the gcloud CLI. | Who may impersonate the account and whether impersonation events are logged. |
| SSO with company identity provider | Not documented | The docs reviewed describe no separate SSO feature for the MCP server itself. | Whether sign-in can be limited to your Google Workspace or managed identities. |
| Admin approval of clients | Not documented | No admin approval or client allowlisting step is described in the docs reviewed. | Whether any approval control exists in your AI client's admin console or your Google tenant. |
| Permission scoping | Relies on Google Analytics or Google Cloud controls | Access follows Google Analytics property roles and Google Cloud project settings. | The property roles granted to the credential the server uses, per property. |
| Audit logging of MCP calls | Not documented | No MCP-specific audit log is described. Admin API and Data API must be enabled in the project. | Whether Admin API and Data API calls appear in your Google Cloud audit logs. |
| Self-hosted run | Built in | Runs locally through pipx or uvx. The README and PyPI copy differ on remote multi-tenant use. | Whether the current README supports a remote deployment you operate. |
| Data residency | Not documented | The docs reviewed give no data location or residency commitment for the server. | Where Analytics and Cloud data is processed under your Google contract. |
How Application Default Credentials decide what the server can reach
The server does not carry its own permissions. It authenticates with Application Default Credentials, so whatever identity ADC resolves to is what the server can query. Google's developer page describes two routes: a Google user account, set up with gcloud auth application-default login, or a service account, supplied either through a JSON key file pointed to by GOOGLE_APPLICATION_CREDENTIALS or generated by impersonating the service account with the gcloud CLI. Before approving either route, confirm which identity your staff will actually end up using on each machine, because a laptop that already holds a broad gcloud login will pass that identity to the server without any further prompt.
Two Google Cloud APIs must be enabled in the Google Cloud project the server uses: the Google Analytics Admin API and the Google Analytics Data API. Enabling them does not grant data access. The effective reach of the server equals the Google Analytics property roles held by the identity behind ADC, so a service account with Viewer on one property can read only that property, and a user with Editor or Admin on several properties exposes all of them to the AI client. Ask each property owner which accounts hold roles, and confirm that the service account is added only to the properties it needs, using the least-privileged role that supports the reports you intend to allow.
Deployment mode is a point to settle before the rollout. The GitHub README describes the server as one you run locally, while the PyPI copy of analytics-mcp says it can run as local or remote multi-tenant. These descriptions do not match, so confirm against the current README in the googleanalytics/google-analytics-mcp repository before writing the approved configuration. If a remote, multi-tenant deployment is in scope, ask Google which controls apply to that mode, since the docs reviewed do not describe SSO, admin approval or an audit log for the MCP server itself.
Where the identity and access decisions sit
The flow starts in an AI client such as Claude Code, which launches the analytics-mcp process on the user's machine. That process obtains Application Default Credentials, either from a user signed in with gcloud or from a service account key or impersonation. Its calls to the Google Analytics Admin and Data APIs run inside a Google Cloud project where both APIs must be enabled, and the property roles on each Analytics property decide what data comes back. Organizations control the credential choice, the project settings and the property roles, so confirm each of those before approving the connection.
Credentials, project settings and property roles each decide what the MCP server can reach.
Decisions to make before connecting: identity type, property roles and project scope
Before anyone connects the official Google Analytics MCP server, the team has to settle who the server acts as, which Google Cloud project holds the enabled APIs, and what the AI client may do with the results. Each choice changes how actions are attributed in Google's logs, how quickly access can be revoked, and how far analytics data travels.
User credential or service account
Authentication uses Application Default Credentials, either a Google user account through gcloud auth application-default login or a service account. A user credential acts as a named person, so actions trace to that individual but leave with them when they change roles. A service account is shared infrastructure, so its attribution is to the account itself, and reviewers must confirm who operates it. Decide which model fits before any staff member runs the setup.
Google MCP setup docsKey file or impersonation
For a service account, the docs describe pointing GOOGLE_APPLICATION_CREDENTIALS at a JSON key file, or generating credentials by impersonating the service account with the gcloud CLI. A key file is a long-lived secret on a laptop that can be copied, so its holder controls the access. Impersonation keeps the key out of developer hands and ties each session to a caller who has been granted impersonation rights. Ask who holds the key or the impersonation grant, and how each is rotated or removed.
Google Cloud project hosting the APIs
The server uses the Google Analytics Admin API and the Google Analytics Data API, and both must be enabled in a Google Cloud project. That project becomes the billing, quota and API-enablement boundary for every connected user or service account. Confirm which project owns those APIs, who holds its IAM roles, and whether it is separate from projects that run production workloads. Removing the API enablement or the project's access stops the server from working for everyone who relies on it.
Property roles granted to the identity
Access to data is controlled by Google Analytics property roles and Google Cloud project settings. The docs read for this review describe no separate admin approval or audit log feature for the MCP server itself, so the property role is the main limit on what the AI client can see. Grant the lowest role that answers the reporting need, scope it to the properties required, and review it on a schedule. Confirm with Google which roles allow configuration reads and which allow changes.
Managed endpoints or local runs
The repository describes the server as one you can run locally, while the PyPI copy describes a local or remote multi-tenant setup. Setup instructions run analytics-mcp through pipx or uvx on the user's machine, which places the credential file and the server process on that device. Decide whether staff may run it only on managed endpoints with disk encryption and endpoint controls, and confirm against the current README which deployment shape Google supports.
Server README on GitHubWhere analytics output may go
Reports and property configuration returned by the server are sent into the AI client, and from there to whichever model or service that client uses. Google's developer page says the server connects analytics data to LLMs and AI agents such as Gemini. Set a rule on which clients are approved, whether the chosen assistant's data terms cover analytics content, and whether any reports contain personal or commercially sensitive data that must stay out of the prompt. Record that decision with the identity choice so the audit trail matches the approved path.
How the answer changes by identity model and environment
When one analyst connects the server with a personal Google account through Application Default Credentials, the server acts with that person's Google Analytics property roles and Google Cloud project access. The analyst can only reach what they could already open in the Google Analytics interface, which keeps the blast radius tied to one identity. Attribution is simple because queries and configuration reads trace to a named person, but that person's broader access also travels with the connection.
- Access follows the user: Property roles and Google Cloud permissions of the individual limit every query the assistant can make.
- Attribution is personal: Activity is tied to one identity, which helps investigations but depends on that person keeping credentials private.
- Credential scope is wide: A personal login may hold more property access than the task needs, so review roles before connecting.
- Local storage matters: Confirm where the application default credentials file is stored on the endpoint and who can read it.
- Revocation path: Confirm how access is removed when the analyst changes role or leaves.
Check the analyst's property roles, confirm the credentials file location on the workstation, and document how access is revoked.
A team may point GOOGLE_APPLICATION_CREDENTIALS at a service account key file, or generate credentials by impersonating the service account with the gcloud CLI. Every user of the connection then runs under one identity, so the access granted to that account becomes the ceiling for the whole team. Attribution in Google Analytics and Google Cloud records the service account rather than the person asking the question, which weakens per-user accountability.
- One identity, many users: Each team member inherits the same property roles, so least privilege must be set for the most sensitive task in the team.
- Attribution gap: Logs show the service account, so pair the setup with your own record of which user prompted which session if individual accountability matters.
- Key handling: A JSON key file is a long-lived secret, so confirm storage, rotation and who can copy it.
- Impersonation option: Impersonation avoids distributing a key file, but confirm which principals may impersonate the account and who manages that grant.
- Separate accounts per purpose: Consider distinct service accounts for reporting and configuration reads, each with only the roles it needs.
Verify the exact property roles on the service account, the key or impersonation path in use, and how audit records map back to individual users.
On a managed fleet, the server is installed and run through pipx or uvx on many machines, and each machine holds its own credentials. The risk shifts from one account to many copies of credentials, configuration files and package versions. Endpoint management becomes the main control point, because the organization must know which machines run the server, which package release they use and which credentials sit on each device.
- Many credential copies: Each device may hold application default credentials, so inventory and revoke them when a device is retired or lost.
- Version consistency: The PyPI listing shows a release dated Nov 6, 2026, so confirm the release each device runs against the current repository README.
- Client configuration: Claude Desktop and Claude Code configuration files on each endpoint decide what the assistant can reach, so manage them centrally where your tooling allows.
- Experimental status: Google labels the server experimental, so plan a change process before broad deployment.
- Network and logging: Confirm which outbound connections the endpoint makes and what your endpoint logs capture.
Check which devices run the server, the package version on each, where credentials are stored, and whether the endpoint platform can enforce the client configuration.
In a regulated environment, the question is whether the connection itself fits the data handling and audit obligations that apply to the analytics data. Google's developer page describes access through Google Analytics property roles and Google Cloud project settings, and the docs reviewed describe no separate SSO, admin approval or audit log feature for the MCP server itself. Reviewers should treat the server as a connection that inherits controls from Google Analytics and Google Cloud, not as an independently governed application.
- Inherited controls only: Map each control your framework requires to a Google Analytics or Google Cloud control, and mark any gap that the MCP layer does not add.
- Data leaving the boundary: Query results go to the connected AI client, so confirm that client's data handling terms with the vendor before approving use with regulated analytics data.
- Audit trail: Confirm with Google which audit records Google Analytics and Google Cloud produce for API calls made through this server, and whether they meet your retention rules.
- Repository and release control: Pin an approved release and track changes to the official googleanalytics repository, since the README and PyPI copy differ.
- Scope of approval: Limit use to property views and roles approved for that data classification.
Confirm the vendor terms for every AI client in use, the audit records Google provides for these API calls, and a written decision from your compliance owner before any regulated property is connected.
Order of work before production use
This sequence moves the Google Analytics MCP server from an unverified install to a reviewed, owned and revocable connection. Each step produces a specific artifact that the security reviewer can check before any staff member connects an AI client to live property data.
Confirm the official repository and README
The engineering lead confirms that the server in use comes from the googleanalytics/google-analytics-mcp repository that Google's developer page links, and not from a community server that also exposes Google Analytics. Read the current README in that repository and record the commit or release you reviewed, because the README is titled as experimental and the GitHub and PyPI descriptions differ on whether it runs locally or as multi-tenant. Done when the reviewer has a written note of the repository, license (Apache-2.0), README date and the deployment model Google describes for it.
Choose the identity type
The security lead decides whether the server authenticates as a named user through Application Default Credentials, or as a service account with a key file or impersonation. A user credential ties every query to one person and is easy to revoke when that person leaves, while a service account centralizes access but can read every property it is granted. Done when the choice, its owner and the rule for rotating or revoking the credential are written down.
Scope the Cloud project and enable the APIs
The cloud administrator creates or selects a dedicated Google Cloud project for this use and confirms that the Google Analytics Admin API and the Google Analytics Data API are the only APIs enabled for the server. Confirm who holds project-level roles, since those roles govern the project rather than the properties. Done when the project owner, the enabled API list and the list of principals with project access match what the security review approved.
Grant least-privilege property roles
The Analytics administrator assigns each identity the lowest property role that serves the approved reports, and avoids administrator rights on properties that only need reporting. Google's documentation says access is controlled by Google Analytics property roles and Google Cloud project settings, and it describes no separate admin approval layer for the MCP server, so these roles are the main limit. Done when a property-by-property access list exists and an analyst has confirmed that no unneeded property is reachable.
Pin the install method and version
The platform engineer chooses one install path for the approved clients, such as pipx or uvx as shown in Google's setup instructions, and pins the analytics-mcp version rather than pulling the latest release on every launch. Record the version, its PyPI release date and the checksum or lock file used on managed machines. Done when every approved workstation runs the same pinned version and the record is stored with the change ticket.
Test on a non-production property
The analytics team runs a test with the chosen identity against a non-production property or a sandbox copy before any live property is connected. The test checks which reports return, which property configuration reads succeed, and whether any write-capable behavior appears that the team did not expect. Confirm the actual tool list in the pinned version rather than relying on the documentation alone. Done when the test results and any surprises are recorded and signed off by the property owner.
Review Google Cloud audit logs
The security engineer confirms that Cloud audit logging captures calls made with the chosen identity, and that someone can query them for the Analytics APIs. Google's developer page does not describe an MCP-specific audit log, so the reviewer should check what Google Cloud records for these API calls in the project and whether the logs are retained and routed to the team's monitoring. Done when a sample query returns the test activity and the retention setting is recorded.
Document owners and revocation steps
The service owner writes down who approves new users, who rotates or disables the credential, and how a departing employee's access is removed from both the property roles and the Cloud project. The runbook also states how to remove the pinned package from managed machines. Done when the named owners, the revocation procedure and a tested removal of one test identity are recorded and reviewed before production rollout.
What a security reviewer asks to see and where it comes from
This table lists the evidence a security reviewer should request for the official Google Analytics MCP server, where each item lives in Google Analytics or Google Cloud, and who on the customer side owns it. Use it as a request list before approving a connection, and confirm each location against the current developer documentation because the product is labeled experimental.
| Evidence | Where it comes from | Owner |
|---|---|---|
| Property role assignments for each user or service account | Google Analytics Admin settings, Property access management, listing each principal and its role on every property in scope | Google Analytics property administrator |
| Service account inventory and key handling | Google Cloud IAM and Service Accounts page for the project, plus any JSON key files and whether keys are rotated or impersonation is used instead | Google Cloud project owner and identity team |
| Enabled API list for the Cloud project | Google Cloud APIs and Services dashboard, confirming the Google Analytics Admin API and Google Analytics Data API status and who can change them | Cloud platform administrator |
| Identity used per user session | Application Default Credentials source on each workstation, showing whether a personal user login or a service account is active | Endpoint or IT administrator |
| Client configuration location | Local client config files such as claude_desktop_config.json or the Claude Code MCP registration, recording the analytics-mcp command and environment variables | Developer lead and endpoint management |
| Audit log source | Google Cloud Audit Logs for the enabled APIs and Google Analytics change history for property settings; confirm which events the MCP calls generate | Security operations and Cloud logging owner |
| Vendor statement of experimental status | The README in the googleanalytics/google-analytics-mcp repository and the developer page, saved with the review date and version in use | Security reviewer and procurement |
Questions buyers ask before approving the Google Analytics MCP server
Does the Google Analytics MCP server support SSO?
The developer docs describe no separate SSO, admin approval or audit log feature for the MCP server itself. Access follows the identity the server runs as: a Google user account through Application Default Credentials, or a service account. Access is therefore governed by Google Analytics property roles and Google Cloud project settings, so your organization's sign-in controls apply mainly to the Google account or the Cloud project that holds the credentials. Confirm with Google, against the current README in the googleanalytics repository, whether any sign-in enforcement applies to the server before you record it as supported.
Can we run the Google Analytics MCP server without service account keys?
Yes, the docs list a Google user account as an option. Authentication uses Application Default Credentials, and a user can sign in with gcloud auth application-default login instead of using a service account. The trade-off is that the server then acts with that person's access, so reviewers should check which properties that user can read and whether the credential is tied to a managed device and account. If you choose a service account, the docs offer two routes: pointing GOOGLE_APPLICATION_CREDENTIALS at a JSON key file, or impersonating the service account with the gcloud CLI. Impersonation avoids storing a long-lived key file on each laptop, so ask your Google Cloud administrators which route your policies allow.
What does setting up the Google Analytics MCP server cost, and who pays for it?
The server itself is published under the Apache-2.0 license, so there is no license fee to Google for the code. Your costs come from the work around it. Your Google Analytics administrators and Google Cloud administrators spend time enabling the Admin API and the Data API in a Google Cloud project, assigning property roles, and choosing an authentication route. Engineers spend time installing the server with pipx or uvx on each client and testing it. Your security team spends time reviewing permissions and writing the usage rules. Ask any outside provider for a written scope that lists each of these tasks, who performs them, and which ones recur when staff, properties or clients change. Google's own pricing for the underlying APIs is not covered in the sources used here, so confirm it with Google and your Cloud billing contacts.
How long does a security review of the Google Analytics MCP server take?
The length depends on how many people will connect, how many properties and Cloud projects are involved, and whether you choose user credentials or a service account. A single pilot team with one property and a read-only role is a much smaller review than a company-wide rollout across many properties. The review usually covers the repository and version you approve, the roles granted, the credential route, and the client configuration. Google labels the server experimental, so plan for a recheck when the README or the PyPI release changes. The sources used for this page do not give a review duration, so ask your reviewers and any partner to estimate it against your own property list and approval process.
Can our own team set up the Google Analytics MCP server without a partner?
Often yes, for a small pilot. The official developer page lists setup steps for Claude Desktop, Claude Code, Cursor and Antigravity, and the commands are short. What takes longer is the access work: deciding which properties each person may query, setting Google Cloud project and API settings, choosing between user credentials and impersonation, and documenting who holds those credentials. Teams with Google Cloud and Analytics administration skills, and a clear owner for the MCP configuration, can usually complete this internally. Teams without that experience, or those with many properties and regulated data, may prefer help. Check that any help covers the repository you approve, not only the install steps.
What does a partner add to the Google Analytics MCP server rollout?
DeployOpen plans, implements and documents self-hosted open-source platforms and runs security testing, including testing of AI systems and agents. For this server, an engagement could include a written review of the authentication route and the property roles granted, a test of what the connected assistant can read and change, documentation for your reviewers, and a retest after fixes. DeployOpen does not issue audit reports or certifications, so independent auditors would still assess any compliance claim. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ask for a quote that names each task, its output and whether you need ongoing testing as the server is updated.
How DeployOpen helps review and roll out the setup
DeployOpen reviews how the official Google Analytics MCP server is authenticated, which Google Cloud project and Analytics properties it reaches, and how your admins control those settings before staff connect Claude, Claude Code or another client. The work is fixed-scope and delivers documented settings, test results and a handover your security and IT teams can review.
How we scope
- Confirm which Google Cloud project, Analytics properties and client tools are in the written scope before work starts.
- Record whether each connection uses a user account through Application Default Credentials or a service account, and who owns each credential.
- Agree in writing how the current README and PyPI release are checked against your approved version, since the two pages differ.
How we build
- Configure the Admin API and Data API enablement, project IAM and Analytics property roles to match the approved access list.
- Set up the chosen client, such as Claude Desktop or Claude Code, with the pinned package version and a documented run command.
- Test prompt injection, write-capable requests and credential exposure against the configured setup, then record the findings.
How we hand over
- Deliver a written configuration record covering credentials, roles, enabled APIs, client settings and the version installed.
- Provide a findings report with fixes and a retest, so reviewers can see what was changed and what remains open.
- Document the controls Google describes, and flag which controls such as logging or approval you must confirm in your own environment.
How we support
- Review the setup again when the server, client or Google Cloud settings change, using the same written scope.
- Offer ongoing support, upgrades and continuous testing as a retainer, priced from a separate written quote.
- Support the evidence your security questionnaire or internal review asks for, without issuing audit reports or certifications.

