From 8710149671dce071ace6fca98d78c068f6749ce7 Mon Sep 17 00:00:00 2001 From: Jax Liu Date: Wed, 25 Mar 2026 18:18:11 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(mcp-server):=20fix=20onboarding=20block?= =?UTF-8?q?ers=20=E2=80=94=20MDL=20crash,=20BigQuery=20field=20names,=20fi?= =?UTF-8?q?le=20upload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Handle missing/invalid MDL file gracefully instead of crashing on startup - Fix BigQuery Web UI field names to match backend pydantic model (project→project_id, dataset→dataset_id, credentials_base64→credentials) - Add file_base64 input type so users can upload credentials.json directly instead of manually base64-encoding - Add Databricks data source to Web UI Co-Authored-By: Claude Opus 4.6 (1M context) --- mcp-server/app/templates/_fields.html | 36 +++++++++++++++++++++++++++ mcp-server/app/web.py | 11 +++++--- mcp-server/app/wren.py | 19 ++++++++------ 3 files changed, 56 insertions(+), 10 deletions(-) diff --git a/mcp-server/app/templates/_fields.html b/mcp-server/app/templates/_fields.html index af1de42b8..ddd894948 100644 --- a/mcp-server/app/templates/_fields.html +++ b/mcp-server/app/templates/_fields.html @@ -3,6 +3,23 @@ {% for field in fields %} {% if field.type == 'hidden' %} + {% elif field.type == 'file_base64' %} + {% else %} {% endif %} {% endfor %} + {% elif datasource %}