Filesystem
Summary
This MCP server implements a comprehensive set of filesystem operations, enabling AI agents to interact with the host system's files and directories. Developed using Python and the FastMCP framework, it provides tools for navigation, reading, writing, and analyzing files, as well as a notes system for metadata. The implementation focuses on offering a wide range of file manipulation capabilities through a standardized interface, including batch operations for improved efficiency. It's particularly useful for AI-assisted file management, code analysis, and content generation tasks, allowing seamless integration of AI capabilities with local filesystem operations.
Available Actions(18)
ls
List directory contents. Parameters: path (string)
cd
Change working directory. Parameters: path (string)
read_file
Read file contents. Parameters: path (string)
write_file
Write content to a file. Parameters: path (string), content (string)
mkdir
Create directory. Parameters: path (string)
rm
Remove file or empty directory. Parameters: path (string)
rmdir
Remove directory and contents recursively. Parameters: path (string)
cp
Copy file or directory. Parameters: src (string), dst (string)
mv
Move file or directory. Parameters: src (string), dst (string)
edit_file
Apply multiple search/replace operations to a file. Parameters: path (string), changes (list of tuples)
grep
Search for regex pattern in file(s). Parameters: pattern (string), path (string)
summary
Generate summary of Python (.py) and Markdown (.md) files. Parameters: path (string)
read_files
Read multiple files, returns dict mapping paths to contents. Parameters: paths (list of strings)
summarize
Generate summaries for multiple files, returns dict mapping paths to summaries. Parameters: paths (list of strings)
work_on
Change to directory, list its contents, and get the notes from CLAUDE.md. Parameters: path (string)
ruff_check
Run ruff linter on specified files. Parameters: paths (list of strings)
ruff_format
Format files using ruff. Parameters: paths (list of strings)
shell_command
Run shell commands and capture their output. Parameters: command (string), args (optional list), cmdline (optional string), timeout (optional integer)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论