You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesmodelcontextprotocol#478
Add functionality to handle reading large files in chunks.
* Add a new function `readLargeFile` to read large files in chunks.
* Update the `read_file` tool implementation to use `readLargeFile` for files larger than 1MB.
* Improve error handling in the `read_file` tool to provide more detailed error messages.
* Check file size before using `readLargeFile` to determine if the file exceeds the 1MB threshold.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/modelcontextprotocol/servers/issues/478?shareId=XXXX-XXXX-XXXX-XXXX).
Describe the bug
Claude could not read the file data.csv with error:
Error
File not found: No file named "d:/mcp_sandbox/data.csv"
I created a truncated version data1.csv which is read out
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect both files to be readable.
Logs
If applicable, add logs to help explain your problem.
Additional context
Add any other context about the problem here.
data.csv
data1.csv
The text was updated successfully, but these errors were encountered: