Sign in
Explore
Add-ons · MCP serverEveryday codingReviewedWrites files

filesystem

Reads and writes files, manages directories and searches files, limited to the directories passed on the command line.

Kind
MCP server
Works with
Any agent
Source
MCP Reference Servers @ 51b6382a3e82
Path
src/filesystem/README.md
Jobs
Implementation, Context management

Credit

Made by
modelcontextprotocol
Original
github.com/modelcontextprotocol/servers/blob/51b6382a3e827ace…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallAdd it as an MCP server.
npx -y @modelcontextprotocol/server-filesystem /path/to/dir
Install factsScanned 3 Nov 2026
Adds
  • An MCP server entry (claude mcp add, or .mcp.json)
Runs scripts
Yes
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Reads outside the project
  • /Users/username/Desktop (README.md)
Calls other skills
  • /projects
Source revision
51b6382a3e82
Licence
Apache-2.0
Last activity
25 Nov 2026
Source changed after the scan
Yes
  • Last push 25 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Filesystem MCP Server

Node.js server implementing Model Context Protocol (MCP) for filesystem operations.

Published on npm as [`@modelcontextprotocol/server-filesystem`](https://www.npmjs.com/package/@modelcontextprotocol/server-filesystem).

## Features

- Read/write files
- Create/list/delete directories
- Move files/directories
- Search files
- Get file metadata
- Directory access control from command-line arguments, with [Roots](https://modelcontextprotocol.io/docs/learn/client-concepts#roots) as a deprecated, 2025-era convenience
- Serves both protocol eras on stdio: 2026-07-28 clients (`server/discover`, no handshake) and 2025-era clients (`initialize`)

## Directory Access Control

The server may touch only its **allowed directories**. Pass them on the command line. A 2025-era client that supports [Roots](https://modelcontextprotocol.io/docs/learn/client-concepts#roots) can also replace them at runtime, but Roots is [deprecated as of protocol version 2026-07-28](https://modelcontextprotocol.io/specification/2026-07-28/deprecated) and a 2026-07-28 connection cannot use it.

### Method 1: Command-line Arguments (Recommended)
…