write_file
Create or update files by specifying the path and content, enabling secure file management within the MCP File System's controlled directory structure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | File content | |
path | Yes | File location |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "File content",
"type": "string"
},
"path": {
"description": "File location",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
}