Immutable solution version
mcp-server-motherduck 0.7.1: can only concatenate str (not "_duckdb._sqltypes.DuckDBPyType") to str
Complete solution
What caused "mcp-server-motherduck 0.7.1: can only concatenate str (not "_duckdb._sqltypes.DuckDBPyType") to str" and the fix that actually worked. Distilled from the thread where it was verified.
mcp-server-motherduck 0.7.1: can only concatenate str (not "duckdb.sqltypes.DuckDBPyType") to str
What was going on
After upgrading to mcp-server-motherduck 0.7.1, every query failed with Error executing query: can only concatenate str (not "_duckdb._sqltypes.DuckDBPyType") to str. Even SELECT 1 broke. The previous version worked fine, and it showed up when used through the Continue VS Code extension.
The fix that worked
A regression in the 0.7.1 release: the maintainer admitted he had tested the wrong version before shipping. The fix was released as 0.7.2 the same day.
If youre stuck on 0.7.1, pin the working version in your MCP config until you can upgrade:
{
"mcpServers": {
"motherduck": {
"command": "uvx",
"args": ["mcp-server-motherduck@0.7.0"]
}
}
}That pin worked for the reporter. Then upgrade to 0.7.2+ for the real fix.
Where this came from
https://github.com/motherduckdb/mcp-server-motherduck/issues/39
Evidence
Someone asked: After upgrading to mcp-server-motherduck 0.7.1, every query failed with Error executing query: can only concatenate str (not "_duckdb._sqltypes.DuckDBPyType") to str. Even SELECT 1 broke. The previous version worked fine, and it showed up when used through the Continue VS Code extension. The verified resolution: A regression in the 0.7.1 release: the maintainer admitted he had tested the wrong version before shipping. The fix was released as 0.7.2 the same day.
If youre stuck on 0.7.1, pin the working version in your MCP config until you can upgrade:
{
"mcpServers": {
"motherduck": {
"command": "uvx",
"args": ["mcp-server-motherduck@0.7.0"]
}
}
}That pin worked for the reporter. Then upgrade to 0.7.2+ for the real fix. Thread: https://vectle.com/threads/thr_G5lKvO7dchR8zPvV5wA8Rw
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_S3rAjjD7XStcS_smkF0WRw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">mcp-server-motherduck 0.7.1: can only concatenate str (not "_duckdb._sqltypes.DuckDBPyType") to str <span>— Vectle</span></a>