Fast Filesystem logo

Fast Filesystem

Community
efforthye

A high-performance Model Context Protocol (MCP) server that provides secure filesystem access for Claude and other AI assistants.

Publisherefforthye
Repositoryfast-filesystem-mcp
LanguageTypeScript
Forks
19
Stars
50
Available tools
25
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Fast Filesystem exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 25 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    50 stars and 19 forks from the linked repository.

Quick Start

Add to your Claude Desktop config.

  • Basic setup
json
{
  "mcpServers": {
    "fast-filesystem": {
      "command": "npx",
      "args": ["-y", "fast-filesystem-mcp"]
    }
  }
}
  • With backup files enabled
json
{
  "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
    bash
    npm uninstall -g fast-filesystem-mcp
  2. Clean cache and dependencies
    bash
    npm cache clean --force
    pnpm store prune
  3. Install latest version
    bash
    npm install -g fast-filesystem-mcp
  4. Verify installation
    bash
    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
json
{
  "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.

json
{
  "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.

json
{
  "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.

json
{
  "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

Listed on Spark

Repository

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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "fast-filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "fast-filesystem-mcp"
      ]
    }
  }
}

Available Tools

  • 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)

  • fast_list_directory

    Lists the contents of a directory (with auto-chunking and pagination support)

  • fast_get_file_info

    Gets detailed information about a file or directory

  • fast_create_directory

    Creates a directory

  • fast_search_files

    Searches for files (by name/content) - supports auto-chunking, regex, context, and line numbers

  • fast_search_code

    Searches for code (ripgrep-style) - provides auto-chunking, line numbers, and context

  • fast_get_directory_tree

    Gets the directory tree structure

  • fast_get_disk_usage

    Gets disk usage information

  • fast_find_large_files

    Finds large files

  • fast_edit_block

    Precise block editing: safely replace exact matches (desktop-commander style)

  • fast_safe_edit

    Safe smart editing: Detects risks and provides interactive confirmation

  • fast_edit_multiple_blocks

    Edits multiple parts of a file at once

  • fast_edit_blocks

    Processes multiple precise block edits at once (array of fast_edit_block)

  • fast_extract_lines

    Extracts specific lines from a file

  • fast_copy_file

    Copies a file or directory

  • fast_move_file

    Moves or renames a file or directory

  • fast_delete_file

    Deletes a file or directory

  • fast_batch_file_operations

    Performs batch operations on multiple files

  • fast_compress_files

    Compresses files or directories

  • fast_extract_archive

    Extracts an archive file

  • fast_sync_directories

    Synchronizes two directories

Use Fast Filesystem MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Fast Filesystem is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Fast Filesystem as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Fast Filesystem MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "fast-filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "fast-filesystem-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Fast Filesystem MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Fast Filesystem MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Fast Filesystem to help me with this task?
Fast Filesystem
Sure. I read it.
Here is what I found using Fast Filesystem.

Frequently asked questions

What is the Fast Filesystem MCP server used for?

Fast Filesystem is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Fast Filesystem MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Fast Filesystem with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Fast Filesystem MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Fast Filesystem connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Fast Filesystem MCP to TypingMind?

Fast Filesystem runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Fast Filesystem MCP provide in TypingMind?

Fast Filesystem exposes 25 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Fast Filesystem MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Fast Filesystem requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