File ManagementOfficial

Filesystem

Read, write, search, and manage local files and directories with granular permission controls.

Docs & setup

Starter recipes

Real tasks you can ask an agent once this server is connected.

Tidy a messy downloads folder

Ask the assistant to list everything in the folder, group files by type, create subfolders like PDFs and Images, and move each file into the right one, then report what it changed.

Try

Summarise a folder of notes

Point it at a folder of meeting notes or journal entries and ask for a single summary file, written as summary.md, with one bullet per document and open action items pulled out.

Try

Find and update text across files

Ask it to search every file in a project folder for an old phone number or product name, show you where it appears, and replace it in each file after you confirm.

Try
Install
npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop /path/to/other/allowed/dir

Runs on your computer. Your AI client starts it with npx when it needs it.

From the project README · checked 2 Oct 2026

Downloads
19.3M

npm · all time since Nov 2024 · as of 2 Oct 2026

Checked 2 Oct 2026

License
MIT

Official server

Access

It can read and write only the folders you pass as arguments. Everything else on disk is off-limits by design. There is no network access or account involved; the remaining risk is that writes inside allowed folders can overwrite files, so keep the scope narrow.