Releases: dimitar-grigorov/mcp-file-tools
Releases · dimitar-grigorov/mcp-file-tools
v1.5.3
Changelog
- 96394f5 Add UTF-16/UTF-32 BOM detection and UTF-16 encoding support
- c962d11 Add cancellation to grep tool
- 3f6dfc1 Add fuzz tests for path validation security
- 3f5ce2a Add maxResults limit to search_files (default 10000)
- 43a8983 Cache resolved allowed dirs to avoid repeated EvalSymlinks in traversals. Remove read code.
- 3313661 Fix WithRecovery setting both err and result on panic
- 60faf1c Log warning for invalid MCP_DEFAULT_ENCODING and deduplicate EncodingItem type
- 2195a99 Remove useless files. Update Dockerfile to use Go 1.24
v1.5.2
Changelog
- 2ae54cc Add symlink safety check to directory_tree handler
- b46d0be Add tests
- 308cb82 Avoid unnecessary split+join in read_text_file
- 835f0cb Cap read_multiple_files concurrency with worker pool
- 4a3b007 Deduplicate atomic write in edit_file.go
- b9741ef Extracted hardcoded digits to constants
- e5671fd Fix edit_file losing negative relative indentation
- 0480044 Fix file:// URI parsing for Unix in MCP Roots protocol
- a8212cc Improve error handling in read_multiple_files
- bc5759b Initialize list_directory files slice to avoid null JSON
- cb019c1 Preserve existing file encoding in write_file
- 2c0284f Upgrade to Go 1.24 and bump golang.org/x/text to v0.33.0
- 6d177d2 Use atomic write for copy_file to prevent partial files
v1.5.1
v1.5.0
v1.4.9
v1.4.8
Changelog
- a3b83dc Add context cancellation and rename grep_text_files
- 8b9fabc Add detection modes to detect_encoding (sample/chunked/full)
- edd5929 Added convert_encoding tool
- be6cd54 Added copy_file and delete_file tools
- ef30f52 Added grep_text_files tool
- fee558c Added logging when operating with large files.
- 917b336 Added tool detect_line_endings
- ac90010 Fixed bug: not preserving file permissions on write operations.
- 11aaee9 Fixed ubuntu tests
- 0f8d6a4 For read_text_file removed head/tail params
- 6e9c3b6 Improved tests
- f077450 Optimize detect_encoding with streaming I/O
- 280afac Updated README.md and TOOLS.md
- c9e51ae Updated README.md and TOOLS.md
- 7f3a20f Updated comments
- d02cedb When detecting the encoding we read the entire file if it is not larger than MaxFileSize
- db60571 edit_text_file -> preserve the line endings
v1.4.7
Changelog
- 0585f7e Add config externalization and tool title annotations
- a1a3d89 Add edit_file and search_files tools
- 00f1ce3 Add offset/limit pagination to read_text_file
- 8e572e1 Add path validation helpers, update all handlers
- 8595b4a Add tree tool. Optimized the tools description
- 42852a4 Added middleware that wraps the tools with recovery and logging middleware.
- 973aff5 Added sentinel errors.
- 1e7e594 Added tests
- 2fe655b Added tool read_multiple_files
- 4d5e3fb Fix edit_file to support non-UTF-8 encodings
- 93cc56b Fixed go.mod. Improved server.json
- 39b189c Implemented move_file tool
- 1bda930 Improve edit_file reliability and add shared response helpers
- ad42de8 Removed some dead code.
- 7b15d27 Split encoding package and add tests
- a114547 Updated TOOLS.md
v1.4.6
v1.4.5
Changelog
- 06c3152 Add config externalization and tool title annotations
- f8ee1fd Add edit_file and search_files tools
- 9b36d6e Add path validation helpers, update all handlers
- ec46724 Added middleware that wraps the tools with recovery and logging middleware.
- f03a13f Added sentinel errors.
- 40e1807 Fixed go.mod. Improved server.json
- 39b189c Implemented move_file tool
- 32d1c76 Improve edit_file reliability and add shared response helpers
- 6a61feb Split encoding package and add tests