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.
MCP server for filesystem operations - read, create, and edit files.
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.
claude mcp add filesystem-mcp -- npx -y filesystem-mcp
Or with HTTP transport:
# Start the server
MCP_TRANSPORT=http PORT=3000 npx -y filesystem-mcp
# Add to Claude
claude mcp add --transport http filesystem-mcp http://localhost:3000/mcp
| Tool | Description |
|---|---|
view | Read file contents or list directory (with line numbers) |
create | Create or overwrite a file |
str_replace | Replace an exact string in a file |
insert | Insert text at a specific line |
Pull requests are welcomed on GitHub! To get started:
npm installnpm run test to run testsnpm run buildVersions follow the semantic versioning spec.
To release:
npm version <major | minor | patch> to bump the versiongit push --follow-tags to push with tagsMCP_TRANSPORT*Transport type.
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp