Quick Start
Add to your Claude Desktop config.
- Basic setup
{
"mcpServers": {
"fast-filesystem": {
"command": "npx",
"args": ["-y", "fast-filesystem-mcp"]
}
}
}
- With backup files enabled
接入你的智能体
從發布者安裝。不是 PlugMCP 端點。
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
Add to your Claude Desktop config.
{
"mcpServers": {
"fast-filesystem": {
"command": "npx",
"args": ["-y", "fast-filesystem-mcp"]
}
}
}
A high-performance Model Context Protocol (MCP) server that provides secure filesystem access for Claude and other AI assistants.
{
"mcpServers": {
"fast-filesystem": {
"command": "npx",
"args": ["-y", "fast-filesystem-mcp"],
"env": {
"CREATE_BACKUP_FILES": "true"
}
}
}
}
Control backup file creation behavior.
CREATE_BACKUP_FILES=false (default): Disables backup file creation to reduce clutterCREATE_BACKUP_FILES=true: Creates backup files before modificationsNote: Backup files are created with timestamps (e.g., file.txt.backup.1755485284402) to prevent data loss during edits.
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 stderrMCP_LOG_FILE=/path/to/log.txt: Write logs to file instead of stderrMCP_SILENT_ERRORS=true or SILENT_ERRORS=true: Suppress error messages in responsesNote: Debug output is automatically suppressed by default to prevent JSON parsing errors in Claude Desktop.
To update to the latest version, follow these steps.
npm uninstall -g fast-filesystem-mcp
npm cache clean --force
pnpm store prune
npm install -g fast-filesystem-mcp
npm list -g fast-filesystem-mcp
fast-filesystem-mcp --version
The fast-filesystem MCP now includes powerful editing tools for source code and text files.
fast_edit_file - Single Block EditingSupports multiple editing modes.
{
"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 EditingEdit 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 ExtractionExtract 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 ReplacePowerful 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
}
}
fast_large_write_file
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.
A high-performance Model Context Protocol (MCP) server that provides secure filesystem access for Claude and other AI assistants.
工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Fast Filesystem 透過 stdio 在本機執行。
上次檢查時間:2026-11-05。 A high-performance Model Context Protocol (MCP) server that provides secure filesystem access for Claude and other AI assistants.