Filesystem
Read, write, and search local files with sandboxed directory access.
Install
Add this command to your MCP client config to connect Filesystem.
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dirAbout Filesystem
The filesystem server gives your AI assistant safe, scoped access to local files and directories. You point it at one or more allowed roots when starting the server, and from there it can list directories, read files, write files, move and delete entries, and run pattern searches.
It is the workhorse of local agent workflows: any time you want a model to actually edit code or rewrite a document on disk rather than just suggesting changes, you wire this in. Access is gated to the directories you whitelist, so you do not have to worry about the assistant wandering off into your home directory.
Common patterns: pair it with the git server for versioned edits, with fetch for "read this URL and save it to disk," or with the memory server for project-scoped context.
Tags
Related servers
Other MCP servers in Development and beyond.
Git
Anthropic
Read, search, and manipulate local Git repositories.
GitLab
Anthropic
Issues, merge requests, and project management for GitLab.com and self-hosted.
Fetch
Anthropic
Fetch a URL and return clean Markdown — the canonical web-reading tool.
Puppeteer
Anthropic
Drive a real Chromium browser — navigate, click, fill forms, screenshot.
GitHub
GitHub
Issues, PRs, code search, and repository operations across GitHub.
Playwright
Microsoft
Cross-browser automation — the same Playwright you write tests with.