LM

lucashild/mcp-server-bigquery

Database management

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

131 stars 41 forks 품질 75 트렌드 16MIT

lucashild/mcp-server-bigQuery는 https://github.com/lucashild/mcp-server-bigquery.에서 가져온 MCP 서버 후보입니다.

개요

lucashild/mcp-server-bigQuery는 https://github.com/lucashild/mcp-server-bigquery.에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

BigQuery에 접근할 수 있는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 LLM이 데이터베이스 스키마를 검사하고 쿼리를 실행할 수 있도록 합니다.

구성 요소

도구

서버는 하나의 도구를 구현합니다:

  • execute-query: BigQuery 방언을 사용해 SQL 쿼리를 실행함
  • list-tables: BigQuery 데이터베이스 내 모든 테이블을 나열함
  • describe-table: 특정 테이블의 스키마를 설명합니다

구성

서버는 명령줄 인수나 환경 변수로 구성할 수 있습니다.

논자 환경 변수 필수 설명
--project BIGQUERY_PROJECT 네 GCP 프로젝트 ID.
--location BIGQUERY_LOCATION 예 GCP 위치(예: europe-west9).

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

BigQuery MCP server

A Model Context Protocol server that provides access to BigQuery. This server enables LLMs to inspect database schemas and execute queries.

Components

Tools

The server implements one tool:

  • execute-query: Executes a SQL query using BigQuery dialect
  • list-tables: Lists all tables in the BigQuery database
  • describe-table: Describes the schema of a specific table

Configuration

The server can be configured either with command line arguments or environment variables.

Argument Environment Variable Required Description
--project BIGQUERY_PROJECT Yes The GCP project ID.
--location BIGQUERY_LOCATION Yes The GCP location (e.g. europe-west9).
--dataset BIGQUERY_DATASETS No Only take specific BigQuery datasets into consideration. Several datasets can be specified by repeating the argument (e.g. --dataset my_dataset_1 --dataset my_dataset_2) or by joining them with a comma in the environment variable (e.g. BIGQUERY_DATASETS=my_dataset_1,my_dataset_2). If not provided, all datasets in the project will be considered.
GitHub에서 전체 README 보기

설치

uvx mcp-server-bigquery
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "bigquery": { "command": "uvx", "args": ["mcp-server-bigquery"], "env": { "BIGQUERY_PROJECT": "{{GCP_PROJECT_ID}}", "BIGQUERY_LOCATION": "{{GCP_LOCATION}}" } } } }