https://bigquery.googleapis.com/mcp. Google enables it
when you enable the BigQuery API on your project.
Before you start
- You have a Google Cloud project with the BigQuery API enabled. A new project has it enabled already.
- You can create OAuth credentials in that project.
-
The Google account that authorizes the connection has these IAM roles on the
project:
-
You have the Cominty callback URL:
https://mcp.cominty.com/v2/oauth/callback. See OAuth callback.
Create the OAuth client
1
Open the credentials page
In the Google Cloud console, select
your project. Go to APIs & Services → Credentials, then click
Create credentials → OAuth client ID.
2
Fill in the form
If Google asks you to configure the consent screen first, do it, then come
back.
3
Create the client
Click Create. Copy the Client ID and the Client secret. Treat
the secret like a password.
Connect it to Cominty

The Google BigQuery integration on the Integrations page of the platform
1
Open the integration
On platform.cominty.ai, open Integrations
and choose Google BigQuery.
2
Choose who can use it
Under Availability, pick Organization to share the connection with
everyone in your workspace (admins manage it), or Personal to keep it
private to you.
3
Add the credentials
Under Configuration, enter the Client ID and the Client secret
from Google. The OAuth scope is
https://www.googleapis.com/auth/bigquery.4
Tell the agent how to use it
Fill in Agent configuration. This is where you give the agent your
project ID. See Tell the agent how to use BigQuery.
5
Connect
Click Connect, sign in with the Google account described above, and
approve the access.
6
Test it
Ask an agent something that needs BigQuery, such as “List the datasets in
the project
my-project”.A few MCP integrations need approval on the provider’s side before they
connect. If the connection fails after you authorize it, or you need help,
reach out to Cominty.
Tell the agent how to use BigQuery
BigQuery questions almost always need details the agent cannot guess: which project ID to query, which dataset to start from, and which tool to prefer. Put them in the integration’s Agent configuration, once, instead of typing them in every message.
The Agent configuration section: When to use, How to use it, and Permissions
Write the project ID in How to use it. For example:
What agents can do
The BigQuery MCP server gives agents these tools:
Example prompts:
- “List the datasets in the project
my-project.” - “Find the biggest orders in the dataset
salesofmy-project. Pick the right tables, check the schema, and show the results.” - “Create a forecast for the next months from the table
my-project.sales.orders.”
Limits
- Queries run for three minutes at most. Longer ones are cancelled.
- A result holds 3,000 rows at most.
execute_sql_readonlyallows reads only. It refuses data changes (DML), schema changes (DDL), Python user-defined functions, and Graph Query Language (GQL) queries.- Neither query tool can read Google Drive external tables.
- The server has no quota of its own. The quotas of the BigQuery API behind each tool still apply.
Control what the agent can do
execute_sql is the only tool that is not read-only. To block writes, create an
IAM deny policy on the project that denies the read-write tool. Google
describes it in its guide to
using the BigQuery MCP server.
From your code, you can turn the connection off for one message, or limit a
thread to some connections. See
Capabilities and the
use case on connections.