Filesystem MCP

modelcontextprotocol/servers
Official

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

The Filesystem MCP server gives an AI agent secure, scoped read and write access to local files and directories, with configurable allow-lists so it can only touch the paths you approve.

Overview

The Filesystem MCP server gives an AI agent secure, scoped read and write access to local files and directories, with configurable allow-lists so it can only touch the paths you approve.

Key Features

  • Read, write, and edit files within configured directories
  • List, search, and move files and folders
  • Path allow-lists that constrain access to approved locations
  • Works locally with no external service required

Use Cases

  • Let an agent refactor or generate code across a project
  • Bulk-edit or organize files on your machine
  • Give an assistant working memory in a local scratch directory

Getting started

Add Filesystem MCP to your MCP-capable client — Claude Code, Cursor, Codex, and others — by following the setup in the official repository. Most servers register under your client's mcpServers config with a command, arguments, and any required API keys; Filesystem MCP documents the exact command and credentials in its README.

Related MCP servers

Browse all →