Back to Home
ShubhamChougale01 icon

bigquery-mcp-server

by ShubhamChougale01

Overview

Provides a secure, authenticated, and rate-limited Model Context Protocol (MCP) server for AI agents and clients to interact with Google BigQuery.

Installation

Run Command
python bq_mcp_server.py

Environment Variables

  • PROJECT_ID
  • GOOGLE_APPLICATION_CREDENTIALS
  • CLIENTS_JSON

Security Notes

The server allows direct execution of client-provided SQL queries via the `bq.run_query` tool. Given that the required service account roles include 'BigQuery Data Editor', an untrusted or compromised AI agent could potentially perform SQL injection attacks, leading to unintended data modification, deletion, or extraction within the BigQuery project. While authentication, rate limiting, and session management are in place, the direct execution of arbitrary SQL without sanitization by the server itself presents a significant risk with powerful BigQuery permissions.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-11

Tags

BigQueryGCPAPIMCPAuthentication