-
Notifications
You must be signed in to change notification settings - Fork 113
Querying files not working in mcp #47
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Milestone
Description
I am trying to query files using mcp, but it seems reading from files can only be used in cli.
mcp calls:
{
"method": "tools/call",
"params": {
"name": "executeQuery",
"arguments": {
"query": "SELECT count(*) FROM read_csv('./table.csv');"
}
}
}result:
{
"content": [
{
"type": "text",
"text": "Failed to execute the query: failed to run the query: no such table: read_csv"
}
],
"isError": true
}Thank you in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request