You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`DOCKERHUB_PASSWORD`| Your Docker Hub password (for README sync) | Your actual Docker Hub account password (required for README updates via API) |
18
+
19
+
**Note**: The README sync feature requires your actual password due to Docker Hub API limitations. If you prefer not to store your password, you can remove the "Update Docker Hub description" step from the workflow and manually update the README on Docker Hub's website.
17
20
18
21
### For Cloud Run Deployment (Workload Identity Federation - Recommended)
**Note**: Project IDs and locations are not sensitive and can be stored as **Variables** instead of **Secrets** for better visibility. Go to **Settings → Secrets and variables → Actions → Variables tab** to add them.
27
32
28
33
### For Service Account Key (Alternative)
29
34
30
35
If not using Workload Identity Federation, use these instead:
[](https://github.com/timoschd/mcp-server-bigquery/actions/workflows/docker-publish.yml)
A Model Context Protocol server that provides access to BigQuery. This server enables LLMs to inspect database schemas and execute queries.
6
7
@@ -12,8 +13,20 @@ A Model Context Protocol server that provides access to BigQuery. This server en
12
13
- 🎯 Dataset filtering for security and performance
13
14
- 🚀 Dual transport support (stdio for local, HTTP/SSE for cloud deployment)
14
15
16
+
## Deployment Options
17
+
18
+
This server can be deployed in multiple ways to suit different use cases:
19
+
20
+
-**📦 PyPI Package** - Install via `uvx` or `uv` for local use with Claude Desktop or other MCP clients
21
+
-**🐳 Docker Hub** - Pre-built multi-architecture images available at [`timoschd/mcp-server-bigquery`](https://hub.docker.com/r/timoschd/mcp-server-bigquery)
22
+
-**☁️ Google Cloud Run** - Deploy as a serverless HTTP/SSE endpoint with automatic scaling
23
+
-**🔧 Local Development** - Use Podman Compose for containerized local development
24
+
25
+
All deployment methods support both **stdio** (for local MCP clients) and **HTTP/SSE** (for cloud/remote access) transports.
26
+
15
27
## Table of Contents
16
28
29
+
-[Deployment Options](#deployment-options)
17
30
-[Components](#components)
18
31
-[Configuration](#configuration)
19
32
-[Quickstart](#quickstart)
@@ -119,7 +132,20 @@ On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
119
132
}
120
133
```
121
134
122
-
Replace `{{PATH_TO_REPO}}`, `{{GCP_PROJECT_ID}}`, and `{{GCP_LOCATION}}` with the appropriate values.
135
+
##### Remote Server Configuration (SSE)
136
+
137
+
To connect to a remotely deployed server (e.g., on Cloud Run):
138
+
139
+
```json
140
+
"mcpServers": {
141
+
"bigquery": {
142
+
"transport": "sse",
143
+
"url": "https://your-server-url.run.app/messages"
144
+
}
145
+
}
146
+
```
147
+
148
+
Replace `{{PATH_TO_REPO}}`, `{{GCP_PROJECT_ID}}`, `{{GCP_LOCATION}}`, and `https://your-server-url.run.app` with the appropriate values.
123
149
124
150
### Docker Deployment
125
151
@@ -178,7 +204,7 @@ docker run -p 8080:8080 \
178
204
timoschd/mcp-server-bigquery:latest
179
205
```
180
206
181
-
#### Using Podman Compose
207
+
#### Using Podman Compose/ Docker Compose
182
208
183
209
A `podman-compose.yml` file is provided for easy local development:
184
210
@@ -189,6 +215,10 @@ cp .env.example .env
189
215
# Start the service
190
216
podman-compose up
191
217
```
218
+
OR
219
+
```bash
220
+
docker-compose up
221
+
```
192
222
193
223
The compose file supports configurable environment variables:
0 commit comments