npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kongyo2/fs-tools-mcp

v0.2.0

Published

MCP server that provides filesystem read/edit/write/glob/grep tools.

Readme

fs-tools-mcp

ローカルファイルを扱うためのMCPサーバーです。 fs_readfs_editfs_writefs_globfs_grep を提供します。

提供ツール

| ツール | 説明 | | ---------- | ----------------------------------------------------------------------------------------------------- | | fs_read | ファイルの読み取り。テキスト(デフォルト2000行)のほか、画像・Jupyterノートブック・PDFにも対応。 | | fs_edit | old_string/new_string 置換によるファイル編集。エンコーディングと改行コード(CRLF/LF)を保持します。 | | fs_write | ファイルの新規作成・上書き。既存ファイルのエンコーディングと改行コードを保持します。 | | fs_glob | globパターンによるファイル検索。更新日時の新しい順に返します(limit/offset でページング可能)。 | | fs_grep | ripgrepベースの正規表現検索。content/files_with_matches/count の出力モードに対応。 |

MCP設定例

{
  "mcpServers": {
    "fs-tools": {
      "command": "npx",
      "args": ["-y", "@kongyo2/fs-tools-mcp"]
    }
  }
}

動作要件

  • Node.js 20 以上
  • PDFのページ画像化(fs_readpages パラメータ)には poppler-utils(pdftoppm/pdfinfo)が必要です。

環境変数

| 変数 | 既定値 | 説明 | | ------------------------------------------ | ------ | -------------------------------------------------------------------------------- | | FS_TOOLS_MCP_FILE_READ_MAX_OUTPUT_TOKENS | 25000 | fs_read が1回で返す最大トークン数(概算)。 | | FS_TOOLS_MCP_RG_TIMEOUT_SECONDS | 20 | ripgrep実行のタイムアウト秒数(旧名 FS_TOOLS_MCP_GLOB_TIMEOUT_SECONDS も有効)。 | | FS_TOOLS_MCP_GLOB_NO_IGNORE | true | false にすると fs_glob.gitignore 等を尊重します。 | | FS_TOOLS_MCP_GLOB_HIDDEN | true | false にすると fs_glob が隠しファイルを除外します。 |

開発

npm install
npm run check   # typecheck + test + format:check + lint
npm test        # ビルドしてテストを実行
npm run dev     # tsx でサーバーを起動