Integrations
Implemented as a Node.js server supporting readonly filesystem operations including reading files, directory listing, file searching, and metadata retrieval.
読み取り専用ファイルシステム MCP サーバー
読み取り専用ファイルシステム操作用のモデルコンテキストプロトコル(MCP)を実装したNode.jsサーバー。modelcontextprotocol /server-filesystemからのクローンです。
特徴
- ファイルを読む
- ディレクトリの一覧
- ファイルを検索
- ファイルのメタデータを取得する
注意: サーバーは、 args
で指定されたディレクトリ内でのみ操作を許可します。
API
リソース
file://system
: ファイルシステム操作インターフェース
ツール
- 読み取りファイル
- ファイルの完全な内容を読み取る
- 入力:
path
(文字列): 読み取るファイルパスfrom
(数値): オプション。読み取り開始行番号。デフォルトは0です。to
(数値): オプション。終了行番号。設定されていない場合は、ファイルの末尾まで読み取ります。
- UTF-8エンコードでファイルの内容(全体または一部)を読み取ります
- 複数のファイルを読み取る
- 複数のファイルを同時に読み取る
- 入力:
paths
(文字列[]) - 読み取りに失敗しても操作全体が停止することはない
- リストディレクトリ
- [FILE]または[DIR]プレフィックスを持つディレクトリの内容を一覧表示します
- 入力:
path
(文字列)
- 検索ファイル
- ファイル/ディレクトリを再帰的に検索する
- 入力:
path
(文字列): 開始ディレクトリpattern
(文字列): 検索パターンexcludePatterns
(string[]): パターンを除外します。glob形式がサポートされています。
- 大文字と小文字を区別しないマッチング
- 一致するフルパスを返します
- ファイル情報を取得する
- 詳細なファイル/ディレクトリのメタデータを取得する
- 入力:
path
(文字列) - 戻り値:
- サイズ
- 作成時間
- 修正時間
- アクセス時間
- タイプ(ファイル/ディレクトリ)
- 権限
- 許可されたディレクトリの一覧
- サーバーがアクセスを許可されているすべてのディレクトリを一覧表示します
- 入力不要
- 戻り値:
- このサーバーが読み取り/書き込みできるディレクトリ
Claude Desktopでの使用
これをclaude_desktop_config.json
に追加します:
注: サンドボックス化されたディレクトリを/projects
にマウントすることで、サーバーに提供できます。ro フラグro
追加すると、ディレクトリはサーバーによって読み取り専用になります。
NPX
ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
安全な読み取り専用ファイルシステム操作のためのモデルコンテキストプロトコルを実装した Node.js サーバー。これにより、Claude はファイルの読み取り、ディレクトリの一覧表示、ファイルの検索、指定されたディレクトリ内のファイルメタデータの取得を行うことができます。
Related MCP Servers
- -securityAlicense-qualityNode.js server implementing Model Context Protocol (MCP) for filesystem operations.Last updated -24,78044,603JavaScriptMIT License
- -securityFlicense-qualityNode.js server implementing Model Context Protocol for filesystem operations, allowing Claude to read, write, and manipulate files and directories in specified locations.Last updated -24,780JavaScript
- AsecurityAlicenseAqualityA Node.js implementation of the Model Context Protocol that provides secure shell command execution capabilities, allowing AI models like Claude to run shell commands in a controlled environment with built-in security measures.Last updated -111025JavaScriptMIT License
- -securityAlicense-qualityNode.js server implementing Model Context Protocol that enables seamless interaction between Windows and Linux distributions under WSL, allowing file operations like reading, writing, searching, and managing files across the WSL filesystem from Windows.Last updated -491JavaScriptMIT License