Back to MCP directory

Filesystem MCP Server

Official

Official filesystem server providing safe, controlled local file read/write, directory browsing, search and move operations, with a configurable allowed-directory scope.

Filesystem MCP Server is an MCP server for Filesystem work. Official filesystem server providing safe, controlled local file read/write, directory browsing, search and move operations, with a configurable allowed-directory scope. Tags: 文件系统 · filesystem · 文件 · 读写 · 目录 · 官方.

FilesystemstdioAuthor: Anthropic45.0k starsVisit

What is Filesystem MCP Server

Filesystem MCP Server exposes Filesystem capabilities to MCP clients. Official filesystem server providing safe, controlled local file read/write, directory browsing, search and move operations, with a configurable allowed-directory scope.

Install Filesystem MCP Server in Cursor / Claude / Codex

Cursor Open Cursor MCP settings (or user/project mcp.json) and add the server config on this page. If only a start command exists, put command/args into a Cursor MCP entry.

Claude Desktop Add the config to claude_desktop_config.json and restart Claude Desktop.

Codex Add the same command/args or JSON snippet to Codex MCP config. File location depends on your Codex version.

Install & Run

Run the following command in your terminal to start the server:

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

Claude Desktop Configuration

Add the following to Claude Desktop’s claude_desktop_config.json:

{"mcpServers":{"filesystem":{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/allowed/files"]}}}

Tags

文件系统filesystem文件读写目录官方official

Similar recommendations

FAQ

What problem does Filesystem MCP Server solve?

Filesystem MCP Server focuses on Filesystem. Official filesystem server providing safe, controlled local file read/write, directory browsing, search and move operations, with a configurable allowed-directory scope.

How do I connect Filesystem MCP Server to my editor?

Use the command or JSON in the install section. If none is listed, follow the project home. Do not paste config from unknown sources.

What similar MCP servers exist?

The related list comes from the same Filesystem group so you can compare scope.