Skip to main content
Glama
rayss868

PC Controller MCP Server

by rayss868

file_write

Write text content to any file on a Windows PC, creating the target file and missing parent directories automatically. Ideal for generating config files, scripts, or saving process output by fully overwriting existing files.

Instructions

Write text content to a file on this Windows PC. If the file does not exist, it will be created automatically along with any missing parent directories (auto-create directory). If the file already exists, its entire content will be overwritten (full replacement). Use this to create new configuration files, save processed data output, write source code, generate scripts, or update files by rewriting their full content. Path must be absolute. Content is written in UTF-8 encoding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the target file. Example: D:\Projects\app\config.json. Parent directories will be created automatically if they don't exist.
contentYesThe full text content to write into the file. Can be JSON, source code, configuration, or any text.

Latest Blog Posts

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/rayss868/pc-controller-mcp-server'

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