write_file
Create or overwrite files with specified content in predefined directories using proper text encoding. Ensures controlled filesystem access for secure file management within the MCP Filesystem Server.
Instructions
Create a new file or completely overwrite an existing file with new content. Use with caution as it will overwrite existing files without warning. Handles text content with proper encoding. Only works within allowed directories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to the file | |
encoding | No | File encoding | utf-8 |
path | Yes | Path where to write the file |