Does the BigQuery MCP server meet enterprise identity and audit requirements?
A head of platform or security approving AI clients for BigQuery needs to know that the official remote server, reached at ` authenticates through OAuth 2.0 with IAM and supports all Google Cloud identities. Google Cloud remote MCP servers also write audit logs, but Data Access logs for MCP are disabled by default and must be enabled explicitly with the DATA_READ type. Treat the identity model and the logging setting as two separate approvals: one confirms who can connect, the other confirms that reads are recorded.
There is no separate SSO switch for the BigQuery server. Sign-in follows the company's Google Cloud identity setup, so the reviewer should confirm how staff accounts are provisioned, which IAM roles each user or group holds on the projects that BigQuery data lives in, and whether the BigQuery API is enabled only in projects that should be reachable through MCP. Ask the Google Cloud team to confirm how the MCP client is registered and whether any MCP-specific access controls apply beyond standard IAM. Then enable Data Access audit logs for the MCP service, filter them with protoPayload.serviceName set to the MCP service name, and confirm the goog-mcp-server:true job label appears on query jobs, since those records are the main way to attribute queries to MCP use.
The open-source MCP Toolbox for Databases is a different path. Your team runs it locally between the developer tool and BigQuery, so its authentication, credential storage, logging and network exposure sit outside the managed Google Cloud server and must be reviewed as a self-run component. The Apache-2.0 licensed repository does not make it a managed control, so the security team should decide which path each user group may use before approving either one.
Enterprise capabilities of the BigQuery MCP server by option
This table compares the official remote BigQuery MCP server with the self-run MCP Toolbox for Databases on the controls an enterprise reviewer checks first. Read each row as a question: what the option gives you, and what your team must add or confirm before approval. Edition and plan details for Google's remote server should be confirmed with Google, since the supplied facts do not set them out.
| Capability | Remote server (Google-hosted) | Toolbox alternative (self-run) | What must be added or confirmed |
|---|---|---|---|
| OAuth 2.0 with IAM authentication | Yes, OAuth 2.0 with IAM for authentication and authorization | Runs on your host, so access depends on how you configure Google Cloud credentials | Confirm the credential flow for your Toolbox deployment and who holds those credentials |
| Supported identities | All Google Cloud identities are supported | Depends on the identity your Toolbox process uses | Map which user, group or service identities may connect and document the mapping |
| Enablement | Enabled when the BigQuery API is enabled | Requires a separate install and configuration on the developer machine or host | Confirm the API enablement state in each project and who can change it |
| Query and metadata tools | Can run queries, get metadata and list resources | Exposes the BigQuery capabilities bundled with the Toolbox configuration | Review which tools are configured and restrict them to the datasets required |
| Advanced actions (scheduling, permissions, reservations) | Not included in this server; Google points to run_bq_command in the Google Cloud CLI remote MCP server | Not a documented part of the pre-built Toolbox capabilities | Confirm with Google whether the CLI server is approved for your environment before enabling it |
| MCP audit logs | Generated by Google Cloud remote MCP servers; filter on protoPayload.serviceName with the MCP service suffix | Logs depend on your own logging setup on the host | Route Google Cloud logs to your central store and test the filter in your project |
| Data Access logs (DATA_READ) | Disabled by default; must be enabled explicitly with the DATA_READ type | Not provided by Google; rely on BigQuery audit logs for the calling identity | Enable DATA_READ deliberately, since Google notes these logs can be large, and set retention |
| Job label goog-mcp-server:true | Query jobs from the server carry this label for identification | Not documented as applied; confirm the labeling behavior in your build | Use the label in reports and alerts, and confirm whether Toolbox jobs carry it |
| Licensing and support | Google-operated service; confirm plan, terms and support scope with Google | Open source under Apache-2.0; you operate and patch it | Set an owner for updates and vulnerability tracking for the self-run option |
How the remote server authenticates and where access is enforced
The core point for reviewers is that the BigQuery remote MCP server does not rely on the AI client to decide what it may touch. An MCP client connects to the endpoint ` over the Streamable HTTP transport, the user signs in through OAuth 2.0, and then Google Cloud IAM decides which BigQuery datasets and actions that identity can use. The server uses OAuth 2.0 with IAM for authentication and authorization, and Google documents that all Google Cloud identities are supported. Before approving the rollout, confirm which identity types your organization will allow, whether they are user accounts, groups or service accounts, and who grants the BigQuery roles those identities hold.
Google states that its remote MCP servers comply with the MCP authorization specification, which is the standard the client uses to obtain and present tokens. Compliance with that specification describes the sign-in handshake. It does not describe what a signed-in user may do in BigQuery, so enforcement sits in Google Cloud IAM rather than in the client. Ask the client vendor which OAuth scopes and redirect behavior it requests, and check that the IAM roles granted to the test identity are the minimum needed for the work. A client-side setting that hides a tool does not remove the underlying permission, so test access with a restricted identity before you rely on any client restriction.
Attribution depends on two signals that teams should turn on before the first production query. Query jobs that run through the server carry the job label goog-mcp-server:true, which lets finance and security teams separate MCP-originated jobs from other BigQuery activity in job history. For the audit trail, Google Cloud remote MCP servers write audit logs that can be filtered with protoPayload.serviceName set to the service name followed by /mcp. Data Access audit logs for MCP are disabled by default because they can be large, so you must enable the DATA_READ type explicitly, and those logs are written to the project whose data was accessed. Confirm with your cloud team which project holds the logs and who can read them.
How an MCP client reaches BigQuery through IAM and audit logs
The flow starts with an AI client that signs in through OAuth 2.0 using the company's identity. The client then calls the BigQuery MCP endpoint, where IAM decides whether the signed-in identity may run the requested query, metadata or resource action. The query runs as a BigQuery job, and the audit logs for that access are written to the Google Cloud project whose data was read. Check that Data Access audit logs are explicitly enabled, because they are disabled by default, and that the goog-mcp-server:true job label is available for tracing jobs back to MCP use.
Request path from an AI client to BigQuery, with IAM checks and audit logging.
Decisions to make before connecting staff
Six decisions shape how the BigQuery MCP server behaves once staff connect AI clients. Each one sets who can connect, what their identity can reach, where audit evidence lands and who answers for the setup. Settle them in writing before the first client is configured.
Identity source and allowed principals
Decide which Google Cloud identities may authenticate: individual users, groups, or service accounts. The BigQuery remote server uses OAuth 2.0 with IAM and supports all Google Cloud identities, so the allowlist is your decision, not a default. Confirm whether your organization wants people signing in with their own accounts (so each query is attributable to a person) or shared service identities, and record which option you chose. Shared service accounts remove per-person attribution.
BigQuery MCP docsIAM role design per project and dataset
The MCP server runs queries, reads metadata and lists resources, so the caller's IAM grants decide what the AI client can see and spend. Grant roles at the narrowest level that works, usually dataset by dataset, and avoid project-wide data roles for groups that only need one dataset. Test the grants with a non-privileged account before rollout, and confirm with your IAM team which role combinations allow reading sensitive tables.
Project boundary for Data Access logs
Data Access audit logs for MCP are written to the Google Cloud project whose data is accessed, and they are disabled by default because they can be large. Decide which projects must hold the logs, enable the DATA_READ type for the MCP service in each one, and confirm that your log sinks and retention settings cover those projects. A query against a dataset in a project nobody monitors leaves no evidence in the project your security team reviews.
MCP audit loggingRemote server or local Toolbox
The official remote server runs at a Google endpoint and is enabled when the BigQuery API is enabled. The open-source MCP Toolbox for Databases runs locally between the IDE and BigQuery, and its repository is published under Apache-2.0. Choose the remote server for centrally governed access under IAM, and treat the local Toolbox as a separate deployment that your team must install, update and monitor. Advanced actions such as scheduling and reservation management are not in the BigQuery server, so confirm whether staff need them.
Toolbox setup guideOwnership of client configuration and approval
Name one owner for the client configuration, meaning the server name, the endpoint and which AI clients are approved to connect. Set who may request exceptions, who reviews the IAM grants and who can change the Toolbox version if you run it locally. Without a named owner, staff add connections on their own machines and the audit trail shows access nobody approved. Write the approved client list into your change process.
Job labels for cost and review reporting
Query jobs that run through the BigQuery MCP server carry the label goog-mcp-server:true, which lets you separate AI-driven queries from other workloads. Use that label in billing exports and job history to report spend and review heavy or unusual queries by the AI path. Confirm with your FinOps and data governance teams which dashboards and thresholds will use it, and confirm that the label is present on the job types your staff actually run.
How the answer changes by identity setup and environment
When staff sign in with Google identities managed in Google Workspace or Cloud Identity, the BigQuery remote MCP server authenticates through OAuth 2.0 with IAM, and Google documents that all Google Cloud identities are supported. Access is therefore decided by the IAM roles granted to each user on the projects and datasets involved, not by the MCP client itself. The practical review is whether the people who will connect an assistant already hold the BigQuery roles they need, and whether those roles are broader than the assistant's task requires.
- Role inventory: List which users will connect, which projects they can query and whether any hold data-editing roles they do not need for analysis.
- Group-based grants: Confirm that access is granted through groups so that removing a person from a group also removes assistant access.
- Sign-in policy: Check how your organization enforces sign-in for these identities, including any context-aware or device conditions your administrators can apply.
- Job labels: Confirm that query jobs carry the goog-mcp-server:true label, so reporting can separate assistant traffic from other jobs.
- Audit visibility: Verify that your audit log filters work with protoPayload.serviceName set to the MCP service name for the data you need to review.
Check with your Google Cloud administrator which identity controls apply to your tenant before approving a broad rollout.
Many organizations manage staff identities in an external provider and federate them into Google Cloud. In that model the assistant's OAuth session still resolves to a Google identity, so the same IAM evaluation applies, but the provider's own session, MFA and deprovisioning rules become part of the access path. A removed employee who still holds a valid federated session, or a provider policy that is weaker than Google's, changes the risk even when IAM is configured correctly.
- Federation mapping: Document how each provider user maps to a Google identity and who owns that mapping.
- Session lifetime: Compare the provider's session and token lifetimes with what your security policy requires for data access tools.
- Multi-factor enforcement: Confirm that MFA is enforced at the provider for every user who can reach BigQuery through the assistant.
- Deprovisioning speed: Test how quickly disabling an account at the provider blocks new OAuth sessions and existing refresh activity.
- Attribution: Verify that audit entries show the federated identity clearly enough for investigations.
Ask your identity team to demonstrate a disable-and-verify test in a non-production project before you rely on the federated path for production data.
Some organizations want scheduled or unattended agents to query BigQuery rather than a person signing in. Google's documentation for the remote server describes OAuth 2.0 with IAM and says all Google Cloud identities are supported, so a service identity is a possible path. Automated access is harder to review than a person's session because no one is present to notice unusual queries, and the credential that represents the agent becomes a high-value secret. Confirm the exact token flow for unattended use with Google before designing it, because the sign-in model documented for interactive clients may not fit a headless workflow.
- Dedicated identity: Create one identity per agent or use case, never a shared identity used by several tools.
- Least-privilege roles: Grant read roles on named datasets only, and confirm that no write or administrative roles are attached.
- Credential handling: Define where any key or token is stored, who can read it and how it is rotated.
- Quota and cost limits: Set project-level budget alerts and query limits so a runaway agent cannot generate unbounded spend.
- Log separation: Use the job label and identity attribution to distinguish unattended runs from staff-driven queries.
Before approving any unattended setup, ask Google and your security team to confirm the supported authentication method for that pattern in writing.
The remote endpoint at bigquery.googleapis.com requires that workstations and agent hosts can reach Google's services over the network. In restricted environments, egress controls, proxies or air-gapped segments may block that path entirely, and the remote server will then be unavailable. In that case the choice narrows to whether the open-source MCP Toolbox for Databases, which runs locally between the developer tool and BigQuery, can be deployed inside the approved boundary. The Toolbox is published under the Apache-2.0 license, but it still needs outbound access to BigQuery itself, so the assessment is about which endpoints the host must reach and who maintains the binary.
- Reachability test: Verify from the intended hosts whether the remote endpoint is reachable through your approved egress path.
- Toolbox placement: Decide whether a local Toolbox process can run on approved hosts and whether its configuration can be controlled centrally.
- Dependency review: Inventory the Toolbox version, its update process and the packages it pulls in, and add them to your software bill of materials.
- Credential placement: Confirm where the local process obtains Google credentials and keep them out of developer workstations where possible.
- Logging path: Verify that the same audit and job-label evidence is available, since Toolbox traffic may differ from remote server traffic.
Ask your network and security teams to document the allowed destinations and to approve the Toolbox build and update path before any local deployment.
Order of work for a production rollout
This sequence moves the BigQuery remote MCP server from identity design to a verified, auditable connection, so each control is confirmed before AI clients reach production data. Each step closes with a check the reviewer can record.
Confirm the identity model and IAM roles
The security or identity lead decides which identities will reach BigQuery through the server, including named staff, groups, and any service identities. Because the BigQuery MCP server uses OAuth 2.0 with IAM for authentication and authorization, and supports all Google Cloud identities, each identity type should be listed with the roles it holds on each project. Confirm that the roles grant only the dataset and table access each group needs. The step is done when the reviewer can name, for every identity, which projects and datasets it can query and whether it can change data.
Enable the BigQuery API on in-scope projects
The cloud platform team enables the BigQuery API only on the projects that are approved for AI access. The Google Cloud documentation states that the BigQuery remote MCP server is enabled when the BigQuery API is enabled, so this step is the switch that turns the server on. Projects outside the approved list should stay without the API enabled for MCP use. The check is an inventory of enabled projects that matches the approved scope from the identity review, with no extra projects in it.
Enable DATA_READ Data Access logs for the MCP service
The logging owner turns on Data Access audit logs of the DATA_READ type for the Google Cloud MCP service in each in-scope project. Google documents that these logs are disabled by default because they can be large, so they must be enabled explicitly. The logs are written to the project whose data is accessed, so the setting belongs in each project, not only in a central location. The step is done when the audit configuration for each project shows DATA_READ enabled for the MCP service, and the team has confirmed where those logs will be retained and who can read them.
Approve the client configuration
The IT or platform team approves the MCP client configuration before staff use it. The approved configuration uses the server name BigQuery MCP server and the endpoint with the Streamable HTTP transport that Google documents. The reviewer checks that every approved client connects with this exact name and endpoint, that no unapproved servers are registered under similar names, and that sign-in goes through the company's Google identity. The step is done when the approved configuration is written down and each client on the list has been checked against it.
Validate that job labels and audit entries appear
The security team runs a set of controlled test queries through an approved client and then checks the results in two places. Query jobs that ran through the server carry the job label goog-mcp-server:true, which lets reviewers separate MCP activity from other BigQuery use. The audit log filtered on protoPayload.serviceName set to the MCP service name should show matching entries, including the test identity. The step is done when the test queries appear with the label and in the audit log, and any missing entry has been investigated before rollout continues.
Retest after role and configuration changes
The security team repeats the validation whenever IAM roles, project scope, log settings, or client configurations change, and on a recurring schedule the owner sets. Role changes can widen what an identity reaches, so the retest should confirm that the labels and audit entries still appear and that access matches the approved identity model. Keep a record of each retest with the date, the changed item, and the result. The step is done when the retest record shows that the controls still match the approved design, and any gap has a named owner and a fix.
Evidence a security reviewer should ask for
This table lists the evidence a reviewer should request before approving the BigQuery remote MCP server, with what to ask for and where each item comes from. Read it as a checklist: each row names a control, the artifact that proves it is in place, and the source that artifact should come from. Missing evidence on any row is a reason to hold approval until the owner produces it.
| Control | What to ask for | Where it comes from |
|---|---|---|
| IAM role bindings for MCP users | A list of principals and the BigQuery roles bound to each, scoped to the projects the MCP server may query | IAM policy export for each project, reviewed against the team's approved user group |
| Data Access audit logs enabled for the MCP service | Confirmation that DATA_READ logging is turned on for the Google Cloud MCP service in each relevant project, since it is off by default | Project audit log configuration, exported from the Cloud Logging or IAM audit settings |
| Audit log filter results on protoPayload.serviceName | A saved log query filtering on the MCP service name ending in /mcp, with sample entries showing caller identity and timestamps | Cloud Logging query results from the project that holds the queried data |
| Job label evidence | Sample query job metadata showing the goog-mcp-server:true label, and a query or report that counts jobs carrying it | BigQuery job history or INFORMATION_SCHEMA jobs view for the project |
| Toolbox deployment inventory, if used | A list of every host running the open-source MCP Toolbox, its version, the service account it runs as, and who owns it | Internal asset register, deployment manifests and the Toolbox repository release used |
| MCP authorization compliance statement from Google | Google's written statement that its remote MCP servers comply with the MCP authorization specification, saved with the review file and dated | Google Cloud MCP servers overview documentation, captured on the review date |
Questions buyers ask before approving the BigQuery MCP server
Does the BigQuery MCP server support SSO?
The remote server authenticates with OAuth 2.0 and uses IAM for authorization, and the sources state that all Google Cloud identities are supported. In practice, sign-in runs through the Google identity the user already has, so the organization's SSO setup matters only if it federates its identity provider into Google Cloud. Organizations using Okta, Entra ID or another provider should confirm with Google whether their users can reach BigQuery through a federated identity, which depends on how their Google Cloud identities are provisioned. Do not assume a separate SSO connector exists for the MCP server itself. Confirm the sign-in path in a pilot project before approving broad use.
Are BigQuery MCP audit logs turned on by default?
Not for data reads. Google Cloud remote MCP servers generate audit logs that you can filter with protoPayload.serviceName set to the service name followed by /mcp, but Data Access audit logs for MCP are disabled by default because they can be large. You must enable them explicitly using the DATA_READ type for the Google Cloud MCP servers service. The Data Access logs are written to the Google Cloud project whose data is accessed, so the project that holds the tables is where your logs live. Query jobs that ran through the server also carry the job label goog-mcp-server:true, which helps you separate MCP traffic from other jobs. Before go-live, confirm that log sinks and retention in each relevant project meet your policy.
What drives the effort of a BigQuery MCP rollout?
Effort scales with the number of projects, datasets and identities involved, and with how much your IAM model already fits least privilege. The main drivers are: how many Google Cloud projects hold data the assistant may reach, whether IAM roles on datasets and tables are already scoped, how many client tools staff use and how each one is configured, whether you need the Toolbox as a local alternative, and how much audit logging and log routing you must build. Advanced actions such as scheduling, permission management and reservation management are outside the BigQuery server, and the sources point to the run_bq_command tool in the Google Cloud CLI remote MCP server for those, which adds a separate review step. Ask for the effort split by these items in any quote.
Can our own team configure the BigQuery MCP server without outside help?
Often yes for a small, single-project pilot, because client configuration is straightforward: the server name is BigQuery MCP server and the endpoint is and the server is enabled when the BigQuery API is enabled. The harder work is governance: scoping IAM roles, deciding which datasets are in scope, enabling Data Access logs, setting up log routing, and testing what a connected assistant can actually run. Teams that lack Google Cloud IAM and logging experience usually find those steps take the most time. Your own team can handle the configuration, but the reviewer will still want evidence that the controls were tested, which is where an outside security review adds value.
What should a scoping call for a BigQuery MCP rollout cover?
A useful scoping call settles the questions that decide effort and risk before any work begins. Bring a list of the Google Cloud projects and datasets the assistant may reach, the IAM roles each user group holds today, the client tools staff plan to use, and whether any users need Toolbox or the Gemini CLI BigQuery extensions. Also cover your audit logging and retention requirements, whether any data is regulated, and which write or administrative actions must stay out of scope. Ask for a written scope with deliverables, testing steps and a retest if findings come up. DeployOpen's engagements are fixed-scope and agreed in writing before work starts.
How much does the BigQuery MCP server cost?
The sources supplied for this page do not state a price for the remote server or the Toolbox, so confirm current licensing with Google before budgeting. Your cost has three parts: any Google Cloud licensing that applies to your account, BigQuery query charges (the queries an assistant runs are billed like any other query), and the internal or external effort to scope IAM, enable logs and test the setup. Query charges are the variable part, so ask Google how they apply to MCP-driven queries and consider cost controls on the projects the assistant can reach. Ask any implementation partner to price these components separately in a written quote.
When is the open-source MCP Toolbox a better choice than the remote server?
Choose the Toolbox when you need a local component you control rather than the Google-hosted endpoint. The MCP Toolbox for Databases is published under the Apache-2.0 license and sits between an IDE or developer tool and BigQuery, so you can review and configure it yourself. It is a reasonable fit when your security team wants the MCP layer running inside your own environment, or when you need to define custom, tightly named tools that limit what an assistant can do. The trade-off is that your team owns the install, upgrades and configuration. Google notes that the Gemini CLI BigQuery extensions bundle the required capabilities, so no separate Toolbox install is needed in that case.
How DeployOpen helps organizations approve this setup
DeployOpen reviews how a BigQuery MCP server connection will be configured, identified and logged in your own Google Cloud environment, then documents the approval evidence your security and compliance reviewers need. Work is limited to the open-source platform implementation, security testing and compliance readiness parts of the engagement, and every step is agreed in writing before it starts.
How we scope
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- The written scope names which Google Cloud projects, IAM roles and MCP clients are in review.
- Scope confirms whether the official remote server, the local MCP Toolbox or both are covered.
- The scope lists the audit log settings and job label checks that will be verified.
How we build
- Client configuration is set up with the BigQuery MCP server name and endpoint in your environment.
- OAuth 2.0 access is mapped to IAM roles so each identity has only the permissions it needs.
- Where the Toolbox is used, it is deployed in your infrastructure under your own controls.
- Data Access audit logging for MCP is enabled explicitly and checked against the project that holds the data.
How we hand over
- Deliverables include configuration records, IAM mappings and audit log filter documentation.
- A test record shows how queries from MCP clients appear through the goog-mcp-server:true job label.
- Findings from testing are reported with fixes and a retest, so reviewers see what changed.
- Documentation is written so your security and compliance teams can review it independently.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers.
- Retainers can cover reviews when Google changes MCP server behavior, scopes or audit log coverage.
- Periodic access reviews can confirm IAM grants and client connections still match the approved design.
- Retesting after changes keeps the approval evidence current for your next compliance assessment.

