読み取り専用ファイルシステム 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
- Asecurity-licenseAqualityNode.js server implementing Model Context Protocol (MCP) for filesystem operations.Last updated -14135,90771,283MIT License
- -security-license-qualityNode.js server implementing Model Context Protocol for filesystem operations, allowing Claude to read, write, and manipulate files and directories in specified locations.
- Asecurity-licenseAqualityNode.js server implementing Model Context Protocol (MCP) for filesystem operations with comprehensive permission controls, allowing secure file and directory manipulation with granular access restrictions.Last updated -21135,9073
- -security-license-qualityNode.js server implementing Model Context Protocol (MCP) for filesystem operations, allowing AI systems to read, write, edit files and manage directories within specified allowed paths.Last updated -135,907MIT License