プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

fs-mcp-rs

作者:nihmadevバージョン 1.2.4i★ –iパソコンで動く
レジストリ名io.github.nihmadev/fs-mcp-rs

インストール

概要

作者による説明(英語の原文)

A fast, configurable filesystem server for the Model Context Protocol (MCP), written in Rust.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "fs-rs": {
      "command": "npx",
      "args": [
        "-y",
        "fs-mcp-rs"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add fs-rs -- npx -y fs-mcp-rs

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "fs-rs": {
      "command": "npx",
      "args": [
        "-y",
        "fs-mcp-rs"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "fs-rs": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fs-mcp-rs"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント nihmadev で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32709件のうち0%よりスターが多い
  • このカテゴリのほかの32709件のうち19%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32709件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

fs-mcp-rsは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.2.4)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SwarmMemo

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

SwarmMemo

作者:Hugo0

Talk with agent swarms: rooms, private messages and paid tasks for AI agents

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

A fast, configurable filesystem server for the Model Context Protocol (MCP), written in Rust.

fs-mcp-rs gives an MCP client a small set of filesystem tools while keeping access inside directories selected by the operator. It has no implicit filesystem root, no built-in personal path, and no writable default. The server starts only when you provide a configuration file.

Why one crate?

The public distribution is one crate and one executable, both named fs-mcp-rs. The protocol, policy, filesystem, search, and settings components remain separate Rust modules inside that crate. This keeps installation simple:

cargo install fs-mcp-rs

Users do not need to install or understand a graph of internal crates. The benchmark runner remains a development-only workspace member and is not included in the crates.io package.

Features

  • MCP over JSON-RPC HTTP POST and line-delimited STDIO (stdin/stdout).
  • Zero-install execution via npx fs-mcp-rs.
  • Explicit allow-list of one or more filesystem roots (via CLI positional arguments or TOML config).
  • Read-only mode for safe deployments.
  • Optional write, move, edit, directory creation, and removal operations.
  • Bounded reads, writes, search results, and concurrency.
  • Literal and regular-expression content search.
  • .gitignore support and configurable hidden-file handling.
  • Symlink traversal disabled by default.
  • Atomic file replacement and BLAKE3 hashes.
  • Optional arbitrary terminal command execution with time and output limits.
  • Persistent terminal sessions with incremental output cursors, long polling, stdin, process-tree termination, retention, and bounded buffers.
  • Concise tool execution logging ([OK] / [WARN]).
  • No telemetry and no automatic network discovery.

Requirements

  • Node.js (v18+) for npx execution, or Rust 1.85+ when building from source.
  • An MCP client that can connect via STDIO JSON-RPC or Streamable HTTP/JSON-RPC endpoint.
  • A configuration file or explicit root paths passed to the server.

Installation

Via npx (Zero Installation)

The easiest way to run fs-mcp-rs with any MCP client (such as Claude Desktop or Cursor) is using npx:

npx fs-mcp-rs /path/to/project

The npm package automatically downloads the appropriate precompiled binary for your operating system and architecture (Windows x64, Linux x64, macOS x64/arm64).

From crates.io
cargo install fs-mcp-rs

fs-mcp-rs --version

From source
git clone https://github.com/nihmadev/fs-mcp-rs.git

cd fs-mcp-rs cargo build --release

The executable will be at target/release/fs-mcp-rs on Unix-like systems or target\release\fs-mcp-rs.exe on Windows.

Create a configuration

Copy configs/example.toml somewhere appropriate and edit it. The server intentionally has no default config path:

cp configs/example.toml fs-mcp-rs.toml

Windows PowerShell:

Copy-Item configs\example.toml fs-mcp-rs.toml

Minimal read-only configuration:

[server]

host = "127.0.0.1" port = 8000 max_concurrency = 32 max_io_concurrency = 16

[filesystem] roots = ["/home/alice/projects"] read_only = true max_read_bytes = 8388608 max_write_bytes = 8388608 follow_links = false

[search] max_results = 1000 max_concurrency = 4 worker_threads = 4 regex_cache_capacity = 64 include_hidden = false respect_gitignore = true

WARNING: enables arbitrary commands with the server process permissions.

[terminal] enabled = true max_concurrency = 2 default_timeout_ms = 30000 max_timeout_ms = 300000 max_output_bytes = 4194304

Windows roots use escaped backslashes or forward slashes:

roots = ["C:\\Users\\Alice\\Projects", "D:/Shared/Documentation"]

Relative roots are resolved relative to the directory containing the configuration file, not relative to an arbitrary process working directory.

Configuration reference
[server]
  • host: IP address to bind. Keep 127.0.0.1 unless remote clients genuinely need access.
  • port: TCP port for /health and /mcp.
  • max_concurrency: maximum number of MCP requests processed at once.
  • max_io_concurrency: maximum number of simultaneous non-search filesystem jobs.
  • log_tools: whether concise tool execution logging ([OK] / [WARN]) is printed (default: true).
[filesystem]
  • roots: non-empty list of allowed directories. Every requested path must resolve inside one of them.
  • read_only: when true, all mutating tools are rejected.
  • max_write_bytes: largest permitted write_file or resulting edit_text content.
  • follow_links: whether paths containing symbolic links may be followed. Leave this false unless you have reviewed the consequences.
[search]
  • max_results: maximum matches returned by one search.
  • max_concurrency: maximum simultaneous search jobs.
  • worker_threads: filesystem traversal threads used by each search.
  • regex_cache_capacity: number of compiled search patterns cached in memory; 0 disables the cache.
  • include_hidden: include hidden files and directories.
  • respect_gitignore: apply Git ignore files while walking directories.
[terminal]
  • enabled: expose command execution. When disabled, run_command returns a tool error.
  • max_concurrency: maximum terminal commands running simultaneously.
  • default_timeout_ms: timeout used when a call does not provide one.
  • max_timeout_ms: largest timeout a call may request.
  • max_output_bytes: maximum combined stdout/stderr bytes retained per terminal session. Old output is evicted and reported as dropped/truncated.
  • max_read_bytes: maximum output bytes returned by one terminal_read call.
  • max_wait_ms: maximum long-poll duration for one terminal_read call.
  • session_retention_ms: how long completed sessions and their output remain readable before automatic cleanup.

run_command executes arbitrary commands through cmd.exe on Windows and /bin/sh on GNU/Linux and macOS. It is advertised with destructive and open-world MCP annotations so compatible providers can show a warning. Enabling it gives commands all permissions of the operating-system account running the server; filesystem roots and read-only mode do not sandbox terminal commands.

Unknown fields and zero-valued safety limits are rejected. This catches misspelled settings instead of silently ignoring them.

Start the server

Positional root paths (Quickstart)

Start directly by specifying allowed filesystem directories on the command line:

fs-mcp-rs /home/alice/project1 /home/alice/project2

If no configuration file or positional roots are passed, fs-mcp-rs uses default settings scoped to the current working directory.

With a configuration file

Pass the configuration explicitly:

fs-mcp-rs --config /absolute/path/to/fs-mcp-rs.toml

Or use the environment variable:

FS_MCP_CONFIG=/absolute/path/to/fs-mcp-rs.toml fs-mcp-rs

PowerShell:

$env:FS_MCP_CONFIG = "C:\config\fs-mcp-rs.toml"

fs-mcp-rs

Transport Modes (STDIO vs HTTP)
  • STDIO Mode: Activated automatically when stdout/stdin are non-interactive pipes (e.g. when spawned as an MCP subprocess) or when passing --stdio. Structured logs are written to stderr to keep stdout clean for line-delimited JSON-RPC messages.
  • HTTP Mode: Activated by default during interactive execution. Listens on the configured host/port for /health and /mcp endpoints.

Check HTTP health:

curl http://127.0.0.1:8000/health

Expected response:

ok

The MCP endpoint is:

http://127.0.0.1:8000/mcp
Start the server and a tunnel together

The run subcommand always starts the MCP server in HTTP mode and can manage an ngrok, Cloudflare Quick Tunnel, or zrok public share in the same process lifecycle:

fs-mcp-rs run --ngrok /path/to/allowed/directory

fs-mcp-rs run --ngrok --config ./fs-mcp-rs.toml fs-mcp-rs run --cloudflared /path/to/allowed/directory fs-mcp-rs run --zrok /path/to/allowed/directory

The providers are mutually exclusive. On Windows, the tunnel opens in a new console by default. Use --tunnel-window hidden to avoid a separate visible console while keeping the generated URL in the current terminal, or --tunnel-window inherit to attach normally. On Linux and macOS, new inherits the current terminal because creating a terminal window is desktop-specific. Each provider accepts repeatable extra arguments and an explicit executable path:

fs-mcp-rs run --ngrok --tunnel-window hidden --ngrok-arg=--region=eu

fs-mcp-rs run --ngrok --ngrok-bin /opt/ngrok/ngrok fs-mcp-rs run --cloudflared --cloudflared-arg=--no-autoupdate fs-mcp-rs run --zrok --zrok-bin /opt/zrok/zrok

Stopping the MCP server also stops the tunnel process. Existing invocations such as fs-mcp-rs [PATHS], fs-mcp-rs --config FILE, and fs-mcp-rs serve are unchanged. The earlier --ngrok-window spelling remains an alias for --tunnel-window.

Expose the server through a secure tunnel

For testing with a remote MCP client, keep fs-mcp-rs bound to loopback and expose it through a tunnel. Start the server first:

fs-mcp-rs --config ./fs-mcp-rs.toml

Verify the local endpoint before creating a tunnel:

curl http://127.0.0.1:8000/health

[!CAUTION]

A public tunnel URL gives remote clients a path to the tools and filesystem roots allowed by your configuration. Start with read_only = true, grant only narrowly scoped roots, never expose secrets, and stop the tunnel when it is no longer needed. Quick tunnels are intended for development—not permanent production hosting.

Cloudflare Tunnel

Install cloudflared, then create a temporary Quick Tunnel:

cloudflared tunnel --url http://127.0.0.1:8000

cloudflared prints a temporary URL similar to https://random-name.trycloudflare.com. Use the MCP endpoint with /mcp appended:

https://random-name.trycloudflare.com/mcp

For a stable hostname, create a named Cloudflare Tunnel, map a DNS hostname to it, and route that hostname to http://127.0.0.1:8000. Protect long-lived deployments with Cloudflare Access or another authentication layer.

ngrok

Install ngrok, authenticate its CLI if required by your account, and start an HTTP tunnel:

ngrok http 8000

Use the HTTPS forwarding URL shown by ngrok and append /mcp:

https://example.ngrok-free.app/mcp

The local inspection UI is normally available at http://127.0.0.1:4040. It can expose request details, so keep it local and do not share it publicly.

Connect a remote MCP client

Use the public HTTPS URL as an HTTP/Streamable HTTP MCP server:

{

"mcpServers": { "filesystem": { "transport": "http", "url": "https://your-public-host.example/mcp" } } }

Test both endpoints after the tunnel starts:

curl https://your-public-host.example/health

curl -i https://your-public-host.example/mcp

A non-200 response from a plain `G

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く