mcp-text-editor
by tumf
get_text_file_contents
Read text file contents from multiple files and line ranges. Returns file contents with hashes for concurrency control and line numbers for reference. The hashes are used to detect conflicts when editing the files. File paths must be absolute.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
encoding | No | Text encoding (default: 'utf-8') | utf-8 |
files | Yes | List of files and their line ranges to read |