Skip to content

Commit 5bb54e1

Browse files
authored
chore(mcp): move to v3 query api (#1115)
1 parent a49e2c2 commit 5bb54e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-server/app/wren.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def make_query_request(sql: str, dry_run: bool = False):
4141
async with httpx.AsyncClient() as client:
4242
try:
4343
response = await client.post(
44-
f"http://{WREN_URL}/v2/connector/{data_source}/query?dry_run={dry_run}",
44+
f"http://{WREN_URL}/v3/connector/{data_source}/query?dry_run={dry_run}",
4545
headers=headers,
4646
json={
4747
"sql": sql,

0 commit comments

Comments
 (0)