Tools Provided | Short Description |
---|---|
create_directory | Create a new directory or ensure a directory exists. |
directory_tree | Get a recursive tree view of files and directories as a JSON structure. |
edit_file | Make line-based edits to a text file. |
get_file_info | Retrieve detailed metadata about a file or directory. |
list_allowed_directories | Returns the list of directories that this server is allowed to access. |
list_directory | Get a detailed listing of all files and directories in a specified path. |
move_file | Move or rename files and directories. |
read_file | Read the complete contents of a file from the file system. |
read_multiple_files | Read the contents of multiple files simultaneously. |
search_files | Recursively search for files and directories matching a pattern. |
write_file | Create a new file or completely overwrite an existing file with new content. |
create_directory
Parameter | Type | Description |
---|---|---|
path | string |
directory_tree
Parameter | Type | Description |
---|---|---|
path | string |
edit_file
Parameter | Type | Description |
---|---|---|
edits | array | |
path | string | |
dryRun | boolean (optional) | Preview changes using git-style diff format |
get_file_info
Parameter | Type | Description |
---|---|---|
path | string |
list_allowed_directories
list_directory
Parameter | Type | Description |
---|---|---|
path | string |
move_file
Parameter | Type | Description |
---|---|---|
destination | string | |
source | string |
read_file
Parameter | Type | Description |
---|---|---|
path | string |
read_multiple_files
Parameter | Type | Description |
---|---|---|
paths | array |
search_files
Parameter | Type | Description |
---|---|---|
path | string | |
pattern | string | |
excludePatterns | array (optional) |
write_file
Parameter | Type | Description |
---|---|---|
content | string | |
path | string |