ファイルシステムMCPサーバー
Claude AI にファイルシステム操作を提供するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
この MCP サーバーは、次のファイルシステム操作を提供します。
read_file : ファイルの完全な内容を読み取る
入力:
path(文字列)UTF-8エンコードでファイル内容全体を読み取ります
read_multiple_files : 複数のファイルを同時に読み取る
入力:
paths(文字列[])読み取りに失敗しても操作全体が停止することはない
write_file : 新しいファイルを作成するか、既存のファイルを上書きします
入力:
path(文字列): ファイルの場所content(文字列): ファイルの内容
create_directory : 新しいディレクトリを作成するか、存在することを確認する
入力:
path(文字列)必要に応じて親ディレクトリを作成します
ディレクトリが存在する場合は、何もせずに成功します
list_directory : [FILE] または [DIR] プレフィックスを持つディレクトリの内容を一覧表示します。
入力:
path(文字列)
move_file : ファイルやディレクトリを移動または名前変更する
入力:
source(文字列)destination(文字列)
宛先が存在する場合は失敗します
search_files : ファイル/ディレクトリを再帰的に検索する
入力:
path(文字列):開始ディレクトリpattern(文字列): 検索パターン
大文字と小文字を区別しないマッチング
一致するフルパスを返します
get_file_info : 詳細なファイル/ディレクトリのメタデータを取得する
入力:
path(文字列)戻り値:
サイズ
作成時間
修正時間
アクセス時間
タイプ(ファイル/ディレクトリ)
権限
list_allowed_directories : サーバーがアクセスを許可されているすべてのディレクトリを一覧表示する
入力不要
このサーバーが読み取り/書き込みできるディレクトリを返します
安全
サーバーは、コマンドライン引数で指定されたディレクトリ内での操作のみを許可します。
インストール
このリポジトリをクローンする
依存関係をインストール:
npm installプロジェクトをビルドします:
npm run build
使用法
1 つ以上の許可されたディレクトリを使用してサーバーを実行します。
MCP構成
サーバーを MCP 構成ファイルに追加します。
ライセンス
ISC
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Claude AI が、指定された許可されたパス内でのファイルの読み取り、書き込み、一覧表示、移動、ディレクトリの検索などのファイルシステム操作を実行できるようにする MCP サーバー。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -15267MIT License
 - -security-license-qualityAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.Last updated -60
 - -security-license-qualityA comprehensive MCP (Model Context Protocol) server for file system operations, providing Claude and other AI assistants with access to local files and directories.Last updated -1MIT License
 - Asecurity-licenseAqualityAn MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.Last updated -47MIT License