read_file
Read file contents with optional line range
How to use it
read_file is exposed by the MCP File Edit MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the read_file tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP File Edit
$
uv pip install -e .Other tools in MCP File Edit (12)
copy_file
Copy files or directories
create_file
Create a new file
delete_file
Delete a file or directory
get_file_info
Get detailed file metadata
get_project_directory
Get current project directory
list_files
List files with glob patterns and depth control
move_file
Move or rename files
patch_file
Apply precise modifications to files
replace_in_files
Find and replace across multiple files
search_files
Search for patterns with regex support
set_project_directory
Set the working directory context
write_file
Write content to a file