Connect Google BigQuery's hosted MCP server to ClickUp so Brain and Super Agents can run SQL queries, inspect table schemas, and list datasets without leaving your Workspace.
ClickUp's OAuth Client connection requires your own Client ID and Client Secret. Someone with permission to configure your Google Cloud project and grant IAM roles completes the provider steps.
What you'll need
- You need access to Google Cloud, a project you can configure, and permission to create an OAuth client. If you can't configure the project yourself, ask your Google Cloud administrator to complete the provider steps.
- Only Workspace owners and admins can set up Workspace connections.
- Members can set up personal connections if admins enable the Connect Personal MCP Server permission.
- Guests and limited members can't set up integrations.
Step 1: Create or select a Google Cloud project
To select your project:
- Open the Google Cloud Console.
- Use the project selector to select an existing project, or create a project for this connection.
- Keep this project selected while you complete the remaining steps.
Billing is optional for the BigQuery sandbox. If you use a billed project, normal BigQuery charges and quotas apply. Follow your organization's billing policy.
If Google shows ServiceNotAllowed or "you do not have access to Google Cloud Platform", ask your Google Workspace administrator to enable Google Cloud Platform for your account. This is separate from granting IAM roles on a project.
When you finish the provider steps, bring back the Client ID and Client Secret from the same Google Cloud OAuth client. Keep the secret in a secure location, not in a task, comment, or screenshot.
Step 2: Enable the BigQuery API
To enable the API:
- In the selected project, hover over APIs & Services and select Library.
- Search for BigQuery API.
- Open BigQuery API.
- Click Enable.
- If the API is already enabled, skip this step.
Enabling the BigQuery API also enables the BigQuery MCP server. New projects have the API enabled by default.
If you can't enable the API, ask your administrator for help. Enabling APIs requires serviceusage.services.enable, which is included in the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin).
Step 3: Set up Google Auth Platform
To set up Google Auth Platform:
- In the selected project, open Google Auth Platform.
- Click Get started.
- If Google Auth Platform is already configured, skip this step.
- Complete the required app and contact information.
- Under Audience, choose the audience for your OAuth app:
- Internal: Limit access to members of your Google Cloud organization.
- External: Allow a personal account or users outside that organization.
- If the External app is in Testing, add every Google account that will authorize a connection as a test user.
- Save your changes.
For an External app in Testing, Google authorizations for BigQuery expire seven days after consent. Reconnect when access expires. For ongoing production use, follow Google's publishing and verification requirements rather than relying on Testing.
Older guides may call this page OAuth consent screen under APIs & Services. This article uses the current Google Auth Platform labels.
Step 4: Create an OAuth client
To create the client:
- In Google Auth Platform, select Clients.
- Click Create client.
- Set Application type to Web application.
- Enter a recognizable name, such as
ClickUp BigQuery. - Under Authorized redirect URIs, add the ClickUp callback URL: https://search.clickup-prod.com/connect/bigquerymcp
- Click Create.
- Copy the Client ID and Client Secret to a secure location. Google only shows the full secret when you create it.
The redirect URI must match exactly, with no trailing slash. Don't use the generic /connect/mcp callback or another application's callback. If ClickUp's guided setup shows an environment-specific callback, register that exact value instead.
For redirect_uri_mismatch, compare the saved URI with the one shown in ClickUp. For invalid_client, confirm that the Client ID and Client Secret belong to the same OAuth client and were copied without extra spaces. If you've lost the secret, create a replacement in the client's settings and update the connection with the new value.
Step 5: Grant IAM roles to connecting users
To grant the roles:
- In the selected project, hover over IAM & Admin and select IAM.
- Click Grant access.
- Or edit the existing entry for the Google account that will authorize the connection.
- Assign these roles:
- MCP Tool User
- BigQuery Job User
- BigQuery Data Viewer
- Save the changes.
Repeat for each Google account that will authorize its own connection.
| Role | Role ID | Purpose |
| MCP Tool User | roles/mcp.toolUser |
Call MCP tools. |
| BigQuery Job User | roles/bigquery.jobUser |
Create query jobs. |
| BigQuery Data Viewer | roles/bigquery.dataViewer |
Read BigQuery data. |
These roles support the basic query workflow. They don't grant permission to change BigQuery data. Additional BigQuery permissions may be required for write operations or access to resources in other projects.
If ClickUp shows insufficient_scope or forbidden, confirm that you signed in with the intended Google account, that it has the required IAM roles, and that your administrator's policies allow MCP access. If Google consent was incomplete, reconnect and approve the requested BigQuery access. ClickUp's template requests the BigQuery OAuth scope:
https://www.googleapis.com/auth/bigquery
If ClickUp shows Connected, but no tools are available. Make sure your Google account has the MCP Tool User, BigQuery Job User, and BigQuery Data Viewer roles on the project., check the roles and policies for the authorizing Google account, then retry.
Connect Google BigQuery MCP
To connect Google BigQuery MCP:
- In the upper-left corner, click your Workspace avatar.
- Under Workspace, click Apps.
- Search for Google BigQuery.
- Select Google BigQuery.
- Select a connection type:
- Personal: A connection only for you.
- Workspace: A connection for your whole Workspace.
- Click Connect.
- Follow the OAuth Client guided setup in this order:
- Create or select a Google Cloud project
- Enable the BigQuery API
- Set up Google Auth Platform
- Create an OAuth client
- Grant IAM roles to connecting users
- Confirm that the redirect URI shown in ClickUp matches the one you registered in Google.
- Enter Client ID from your OAuth client.
- Enter Client Secret from the same OAuth client.
- Continue to Google sign-in.
- Select the account with the required IAM roles.
- Approve access.
ClickUp validates the connection and loads the available tools. You can review them in the app's AI Tools section.
The template supplies the server URL and OAuth configuration. You don't need to enter a project ID, dataset, server URL, or scope in additional connection fields. Specify the project and dataset when requesting a query or other tool action.
To check the connection, ask Brain to run SELECT 1 AS connection_test in your project. This checks query execution without creating a permanent table.
Personal and Workspace connections
A Personal connection (Just for me) makes the tools available only to you. A Workspace connection (For all members) makes them available to Workspace members and must be set up by a Workspace owner or admin.
Google enforces the permissions of the account authorizing the connection. Before making a connection available across the Workspace, review which Google identity it uses and whether its BigQuery access is appropriate to share. Choosing Workspace access doesn't grant additional Google Cloud IAM permissions.
What you can do with Google BigQuery MCP
Tool access depends on the authorizing Google account's permissions and your organization's policies.
| Tool | Capability |
list_dataset_ids |
List datasets in a project. |
list_table_ids |
List tables in a dataset. |
get_dataset_info |
Read dataset metadata. |
get_table_info |
Read a table's schema and metadata. |
execute_sql |
Run SQL, including writes when the authorizing account has permission. |
execute_sql_readonly |
Run read-only SQL queries. |
get_query_results |
Retrieve query-job results. |
get_job |
Read job details and status. |
cancel_job |
Request cancellation of a running job. |
Limitations
Keep these limits in mind:
- Google Cloud access and project permissions are separate. If you can't open Google Cloud, ask your administrator to enable access before troubleshooting IAM roles.
- External OAuth apps in Testing require listed test users, and their BigQuery authorization expires after seven days.
- The callback URL must match exactly. The Google BigQuery template uses
/connect/bigquerymcp, not the callback for a generic custom MCP server. - This template supports the OAuth Client path with a Client ID and Client Secret. Google service-account and Application Default Credentials setup aren't available through this guided flow. Google remote MCP doesn't support Dynamic Client Registration or Client ID Metadata Documents.
- By default,
execute_sqlandexecute_sql_readonlycancel queries that take more than three minutes to process. Query results are limited to 3,000 rows. Use filters and aggregation to keep results within the limit. - The SQL tools don't support Google Drive external tables. The read-only SQL tool also doesn't support DML, DDL, Python UDFs, or Graph Query Language queries.
- The basic IAM roles don't grant write access. The presence of
execute_sqldoesn't mean every write statement is authorized. - Google API quotas, BigQuery charges, and ClickUp AI usage limits still apply. A successful connection doesn't provide unlimited query usage.
Disconnect Google BigQuery MCP
To disconnect from ClickUp:
- In the upper-left corner, click your Workspace avatar.
- Under Workspace, click Apps.
- Select Google BigQuery.
- Select the Personal or Workspace tab. Only Workspace owners and admins can disconnect a Workspace connection.
- Next to Connected, click the ellipsis ... icon.
- Select Disconnect.
- Confirm.
To revoke your Google authorization:
- Open your Google Account's linked apps page.
- Under Access to your Google Account, select the OAuth app created for this connection. Its name may be the name your administrator chose rather than ClickUp.
- Review the details.
- Select Remove access.
Disconnecting in ClickUp and revoking access in Google are separate actions. Removing Google access prevents the connection from continuing to use that authorization. An administrator can also retire the OAuth client under Clients in Google Auth Platform, but doing so affects every connection that uses it.
Security recommendations
Use the narrowest Google Cloud permissions that meet your needs. For read-only use cases, your Google Cloud administrator can apply an IAM deny policy to restrict the execute_sql tool. Review the authorizing identity before sharing a Workspace connection, and rotate OAuth client secrets according to your organization's policy.