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.