Skip to main content
Glama

Edit MCP

write_file

Write content to a specified file path using the encoding of your choice. Simplify file creation and updates in the Edit MCP server environment.

Instructions

Write content to a file

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write to the file
encodingNoEncoding to use when writing the file (default: utf8)
pathYesPath to the file to write

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write to the file", "type": "string" }, "encoding": { "description": "Encoding to use when writing the file (default: utf8)", "type": "string" }, "path": { "description": "Path to the file to write", "type": "string" } }, "required": [ "path", "content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mixelpixx/edit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server