
Filesystem
Gives Claude direct access to your local filesystem with four focused operations: view (read files or list directories with line numbers), create (write or overwrite files), str_replace (exact string replacement), and insert (add text at specific lines). Built for workflows where you need Claude to manipulate files based on data from other sources, like pulling Gmail attachments and saving them locally, updating configuration values across files, or generating reports from calendar data and writing them to disk. Supports both stdio and HTTP transports. The tool set is intentionally minimal, designed around precise file operations rather than broad filesystem management.
- GitHub stars
- 1
- tools
- 4
- auth
- Required
- transport
- STDIO, HTTP
- env var
- 1
- last updated
- Mar 7, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
viewRead file contents or list directory (with line numbers)
Read file contents or list directory (with line numbers)
No parameter schema in public metadata yet.
createCreate or overwrite a file
Create or overwrite a file
No parameter schema in public metadata yet.
str_replaceReplace an exact string in a file
Replace an exact string in a file
No parameter schema in public metadata yet.
insertInsert text at a specific line
Insert text at a specific line
No parameter schema in public metadata yet.
Sponsors
Configuration
MCP_TRANSPORT*Transport type.
Readme
filesystem-mcp
MCP server for filesystem operations - read, create, and edit files.
Use Cases
Save email attachments: "Download all PDFs from my accountant's emails this month" → searches Gmail for matching emails, extracts attachments, and saves them to a local folder.
Update config files: "Change the API endpoint from staging to production in my config" → finds the config file, replaces the URL, and shows you the diff.
Generate reports: "Create a summary of today's calendar events" → reads your calendar, formats a markdown report, and saves it to your notes folder.
Code refactoring: "Rename the function getData to fetchUserData in src/api.ts" → reads the file, makes the precise replacement, and confirms the change.
Backup before changes: "Save a copy of my .zshrc before I modify it" → reads the current file and writes a timestamped backup.
Setup
Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).
Details
- Repository
- github.com/domdomegg/filesystem-mcp
- Website
- github.com/domdomegg/filesystem-mcp#readme
- Category
- Developer Tools
- Package
filesystem-mcp- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active