Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model’s context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Prompt Caching CalculatorEstimate savings from prompt caching.Tool

MCP server · Reference servers

Filesystem MCP server

Lets an assistant read, write, edit, move and search files, but only inside the folders you allow.

Maintainer
Model Context Protocol project (official)
Licence
Apache-2.0 AND MIT
Runs
Locally (npx)
Sign-in
None
Last activity
2026-10-11

Overview

What it does

The Filesystem server is one of the reference servers kept by the MCP steering group. It runs on your machine with Node.js and gives an assistant a set of file tools that are locked to a list of allowed folders. You pass those folders on the command line, or your client can supply them through MCP Roots, which replace the command-line list and can change while the server runs.

Pick it when you want an assistant to work with local files without giving it a shell. It reads text and media files, makes line-based edits with a dry-run preview and a diff, lists and searches folders, and reports file metadata. Each tool carries read-only and destructive hints, so a client can ask before it writes. A Docker image is also offered: mount folders under /projects and add ro to make a mount read-only. The project calls its servers reference implementations, so review them before production use.

Tools

What the assistant can do

  • Read text files whole or by head and tail lines, and read several files at once
  • Read images, audio and other files as base64 with their MIME type
  • Write files and make line-based edits with a dry-run diff preview
  • Create, list and move folders and files, with a size-sorted listing
  • Search recursively with glob patterns and get a JSON folder tree
  • Report file metadata and list the folders the server may access

Install

Install Filesystem MCP server in your app

You need:

  • Node.js with npx
  • An MCP client; on Windows the README launches npx through cmd /c

Run in your project. --scope local keeps the servers private to you in this project; use user for every project.

Terminal
claude mcp add --scope local filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/folder
Native Windows (PowerShell)
claude mcp add --scope local filesystem -- cmd /c npx -y '@modelcontextprotocol/server-filesystem' /path/to/allowed/folder

Want it alongside other servers? Open Filesystem MCP Server in the MCP config generator and add the rest; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.

Before you install

  • It can create, overwrite, edit and move files anywhere inside the allowed folders; write_file replaces a file without a backup.
  • Access is limited to the allowed folders, and Roots from the client replace the command-line list, so check what your client exposes.
  • With Docker, mount folders with the ro flag to make them read-only to the server.
  • A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.

Why it’s listed

Why we list it

The standard way to give an assistant scoped local file access, kept by the MCP project and released alongside the protocol SDKs.

Related

All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?