Skip to main content
Glama
rayss868

PC Controller MCP Server

by rayss868

file_read

Read and return the complete text content of any text-based file on a Windows PC, covering source code, configuration files, and logs. Provide an absolute path to access the file's contents.

Instructions

Read and return the full text contents of a file on this Windows PC. Supports all text-based files: .txt, .json, .js, .ts, .py, .md, .csv, .xml, .yaml, .html, .css, .log, .env, .ini, .bat, .ps1, .toml, and other text files. Use this to view configuration files, read source code, inspect log files, or extract data from files. Files are read in text mode with UTF-8 encoding by default. For binary files (images, videos, etc.), use a different approach. Path must be absolute (e.g., C:\Users\rayss\Documents\config.json).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to the file to read. Example: C:\Users\rayss\Documents\config.json
encodingNoFile encoding. Default: "utf-8". Other options: "ascii", "latin1", "utf16le". Use "latin1" for files with Windows special characters.

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