Filesystem

io.github.domdomegg由 GitHub 帳號 domdomegg 發布v1.3.0更新於 Oct 24, 2026

Read, create, and edit files.

已驗證STDIO僅桌面檔案與儲存開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理讀取、建立和編輯你電腦上的檔案,包括列出目錄和做精確的文字取代。

可以做什麼
用 view 工具讀取檔案內容或列出目錄(附行號),讓助理先了解內容和結構。用 create 工具建立或覆寫檔案。用 str_replace 取代檔案中的精確字串,或用 insert 在指定行插入文字,藉此編輯既有檔案。可組合這些步驟完成更新設定值、重新命名函式、產生報告或儲存帶時間戳記的備份等工作。
適用情境
適合希望助理直接處理本機檔案的情境:檢視程式碼、做針對性修改、產生並儲存報告,或在變更前複製檔案。適用於桌面環境,讓助理讀寫你的專案或筆記資料夾。
執行需求
以本機程序透過 stdio 執行,從 npm 套件 filesystem-mcp 安裝並以 npx 啟動,因此需要 Node.js 以及取得該套件的網路存取。必須設定環境變數 MCP_TRANSPORT。依 install-mcp 的說明為你的 MCP 用戶端產生設定。未宣告身分驗證。
安裝前請注意
此伺服器可以建立、覆寫和修改你電腦上的檔案,覆寫操作若沒有備份則無法復原。只讓它存取你願意讓助理變更的資料夾,並在依賴修改結果前先檢查。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Filesystem,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

filesystem-mcp

MCP server for filesystem operations - read, create, and edit files.

Use Cases

Save email attachments: "Download all PDFs from my accountant's emails this month" → searches Gmail for matching emails, extracts attachments, and saves them to a local folder.

Update config files: "Change the API endpoint from staging to production in my config" → finds the config file, replaces the URL, and shows you the diff.

Generate reports: "Create a summary of today's calendar events" → reads your calendar, formats a markdown report, and saves it to your notes folder.

Code refactoring: "Rename the function getData to fetchUserData in src/api.ts" → reads the file, makes the precise replacement, and confirms the change.

Backup before changes: "Save a copy of my .zshrc before I modify it" → reads the current file and writes a timestamped backup.

Setup

Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

Tools

ToolDescription
viewRead file contents or list directory (with line numbers)
createCreate or overwrite a file
str_replaceReplace an exact string in a file
insertInsert text at a specific line

Contributing

Pull requests are welcomed on GitHub! To get started:

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install
  4. Run npm run test to run tests
  5. Build with npm run build

Releases

Versions follow the semantic versioning spec.

To release:

  1. Use npm version <major | minor | patch> to bump the version
  2. Run git push --follow-tags to push with tags
  3. Wait for GitHub Actions to publish to the NPM registry.

來源:README.md,提交 3fa9a0e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。