write_file
Create or overwrite files with specified content using proper encoding. Operates within predefined directories for secure file management on 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 |