Back to the catalog

Filesystem

Read, create, and edit files.

Open source Open in the app JSON README (API)

About

Read, create, and edit files.

Details

Kind
MCP servers
Topic
Files & documents
Publisher
domdomegg
Origin
official
Category
ferramentas
Transport
local
Version
1.3.0
Stars
3
Last push
2026-09-03T01:47:39Z
Repository state
ativo
Language
TypeScript
Added
2026-08-29 03:02:43
Updated
2026-08-29 03:02:43
Origin id
io.github.domdomegg/filesystem-mcp

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](https://adamjones.me/install-mcp/?config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImZpbGVzeXN0ZW0tbWNwIl0sIm5hbWUiOiJmaWxlc3lzdGVtIn0=), which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

## Tools

| 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 |

## Contributing

Pull requests are welcomed on GitHub! To get started:

1. Install Git and Node.js
2. Clone the repository
3. Install dependencies with `npm install`
4. Run `npm run test` to run tests
5. Build with `npm run build`

## Releases

Versions follow the [semantic versioning spec](https://semver.org/).

To release:

1. Use `npm version <major | minor | patch>` to bump the version
2. Run `git push --follow-tags` to push with tags
3. Wait for GitHub Actions to publish to the NPM registry.

More