Fast Filesystem

Fast Filesystem

efforthye

Provides memory-efficient file operations with streaming support for handling large files, including reading, writing, searching, and batch operations with automatic chunking.

Provides streaming-based file operations with auto-chunking for memory-efficient handling of large files, including sequential reading, precise line-based editing, batch operations, archive compression, and backup mechanisms with retry logic.

43655 views15Local (stdio)

What it does

  • Read and write large files with auto-chunking
  • Search file contents and code with regex support
  • Perform batch file operations across multiple files
  • Create compressed archives and backups
  • Navigate directories with pagination
  • Edit files with line-based precision

Best for

Developers working with large codebasesProcessing large data files without memory issuesAutomating file management tasksCode analysis and refactoring projects
Memory-efficient streaming for large filesBuilt-in backup and retry mechanismsNo setup required with npx

About Fast Filesystem

Fast Filesystem is a community-built MCP server published by efforthye that provides AI assistants with tools and capabilities via the Model Context Protocol. Fast Filesystem offers memory-efficient file operations, compress to zip or rar format, with backup and editing. Try wit It is categorized under file systems, developer tools. This server exposes 25 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install Fast Filesystem in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Fast Filesystem is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (25)

fast_list_allowed_directories

Lists the allowed directories

fast_read_file

Reads a file (with auto-chunking support)

fast_read_multiple_files

Reads the content of multiple files simultaneously (supports sequential reading)

fast_write_file

Writes or modifies a file (provides emoji guidelines)

fast_large_write_file

Reliably writes large files (with streaming, retry, backup, and verification features)

image Advanced filesystem operations for Claude Desktop with large file handling capabilities and Claude-optimized features.

Quick Start

Add to your Claude Desktop config.

  • Basic setup
{
  "mcpServers": {
    "fast-filesystem": {
      "command": "npx",
      "args": ["-y", "fast-filesystem-mcp"]
    }
  }
}
  • With backup files enabled
{
  "mcpServers": {
    "fast-filesystem": {
      "command": "npx",
      "args": ["-y", "fast-filesystem-mcp"],
      "env": {
        "CREATE_BACKUP_FILES": "true"
      }
    }
  }
}

Backup Configuration

Control backup file creation behavior.

  • CREATE_BACKUP_FILES=false (default): Disables backup file creation to reduce clutter
  • CREATE_BACKUP_FILES=true: Creates backup files before modifications

Note: Backup files are created with timestamps (e.g., file.txt.backup.1755485284402) to prevent data loss during edits.

Debug and Logging Configuration

The MCP server uses a safe logging system that prevents JSON-RPC communication errors.

  • DEBUG_MCP=true or MCP_DEBUG=true: Enable debug logging to stderr
  • MCP_LOG_FILE=/path/to/log.txt: Write logs to file instead of stderr
  • MCP_SILENT_ERRORS=true or SILENT_ERRORS=true: Suppress error messages in responses

Note: Debug output is automatically suppressed by default to prevent JSON parsing errors in Claude Desktop.

New Version Update

To update to the latest version, follow these steps.

  1. Uninstall previous version
    npm uninstall -g fast-filesystem-mcp
    
  2. Clean cache and dependencies
    npm cache clean --force
    pnpm store prune
    
  3. Install latest version
    npm install -g fast-filesystem-mcp
    
  4. Verify installation
    npm list -g fast-filesystem-mcp
    fast-filesystem-mcp --version
    

Features

Core File Operations

  • Fast File Reading/Writing: Optimized for Claude Desktop with chunking support
  • Sequential Reading: Read large files completely with continuation token support
  • Large File Handling: Stream-based writing for files of any size
  • Directory Operations: Comprehensive directory listing, creation, and management
  • File Search: Name and content-based file searching with filtering

Advanced Capabilities

  • Pagination Support: Handle large directories efficiently
  • Chunked Reading: Read large files in manageable chunks
  • Streaming Writes: Memory-efficient writing for large files
  • Backup & Recovery: Automatic backup creation and error recovery
  • Retry Logic: Built-in retry mechanism for reliable operations

Performance Optimizations

  • Claude-Optimized: Response sizes and formats optimized for Claude
  • Memory Efficient: Streaming operations prevent memory overflow
  • Smart Exclusions: Automatically excludes system files and directories
  • Progress Tracking: Real-time progress monitoring for large operations

Available Tools

File Operations

ToolDescription
fast_read_fileRead files with chunking support
fast_read_multiple_filesRead multiple files simultaneously with sequential reading support
fast_write_fileWrite or modify files
fast_large_write_fileStream-based writing for large files
fast_get_file_infoGet detailed file information

Complex File Management

ToolDescription
fast_copy_fileCopy files and directories with advanced options
fast_move_fileMove/rename files and directories safely
fast_delete_fileDelete files and directories with protection
fast_batch_file_operationsExecute multiple file operations in sequence

