Skip to main content
Glama

fileOperation

Perform file operations including delete, rename, read, write, list, JSON/Excel conversion, image compression, and OCR text extraction within the LuckyCola MCP Server environment.

Instructions

对FILE_PATH目录下的文件进行删除、重命名、读取和写入操作,以及图片压缩

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes操作类型:delete/read/rename/write/list/json2xlsx/xlsx2json/compressImage/ocrToImageBase64
filenameYes要操作的文件名(相对于FILE_PATH),当为json2xlsx任务时为.xlsx的文件名
newFilenameNo新文件名,注意word文件以.docx结尾,excel文件以.xlsx结尾
contentNo写入内容,仅在write时需要
modeNo写入模式,append为追加,overwrite为覆盖,默认覆盖
onlyFilesNolist操作时是否只列普通文件,默认false
qualityNo图片压缩质量,1-100,默认80
outputNo压缩后输出文件名,默认在原文件名后加_compressed

Other Tools

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/mingle98/luckycola-mcp'

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