Skip to main content
Glama
AndersHsueh

AX Local Operations MCP Server

by AndersHsueh

file_operation

Perform local file operations including reading, writing, listing directories, creating directories, and deleting files or directories with support for working directory resolution and relative paths.

Instructions

文件操作:读取、写入、列出目录、创建目录、删除文件或目录。支持工作目录解析和相对路径。

示例:读取文件 { "operation": "read", "path": "src/index.js", "output_format": "json" } 示例:写入文件 { "operation": "write", "path": "test.txt", "content": "Hello", "output_format": "text" }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYes要执行的操作类型
pathNo文件或目录的绝对路径,或相对于 working_directory 的相对路径
working_directoryNo工作目录路径,所有相对路径以此为基础解析
contentNo要写入或追加的文件内容
max_sizeNo最大文件大小限制(字节),默认 10485760 (10MB)
output_formatNo输出格式:text(纯文本)、json(结构化JSON)、both(两者兼有)

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/AndersHsueh/Ax-LocalTools-MCP'

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