Filesystem MCP Server

Provides optimized file system operations with smart context management and token-efficient partial reading/editing.

Local serverstdioPython★ 66

What is the Filesystem MCP Server?

Provides optimized file system operations with smart context management and token-efficient partial reading/editing.

What you get

MCP Filesystem Server lets an MCP client read, search, and edit files inside directories you explicitly allow. It is useful when Claude Desktop or another MCP client needs filesystem access with path sandboxing, line-range reads, grep-style search, and edit previews.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
REPO_PATHFilesystem location the server is allowed to use.Optional
PROJECTS_PATHFilesystem location the server is allowed to use.Optional
DOCUMENTS_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Filesystem to Search.”

Frequently asked questions

Filesystem limits file access to explicitly allowed directories, preventing unauthorized access and enhancing security.