write_file
Create or update files by specifying a relative path and content. Saves changes, generates new files, or overwrites existing ones automatically, creating parent directories if necessary.
Instructions
Create a new file or overwrite an existing file with new content. Use this to save changes, create new files, or update existing ones. Use with caution as it will overwrite existing files without warning. Path must be relative to the allowed directory. Creates parent directories if needed. Example: Path='notes.txt', Content='Meeting notes for project X'
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content to write to the file | |
path | Yes | Path where to write the file |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from AiDD MCP Server
- create_directory
- delete_file
- directory_tree
- edit_file
- execute_code
- execute_shell_script
- get_allowed_directory
- get_file_info
- get_system_info
- git_add
- git_checkout
- git_commit
- git_create_branch
- git_diff
- git_diff_staged
- git_diff_unstaged
- git_init
- git_log
- git_reset
- git_show
- git_status
- list_directory
- move_file
- read_file
- read_multiple_files
- search_files
- tree_sitter_map
- update_allowed_directory
- write_file
Related Tools
- @sylphlab/filesystem-mcp
- @auchenberg/claude-code-mcp
- @bsmi021/mcp-file-operations-server
- @alekspetrov/mcp-docs-service
- @Wayazi/mcp_file_system