Provides analysis of Markdown (.md) files, including listing headers (lines starting with #)
Provides analysis of Python (.py) files, including listing functions and classes
Integrates the Ruff linter and formatter through ruff_check(paths) and ruff_format(paths) functions
Allows running shell commands and capturing their output through the shell_command function
MCP File System Server
MCP server providing file system operations. Supports navigation, reading, writing, analyzing files and command execution.
Tools
File and Directory Operations
ls(path)
- List directory contentscd(path)
- Change working directory (supports home directory expansion with ~)read_file(path)
- Read file contentswrite_file(path, content)
- Write content to a filemkdir(path)
- Create directoryrm(path)
- Remove file or empty directoryrmdir(path)
- Remove directory and contents recursivelycp(src, dst)
- Copy file or directorymv(src, dst)
- Move file or directory
Editing and Searching
edit_file(path, changes)
- Apply multiple search/replace operations to a file, where changes is a list of (search_text, replace_text) tuplesgrep(pattern, path)
- Search for regex pattern in file(s)
Analysis
summary(path)
- Generate summary of Python (.py) and Markdown (.md) files:- Python: Lists functions and classes
- Markdown: Lists headers (lines starting with #)
Batch Operations
read_files(paths)
- Read multiple files, returns dict mapping paths to contentssummarize(paths)
- Generate summaries for multiple files, returns dict mapping paths to summaries
Project Navigation
work_on(path)
- Change to directory, list its contents, and get the notes from CLAUDE.md. Useful for getting familiar with a project at the start of a chat
Code Quality
ruff_check(paths)
- Run ruff linter on specified filesruff_format(paths)
- Format files using ruff
Command Execution
shell_command(command, args=None, cmdline=None, timeout=30)
- Run shell commands and capture their output⚠️ Security Warning: This tool allows arbitrary command execution on the host system. Always inspect and validate commands before allowing them to run, especially if the input source is untrusted.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
This server provides an interface for performing basic file system operations such as navigation, reading, writing, and file analysis, allowing users to manage directories and files efficiently.
Related Resources
Related MCP Servers
- -securityAlicense-qualityThe Claude Dev Server enables direct interaction with the file system within a specified workspace, allowing users to perform file and directory operations and implement code artifacts in software development using natural language commands.Last updated -2PythonMIT License
- -securityFlicense-qualityAn MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.Last updated -51JavaScript
- AsecurityAlicenseAqualityA Model Context Protocol server that enables enhanced file system operations including reading, writing, copying, moving files with streaming capabilities, directory management, file watching, and change tracking.Last updated -126TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that provides tools for reading, writing, and editing files on the local filesystem.Last updated -11,387PythonApache 2.0