Skip to content

Commit 858e73b

Browse files
committed
updated Readme
1 parent 19e5cab commit 858e73b

File tree

1 file changed

+65
-2
lines changed

1 file changed

+65
-2
lines changed

README.md

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,20 @@ A Model Context Protocol server that provides access to BigQuery. This server en
1212
- 🎯 Dataset filtering for security and performance
1313
- 🚀 Dual transport support (stdio for local, HTTP/SSE for cloud deployment)
1414

15+
## Deployment Options
16+
17+
This server can be deployed in multiple ways to suit different use cases:
18+
19+
- **📦 PyPI Package** - Install via `uvx` or `uv` for local use with Claude Desktop or other MCP clients
20+
- **🐳 Docker Hub** - Pre-built multi-architecture images available at [`timoschd/mcp-server-bigquery`](https://hub.docker.com/r/timoschd/mcp-server-bigquery)
21+
- **☁️ Google Cloud Run** - Deploy as a serverless HTTP/SSE endpoint with automatic scaling
22+
- **🔧 Local Development** - Use Podman Compose for containerized local development
23+
24+
All deployment methods support both **stdio** (for local MCP clients) and **HTTP/SSE** (for cloud/remote access) transports.
25+
1526
## Table of Contents
1627

28+
- [Deployment Options](#deployment-options)
1729
- [Components](#components)
1830
- [Configuration](#configuration)
1931
- [Quickstart](#quickstart)
@@ -119,7 +131,20 @@ On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
119131
}
120132
```
121133

122-
Replace `{{PATH_TO_REPO}}`, `{{GCP_PROJECT_ID}}`, and `{{GCP_LOCATION}}` with the appropriate values.
134+
##### Remote Server Configuration (SSE)
135+
136+
To connect to a remotely deployed server (e.g., on Cloud Run):
137+
138+
```json
139+
"mcpServers": {
140+
"bigquery": {
141+
"transport": "sse",
142+
"url": "https://your-server-url.run.app/messages"
143+
}
144+
}
145+
```
146+
147+
Replace `{{PATH_TO_REPO}}`, `{{GCP_PROJECT_ID}}`, `{{GCP_LOCATION}}`, and `https://your-server-url.run.app` with the appropriate values.
123148

124149
### Docker Deployment
125150

@@ -178,7 +203,7 @@ docker run -p 8080:8080 \
178203
timoschd/mcp-server-bigquery:latest
179204
```
180205

181-
#### Using Podman Compose
206+
#### Using Podman Compose/ Docker Compose
182207

183208
A `podman-compose.yml` file is provided for easy local development:
184209

@@ -189,6 +214,10 @@ cp .env.example .env
189214
# Start the service
190215
podman-compose up
191216
```
217+
OR
218+
```bash
219+
docker-compose up
220+
```
192221

193222
The compose file supports configurable environment variables:
194223
- `PORT`: External port mapping (default: 8085)
@@ -227,6 +256,8 @@ cp .github/workflows/deploy-cloud-run.yml.example .github/workflows/deploy-cloud
227256
git push origin main
228257
```
229258

259+
---
260+
230261
## Development
231262

232263
### Building and Publishing
@@ -318,6 +349,31 @@ The server supports two transport modes:
318349
- `POST /messages`: Send tool invocation requests
319350
- **Configuration**: Set `--transport http` or `MCP_TRANSPORT=http`
320351

352+
#### Connecting MCP Clients to Remote SSE Server
353+
354+
To connect an MCP client (like Claude Desktop or Windsurf) to a remotely deployed server using SSE transport:
355+
356+
**Configuration example** (e.g., in `mcp_config.json` or Claude Desktop config):
357+
358+
```json
359+
{
360+
"mcpServers": {
361+
"bigquery": {
362+
"disabled": false,
363+
"transport": "sse",
364+
"url": "https://your-server-url.run.app/messages"
365+
}
366+
}
367+
}
368+
```
369+
370+
Replace `https://your-server-url.run.app` with your actual deployment URL:
371+
- **Cloud Run**: `https://mcp-server-bigquery-xxxxx-uc.a.run.app`
372+
- **Custom domain**: `https://bigquery-mcp.yourdomain.com`
373+
- **Local testing**: `http://localhost:8080`
374+
375+
The `/messages` path is required for SSE communication.
376+
321377
## Authentication
322378

323379
The server supports multiple authentication methods:
@@ -334,6 +390,13 @@ The server supports multiple authentication methods:
334390
- Works with `gcloud auth application-default login`
335391
- Automatically available in Google Cloud environments (Cloud Run, GCE, etc.)
336392

393+
## Support
394+
395+
For questions, issues, or feedback:
396+
- 📧 Email: [[email protected]](mailto:[email protected])
397+
- 🐛 Issues: [GitHub Issues](https://github.com/timoschd/mcp-server-bigquery/issues)
398+
- 💬 Discussions: [GitHub Discussions](https://github.com/timoschd/mcp-server-bigquery/discussions)
399+
337400
## License
338401

339402
MIT

0 commit comments

Comments
 (0)