Filesystem (MCP reference server)
Filesystem is a reference MCP server in the modelcontextprotocol/servers repository, kept by the MCP steering group, that lets an assistant work with files on the local machine.
What it does
Filesystem is a reference MCP server in the modelcontextprotocol/servers repository, kept by the MCP steering group, that lets an assistant work with files on the local machine. It may only touch the directories passed on the command line; MCP Roots can replace them for older clients but are deprecated. Tools read text and media files, write, append to and edit files, create, list, move and copy files and folders, search by pattern, print a directory tree and return file metadata. A read-only flag, and read-only directories, limit what it can change. It runs over stdio through npx or Docker, with setup given for Claude Desktop and VS Code.
Capabilities
- Read text and media files, one or several at a time
- Write, append to and edit files with text replacements
- Create, list, move and copy files and directories
- Search files by pattern and print a directory tree
- Return file metadata and the allowed directories
- Run in read-only mode or with read-only directories
About
- Publisher
- Model Context Protocol (steering group)
- Tool
- File system
Works with
Install
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | File system | |
| Publisher | Model Context Protocol (steering group) | source |
| Official status | Not stated in its documentation | |
| Status | reference implementation | source |
| Connection | Local (runs on your computer) | source |
| Can change data | Yes | source |
| Needs an API key or sign-in | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Desktop, Visual Studio Code | source |
| Licence | Apache-2.0 AND MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | No commit dataDownload data not available (not on npm or PyPI) | |
| Links | Repository Website npm: @modelcontextprotocol/server-filesystem |
More from Model Context Protocol (steering group)
3 servers
All 3 from Model Context Protocol (steering group) →Also listed under: File system
Sources
- README (README.md)github.com/modelcontextprotocol/servers · Backs: AI clients, Can change data, ConnectionNov 12, 2026
- Folder in the repository (filesystem)github.com/modelcontextprotocol/serversNov 12, 2026
- Licence file (LICENSE)github.com/modelcontextprotocol/servers · Backs: LicenceNov 12, 2026
- README (README.md)github.com/modelcontextprotocol/servers · Backs: Publisher, StatusNov 12, 2026