diff --git a/mcp-server/app/wren.py b/mcp-server/app/wren.py index d1ae3ea72..5472fbca0 100644 --- a/mcp-server/app/wren.py +++ b/mcp-server/app/wren.py @@ -41,7 +41,7 @@ async def make_query_request(sql: str, dry_run: bool = False): async with httpx.AsyncClient() as client: try: response = await client.post( - f"http://{WREN_URL}/v2/connector/{data_source}/query?dry_run={dry_run}", + f"http://{WREN_URL}/v3/connector/{data_source}/query?dry_run={dry_run}", headers=headers, json={ "sql": sql,