Archive Management

ToolDescription
fast_compress_filesCreate compressed archives (tar, tar.gz, tar.bz2)
fast_extract_archiveExtract compressed archives with options

Directory Synchronization

ToolDescription
fast_sync_directoriesAdvanced directory synchronization with multiple modes

Advanced Editing Tools

ToolDescription
fast_edit_filePrecise line-based file editing with multiple modes
fast_edit_blockSafe block editing with exact string matching
fast_edit_blocksBatch block editing for multiple precise changes
fast_edit_multiple_blocksEdit multiple sections in a single operation
fast_extract_linesExtract specific lines or ranges from files

Directory Operations

ToolDescription
fast_list_directoryList directory contents with pagination
fast_create_directoryCreate directories recursively
fast_get_directory_treeGet directory tree structure

Search Operations

ToolDescription
fast_search_filesSearch files by name or content
fast_search_codeAdvanced code search with ripgrep integration
fast_find_large_filesFind large files in directories

System Operations

ToolDescription
fast_get_disk_usageCheck disk usage information
fast_list_allowed_directoriesList allowed directories

Editing Tools

Precise File Editing

The fast-filesystem MCP now includes powerful editing tools for source code and text files.

fast_edit_file - Single Block Editing

Supports multiple editing modes.

  • replace: Replace text or entire lines
  • replace_range: Replace multiple lines at once
  • insert_before: Insert content before specified line
  • insert_after: Insert content after specified line
  • delete_line: Delete specific lines
{
  "tool": "fast_edit_file",
  "arguments": {
    "path": "/path/to/file.js",
    "mode": "replace",
    "line_number": 10,
    "new_text": "const newVariable = 'updated value';",
    "backup": true
  }
}

fast_edit_multiple_blocks - Batch Editing

Edit multiple parts of a file in a single operation.

{
  "tool": "fast_edit_multiple_blocks", 
  "arguments": {
    "path": "/path/to/file.js",
    "edits": [
      {
        "mode": "replace",
        "old_text": "oldFunction()",
        "new_text": "newFunction()"
      },
      {
        "mode": "insert_after",
        "line_number": 5,
        "new_text": "// Added comment"
      }
    ],
    "backup": true
  }
}

fast_extract_lines - Line Extraction

Extract specific lines by number, range, or pattern.

{
  "tool": "fast_extract_lines",
  "arguments": {
    "path": "/path/to/file.js",
    "pattern": "function.*",
    "context_lines": 2
  }
}

fast_search_and_replace - Advanced Replace

Powerful search and replace with regex support.

{
  "tool": "fast_search_and_replace",
  "arguments": {
    "path": "/path/to/file.js", 
    "search_pattern": "console\\.log\\(.*\\)",
    "replace_text": "logger.info($1)",
    "use_regex": true,
    "max_replacements": 10,
    "backup": true
  }
}

Editing Features

  • Automatic Backup: Creates backups before modifications
  • Error Recovery: Restores from backup on failure
  • Line-based Operations: Precise control over specific lines
  • Pattern Matching: Regular expression support
  • Batch Operations: Multiple edits in single transaction
  • Context Extraction: Extract lines with surrounding context

Large File Writing

  • fast_large_write_file
    • Streaming: Writes files in chunks to prevent memory issues
    • Backup: Automatically creates backups before overwriting
    • Verification: Verifies file integrity after writing
    • Retry Logic: Automatic retry on failure with exponential backoff
    • Progress Tracking: Real-time monitoring of write progress

License

Apache 2.0

Copyright 2025 efforthye

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Badge

README image Link to glama.ai
MseeP.ai Badge

Verified on MseeP

Repository

https://github.com/efforthye/fast-filesystem-mcp

Alternatives

Related Skills

Browse all skills
godot

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

732
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
markdown-to-html

Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown/markdown`, or similar tools; or writing custom script to convert markdown to html and/or working on web template systems like `jekyll/jekyll`, `gohugoio/hugo`, or similar web templating systems that utilize markdown documents, converting them to html. Use when asked to "convert markdown to html", "transform md to html", "render markdown", "generate html from markdown", or when working with .md files and/or web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.

10
markdown-tools

Converts documents to markdown with multi-tool orchestration for best quality. Supports Quick Mode (fast, single tool) and Heavy Mode (best quality, multi-tool merge). Use when converting PDF/DOCX/PPTX files to markdown, extracting images from documents, validating conversion quality, or needing LLM-optimized document output.

7
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
crewai-developer

Comprehensive CrewAI framework guide for building collaborative AI agent teams and structured workflows. Use when developing multi-agent systems with CrewAI, creating autonomous AI crews, orchestrating flows, implementing agents with roles and tools, or building production-ready AI automation. Essential for developers building intelligent agent systems, task automation, and complex AI workflows.

2