Filesystem MCP Server

Essential
File Systems
stdio
Featured

The essential MCP server for file operations. Read, create, edit, move, and search files within explicitly allowed directories. Provides sandboxed access to prevent unauthorized filesystem traversal: a fundamental building block for any AI development workflow.

Quick Install

$ npx -y @modelcontextprotocol/server-filesystem /path/to/allowed

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "C:/Projects"
      ]
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (7)

read_filewrite_fileedit_filelist_directorysearch_filesmove_fileget_file_info

Filesystem FAQ

What is the Filesystem MCP server?

The essential MCP server for file operations. Read, create, edit, move, and search files within explicitly allowed directories. Provides sandboxed access to prevent unauthorized filesystem traversal: a fundamental building block for any AI development workflow.

How do I install the Filesystem MCP server?

Run: npx -y @modelcontextprotocol/server-filesystem /path/to/allowed

Which AI clients support the Filesystem MCP server?

The Filesystem MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Filesystem MCP server provide?

The server provides 7 tools: read_file, write_file, edit_file, list_directory, search_files, move_file, get_file_info.