From bcc538fc2c9eecf1c9c4fea6387d3b1d372eebc9 Mon Sep 17 00:00:00 2001 From: Jax Liu Date: Wed, 18 Mar 2026 10:23:38 +0800 Subject: [PATCH 1/2] fix(mcp-server): add missing format field and clarify url for DuckDB connection DuckDB connection info requires `format: "duckdb"` but the Web UI was not sending it. Add it as a hidden field with a fixed value. Also rename the label to "Directory Path" with a hint clarifying it is not a .duckdb file path. Co-Authored-By: Claude Opus 4.6 (1M context) --- mcp-server/app/templates/_fields.html | 7 +++++++ mcp-server/app/web.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mcp-server/app/templates/_fields.html b/mcp-server/app/templates/_fields.html index 527497a2d..af1de42b8 100644 --- a/mcp-server/app/templates/_fields.html +++ b/mcp-server/app/templates/_fields.html @@ -1,6 +1,9 @@ {% set fields = datasource_fields.get(datasource, []) %} {% if fields %} {% for field in fields %} + {% if field.type == 'hidden' %} + + {% else %} + {% endif %} {% endfor %} {% elif datasource %}