Skip to main content
← MCP

Filesystem MCP Server

Model Context Protocol
Files Local Read-only Read and write 8 axes checked Active Checked 2026-10-23

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

The file-operation implementation among MCP's official reference servers, requiring…

How you use it

Local / self-hosted · MCP server

Licence / commercial use

Not checked

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • Minimum protocol version requirement (not declared in the repo)
  • Whether Streamable HTTP is supported (not declared in the repo)
  • The concrete schema of output structures (requires reading source or measuring)
  • The quality of error messages from each tool when a path does not exist

The file-operation implementation among MCP's official reference servers, requiring allowed directories to be declared explicitly, with no silent whole-disk access.

When to use it, when not to

Scenarios where an agent must read or write within explicitly declared directories.

Not a fit for open-ended exploration of the filesystem — allowed directories must be declared, there is no silent whole-disk access.

China availability domestic / direct access / CAC filing · snapshot 2026-10-20

Origin
foreign-made foreign entity (no matching filing entity in the CAC registry).
Direct access
direct OK Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
CAC filing
not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

11 questions, one table

11 questions, each comparable item by item with its peers.

Model & openness

It calls no model itself; it is an interface implementation called by clients. It depends on @modelcontextprotocol/sdk (npm measured 2026.8.31: ^1.30.0); the protocol version is negotiated between SDK and client at the initialize handshake, not pinned to a single version.

Where it runs

A local Node.js child process communicating with the client over stdio. Its lifecycle is bound to the client process — it stops when the client exits.

Local files

The core capability. Unrestricted access is not the default: allowed directories must be given via command-line arguments, or delivered dynamically if the client supports the Roots protocol. If started with no arguments and the client does not support roots, the server errors out directly at initialization.

Tasks after shutdown

Not supported. A local stdio process lives and dies with the client; there is no standalone daemon or cloud-execution form.

Tools & extensions

It provides 11 tools: read_text_file, read_media_file, read_multiple_files,

write_file, edit_file, create_directory, list_directory,

list_directory_with_sizes, move_file, search_files, directory_tree. Output is structured content, ready for direct consumption.

Context & memory

Stateless. Each call is independent; no session memory is kept. list_allowed_directories can query the currently effective directories.

Permissions & limits

No separate approval mechanism; the permission boundary is defined entirely by the allowed directories. All file operations are confined to the allowed directories; anything outside is rejected.

Note: it provides write_file / edit_file / move_file / create_directory — a combination that is writable but has no delete tool.

Best for

Lets an Agent safely read and write text and media files inside specified directories. Not a fit for scenarios needing delete operations or cross-directory aggregation.

Transport

stdio only. A local Node.js process communicating over standard input/output. The official README (full-text verified 2026-10-08) gives only two local launch methods: npx and Docker. There is no official configuration for a remote transport. Directory control goes through command-line arguments or MCP Roots (dynamically updatable).

Authentication

No separate authentication layer. In stdio form it inherits all file permissions of the client user that launches it. The permission boundary is not an auth mechanism but a directory allowlist.

Permission scope

The default scope is narrow and explicitly forced: allowed directories must be given via command-line arguments, or delivered dynamically if the client supports the Roots protocol. With no arguments and no client roots support, the server errors out at initialization.

No delete tool is provided; write, edit, move and create-directory are. list_allowed_directories can query the currently effective directories.

Top misconception

  • Assuming the official repo's server is production-ready — the README states it is a reference implementation only
  • Starting it without a directory argument — it errors at initialisation rather than silently touching the whole disk
  • Assuming that withholding write tools prevents file changes — write_file / edit_file do write

Evidence sources

Checked 2026-10-23,Content updated 2026-10-08。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
changelogMCP · Servers Releases (2026.8.31 / 2026.8.18 / 2026.7.10)https://github.com/modelcontextprotocol/servers/releases
changelogMCP · Filesystem directory change historyhttps://github.com/modelcontextprotocol/servers/commits/main/src/filesystem
docsMCP · Filesystem Serverhttps://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
repoMCP · Servers repo README (with production-use disclaimer)https://github.com/modelcontextprotocol/servers
docsMCP · specificationhttps://modelcontextprotocol.io/specification

Test notes

This site has not completed measured runs. The test protocol is at protocols/mcp/_protocol.md.

Change-log notes

This object has no standalone changelog page. Change records are on the MCP servers repo's releases page. Directory-level changes are in that directory's commit history:

DateTypeContent
2026-09-03fixDeclare the zod runtime dependency
2026-08-30fixReject Windows paths under POSIX
2026-08-28fixcreate_directory does not create parent directories

Repo-wide releases: 2026.8.31 / 2026.8.18 / 2026.7.10.

Note the 08-30 fix. It shows the filesystem server had path-semantics issues across platforms — a point worth watching during measurement.

⚠ Production-use disclaimer (applies to all official reference servers)

The MCP servers repo README, original wording:

The servers in this repository are intended as reference implementations to demonstrate MCP features and SDK usage. They are meant to serve as educational examples for developers building their own MCP servers, not as production-ready solutions. Developers should evaluate their own security requirements and implement appropriate safeguards based on their specific threat model and use case.
Note: this statement applies to every official reference server in this section;

each entry's body should keep this reminder.

Permission-design test notes

This is the most valuable design detail of this server.

ScenarioBehaviour
Directory arguments passed at launchThe arguments become the allowed directories
No arguments + client supports RootsClient roots fully replace server-side directories
No arguments + client lacks RootsError at initialization
Client roots change at runtimeUpdated via roots/list_changed notification, no restart needed

The "no arguments + no roots support = startup failure" design deserves credit — it turns a potential permission escape (unrestricted file access) into an explicit failure.

Tool inventory

CategoryTools
Readread_text_file read_media_file read_multiple_files
Writewrite_file edit_file
Directorycreate_directory list_directory list_directory_with_sizes move_file directory_tree
Searchsearch_files

Note: there is no delete tool. This is a deliberate permission-narrowing design.

Related entries

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
1Password Environments MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
1Password official Environments MCP server (local stdio, rides the deskt
Atlassian Remote MCP Server(Jira/Confluence)Cloud / APICommercial terms8 questions checked
Active
Atlassian's official Remote MCP server: one endpoint covers Jira + Confl
Brave Search MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
Brave's official search MCP server (MIT): an independent retrieval sourc

Same vendor

More from Model Context Protocol

One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.