MCP server for asynchronous shell utilities using aioshutil
Project description
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
aioshutilfor 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.
- Detailed Metadata: Tools like
lsprovide comprehensive information (size, mtime, mode, owner, etc.). - HTTP Transport Support: Includes built-in support for SSE and Streamable HTTP transports.
Available Tools
ls: List directory contents with detailed metadata.cp: Copy files or directories recursively.mv: Move/rename files or directories.rm: Remove files or directories recursively.chmod: Change file/directory permissions.chown: Change file/directory ownership.disk_usage: Get disk usage statistics for a path.which: Find the path to an executable.make_archive: Create archive files (zip, tar, etc.).unpack_archive: Unpack archive files.get_archive_formats: List supported archive formats.
Installation
pip install shutil-mcp
Usage
Run with stdio transport
shutil-mcp --transport stdio
Run with jail restriction
shutil-mcp --transport stdio --jail /path/to/projects
Run as SSE server
shutil-mcp --transport sse --jail /path/to/projects --port 8000
Development
See @DEVELOPMENT.md for detailed development instructions.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shutil_mcp-0.1.0.tar.gz.
File metadata
- Download URL: shutil_mcp-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.14.3 Linux/6.19.11-200.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a0d65811df18499419648e7d78528aa0a4a3f083d6408e5d826abb7369710ce
|
|
| MD5 |
ec3ede1c61fbaa995087c10bcfee700c
|
|
| BLAKE2b-256 |
0efeb1496ce8de0f3b08174a7ceafce8658b63229215b230d2cd2f5ede1ca9e2
|
File details
Details for the file shutil_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: shutil_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.14.3 Linux/6.19.11-200.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be976e022c136e616a7b6a9f8df1397bd409119bf178a1be748b85c6f662448
|
|
| MD5 |
2a7cd7002b794734e1d9872b59573157
|
|
| BLAKE2b-256 |
0a83993b08ab8ccb23cba443e2020d6a7b759fd61ea715769b312935e4841a00
|