Skip to main content
Glama

Filesystem MCP Server

by ai-yliu

ファイルシステムMCPサーバー

Claude AI にファイルシステム操作を提供するモデル コンテキスト プロトコル (MCP) サーバー。

特徴

この MCP サーバーは、次のファイルシステム操作を提供します。

  1. read_file : ファイルの完全な内容を読み取る
    • 入力: path (文字列)
    • UTF-8エンコードでファイル内容全体を読み取ります
  2. read_multiple_files : 複数のファイルを同時に読み取る
    • 入力: paths (文字列[])
    • 読み取りに失敗しても操作全体が停止することはない
  3. write_file : 新しいファイルを作成するか、既存のファイルを上書きします
    • 入力:
      • path (文字列): ファイルの場所
      • content (文字列): ファイルの内容
  4. create_directory : 新しいディレクトリを作成するか、存在することを確認する
    • 入力: path (文字列)
    • 必要に応じて親ディレクトリを作成します
    • ディレクトリが存在する場合は、何もせずに成功します
  5. list_directory : [FILE] または [DIR] プレフィックスを持つディレクトリの内容を一覧表示します。
    • 入力: path (文字列)
  6. move_file : ファイルやディレクトリを移動または名前変更する
    • 入力:
      • source (文字列)
      • destination (文字列)
    • 宛先が存在する���合は失敗します
  7. search_files : ファイル/ディレクトリを再帰的に検索する
    • 入力:
      • path (文字列):開始ディレクトリ
      • pattern (文字列): 検索パターン
    • 大文字と小文字を区別しないマッチング
    • 一致するフルパスを返します
  8. get_file_info : 詳細なファイル/ディレクトリのメタデータを取得する
    • 入力: path (文字列)
    • 戻り値:
      • サイズ
      • 作成時間
      • 修正時間
      • アクセス時間
      • タイプ(ファイル/ディレクトリ)
      • 権限
  9. list_allowed_directories : サーバーがアクセスを許可されているすべてのディレクトリを一覧表示する
    • 入力不要
    • このサーバーが読み取り/書き込みできるディレクトリを返します

安全

サーバーは、コマンドライン引数で指定されたディレクトリ内での操作のみを許可します。

インストール

  1. このリポジトリをクローンする
  2. 依存関係をインストール: npm install
  3. プロジェクトをビルドします: npm run build

使用法

1 つ以上の許可されたディレクトリを使用してサーバーを実行します。

node build/index.js /path/to/allowed/dir1 /path/to/allowed/dir2

MCP構成

サーバーを MCP 構成ファイルに追加します。

{ "mcpServers": { "filesystem-server": { "command": "node", "args": [ "/path/to/filesystem-server/build/index.js", "/path/to/allowed/dir1", "/path/to/allowed/dir2" ], "disabled": false, "autoApprove": [] } } }

ライセンス

ISC

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude AI が、指定された許可されたパス内でのファイルの読み取り、書き込み、一覧表示、移動、ディレクトリの検索などのファイルシステム操作を実行できるようにする MCP サーバー。

  1. 特徴
    1. 安全
      1. インストール
        1. 使用法
          1. MCP構成
            1. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                An 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 -
                229
                Python
                MIT License
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                An 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 -
                47
                Python
                • Apple
              • -
                security
                A
                license
                -
                quality
                A 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 -
                1
                Python
                MIT License
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                An MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.
                Last updated -
                4
                4
                Python
                MIT License
                • Linux
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/ai-yliu/filesystem-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server