What Can It Do?
- Discover projects and datasets you have access to
- Inspect table metadata including schema and row counts
- Run SQL queries and return structured results
- Power data workflows by chaining outputs to other tools
Where to Use It
In Agents (Recommended)
Add BigQuery as a tool to any agent. The agent can then query and explore your data conversationally, choosing the right actions based on context. To add an MCP tool to your agent:- Open your agent’s configuration
- Click Add tools → Connect an app with MCP
- Search for the integration and select it
- Authenticate with your account
In Workflows (Via Agent Node)
For automated pipelines, use an Agent Node with BigQuery tools. This gives you the flexibility of an agent within a deterministic workflow.As a Custom MCP Node
You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.- Go to your node library and search for the integration
- Click Create a node with AI
- Describe the specific action you want (e.g., “Run this SQL query on my dataset”)
- Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.
Authentication
BigQuery supports two ways to connect your GCP credentials:Google OAuth (default)
Sign in with your Google account. Quick to set up, but requires re-authentication when your GCP session-control window expires (typically every 1–24 hours, depending on your org’s policy).
Workload Identity Federation
Keyless, token-based access. No daily reconnect, no stored secrets. Best for teams that need always-on BigQuery access without manual re-auth.
Setting up Workload Identity Federation (WIF)
WIF lets Gumloop mint short-lived access tokens by federating into your GCP project. There are no static keys or OAuth sessions to manage. To set it up:- Create a workload identity pool and OIDC provider in your GCP project that trusts Gumloop’s issuer (
https://api.gumloop.com) - Create a target service account with the BigQuery permissions your team needs
- Grant the pool permission to impersonate that service account
- In Gumloop, go to your Apps page, click Add Credential, and select BigQuery (Workload Identity)
- Enter three values: your GCP Project Number, the Workload Identity Pool Resource Name (this must be the full provider resource path, e.g.
projects/123456789012/locations/global/workloadIdentityPools/gumloop-pool/providers/gumloop-oidc), and the Target Service Account Email
gcloud commands), see the BigQuery Workload Identity Federation guide.
FAQ
Can I use OAuth and WIF at the same time?
Can I use OAuth and WIF at the same time?
Yes. If you have both a standard BigQuery OAuth credential and a WIF credential, Gumloop will try your OAuth token first. If it’s expired or missing, it will automatically fall back to your WIF credential. You don’t need to choose one or the other.
Do I need to change anything in my agents or workflows?
Do I need to change anything in my agents or workflows?
No. WIF works transparently. Your agents and workflows continue to use BigQuery the same way. The only difference is how Gumloop authenticates behind the scenes.
Why would I pick WIF over OAuth?
Why would I pick WIF over OAuth?
If your GCP organization enforces short session-control windows (e.g., 1-hour reauth), OAuth credentials require frequent reconnection. WIF eliminates that. It’s also the better choice for teams that prohibit static service-account key files.
Available Tools
| Tool | Description |
|---|---|
| List Project Ids | List accessible Google Cloud projects |
| List Dataset Ids | List datasets in a project |
| List Table Ids | List tables in a dataset |
| Get Dataset Info | Get dataset metadata |
| Get Table Info | Get table schema and row count |
| Execute SQL | Run a SQL query and return results |
Example Prompts
Use these with your agent or in the Agent Node: Discover projects:Troubleshooting
| Issue | Solution |
|---|---|
| Agent not finding the right data | Specify the project ID and dataset explicitly |
| Action not completing | Check that you’ve authenticated and have BigQuery access |
| Unexpected results | The agent may chain multiple tools (e.g., listing datasets first, then querying). Review the agent’s reasoning to understand its approach. |
| Tool not available | Verify the tool is enabled in your agent’s MCP configuration |
Need Help?
- Agents documentation for setup and best practices
- Agent Node guide for workflow integration
- Need help? Reach out to us
- Contact support@gumloop.com for assistance
Use this integration directly in Claude or Cursor. Connect remotely via the BigQuery MCP server using your Gumloop credentials.
