Skip to content

Commit

Permalink
[Filesystem] Add copy command (cp) capability
Browse files Browse the repository at this point in the history
Add file system level copy command to provide a faster, more consistent way 
to copy files instead of reading and writing entire files.

Features:
- Uses Node.js streams for efficient copying of large files
- Implements recursive directory copying
- Option to preserve file timestamps
- Proper error handling with cleanup
- Security checks through validatePath

Resolves modelcontextprotocol#519
  • Loading branch information
root committed Jan 14, 2025
1 parent 5fe8629 commit 0175b26
Showing 1 changed file with 83 additions and 441 deletions.
Loading

0 comments on commit 0175b26

Please sign in to comment.