shutil-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shutil-mcplist files in /home/user/projects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
shutil-mcp
An MCP server providing asynchronous shell utilities using aioshutil.
This project offers a set of file system tools designed for AI agents, returning structured JSON output instead of raw text. This allows for more precise and direct consumption of file system data by AI models.
Features
Asynchronous Operations: Leverages
aioshutiland thread executors for non-blocking file system tasks.JSON Output: All tools return minified JSON, optimized for AI agents.
Jail Support: Restrict file system access to a specific directory tree for security.
Verification & Integrity:
mvandcpverify destination data before unlinking or finalizing, preventing data loss on partial failures.Reversible Mutations & Undo:
chmodandchownreturn previous modes and ownership to facilitate immediate undo/redo, with automatic rollback on failure.Soft-Deletion & Recovery:
rmsupportstrash=Truesoft-deletion with a matchingrestoretool.Zip-Slip Protection:
unpack_archivevalidates all archive member paths against directory traversal / zip-slip attacks.Detailed Metadata: Tools like
lsandstatprovide comprehensive information (size, mtime, mode, owner, etc.).HTTP Transport Support: Includes built-in support for SSE and Streamable HTTP transports.
Related MCP server: File Manager MCP Server
Available Tools
ls: List directory contents with detailed metadata.cp: Copy files or directories recursively with verification.mv: Move/rename files or directories with safe pre-removal verification.rm: Remove files or directories (supportstrash=Truesoft-deletion).restore: Restore files or directories from trash.chmod: Change file/directory permissions with rollback and previous mode.chown: Change file/directory ownership with rollback and previous owner.disk_usage: Get disk usage statistics for a path.which: Find the path to an executable.cat: Read file content, optionally limited to a specific line range.glob: Find files matching glob patterns.grep: Search file contents using regex patterns.tree: Get a recursive directory tree as nested JSON.make_archive: Create archive files (zip, tar, etc.) with overwrite guards.unpack_archive: Unpack archive files safely with zip-slip protection.get_archive_formats: List supported archive formats.
Installation
pip install shutil-mcpUsage
Run with stdio transport
shutil-mcp --transport stdioRun with jail restriction
shutil-mcp --transport stdio --jail /path/to/projectsRun as SSE server
shutil-mcp --transport sse --jail /path/to/projects --port 8000Development
See DEVELOPMENT.md for detailed development instructions.
License
MIT
This server cannot be installed
Maintenance
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables secure filesystem operations with directory sandboxing and optional read-only mode. Supports file reading/writing, directory management, file searching, and text operations while restricting access to specified directories.12
- FlicenseNot gradedqualityDmaintenanceProvides secure file system operations for AI assistants including directory listing, file reading/writing, deletion, searching, and copying. Features safety controls like path validation, permission checks, and file size limits.
- AlicenseNot gradedqualityCmaintenanceProvides secure, sandboxed file system access for AI assistants to read, write, and manage project files with controlled command execution capabilities, all confined to a designated workspace directory.MIT
- FlicenseNot gradedqualityDmaintenanceProvides secure file read and write operations within a sandboxed directory, allowing AI assistants to safely create, modify, and access files without risk of accessing the broader file system.
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Project management MCP for AI agents with safe task reads and writes.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cwt/shutil-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server