Skip to main content
Glama

File Operations MCP Server

by bsmi021

write_file

Write specific content to a file at a designated path using a specified encoding, ensuring data persistence and structured file creation.

Instructions

Write content to a file

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write to the file
encodingNoFile encoding (default: utf8)utf8
pathYesPath to write the file to

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write to the file", "type": "string" }, "encoding": { "default": "utf8", "description": "File encoding (default: utf8)", "type": "string" }, "path": { "description": "Path to write the file to", "type": "string" } }, "required": [ "path", "content" ], "type": "object" }
Install Server

Other Tools from File Operations MCP Server

Related Tools

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/bsmi021/mcp-file-operations-server'

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