§ MCP Server · Filesystem

Official

Filesystem.

by Anthropic

Read, write, and search files on the local disk.

Install

npx -y @modelcontextprotocol/server-filesystem /path/to/dir

Transports

stdio (local)

Tools exposed

8

§ About

The reference MCP server for filesystem access. Lets an AI agent read directory trees, open files, search by pattern, and (with explicit allowlists) write or move files. The most common starting point for any MCP integration — every coding-adjacent agent uses this or a fork.

§ Features

  • Read files and directory listings
  • Pattern-based search (glob + grep)
  • Move and rename within allowed paths
  • Path allowlisting at start time

§ Use cases

Coding agents working on a local repoDocument-summarization agents reading a folderLocal-first knowledge agents

§ Related MCP servers

Open standardSubmit a server →