Skip to main content
Glama
AndersHsueh

AX Local Operations MCP Server

by AndersHsueh

file_permissions

Manage file and directory permissions across platforms using chmod for Unix and icacls for Windows. Supports recursive permission settings with depth control for consistent access management.

Instructions

跨平台文件权限管理:Unix系统使用chmod,Windows系统使用icacls。支持递归设置。

示例:设置文件权限 { "path": "script.sh", "mode": "755" } 示例:递归设置目录权限 { "path": "project", "mode": "644", "recursive": true, "max_depth": 3 }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes文件或目录的绝对路径,或相对于 working_directory 的相对路径
modeNo文件权限模式,如 "755"(rwxr-xr-x)、"644"(rw-r--r--)
permissionsNoWindows权限设置对象
recursiveNo是否递归处理子目录
max_depthNo最大递归深度,0表示不递归,默认8
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