Readonly Filesystem MCP Server
読み取り専用ファイルシステム MCP サーバー
読み取り専用ファイルシステム操作用のモデルコンテキストプロトコル(MCP)を実装したNode.jsサーバー。modelcontextprotocol /server-filesystemからのクローンです。
特徴
ファイルを読む
ディレクトリの一覧
ファイルを検索
ファイルのメタデータを取得する
注意: サーバーは、 argsで指定されたディレクトリ内でのみ操作を許可します。
Related MCP server: Filesystem MCP Server
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
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@danielsuguimoto/readonly-server-filesystem",
"/Users/username/Desktop",
"/path/to/other/allowed/dir"
]
}
}
}ライセンス
このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
1Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseAqualityFmaintenanceA secure Model Context Protocol server that provides controlled filesystem access within predefined directories, enabling AI models to perform file and directory operations with strict path validation.163 npm7MIT
- AlicenseAqualityDmaintenanceNode.js server implementing Model Context Protocol (MCP) for filesystem operations with comprehensive permission controls, allowing secure file and directory manipulation with granular access restrictions.21511,437 npm3-
- -licenseNot gradedqualityNot gradedmaintenanceNode.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.511,437 npm-
- AlicenseNot gradedqualityDmaintenanceA production-ready Model Context Protocol server that provides comprehensive file system management capabilities for seamless integration with Claude Desktop.1MIT