Skip to main content
Glama

MCP File System Server

by kvas-it

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

ファイルシステム操作を提供するMCPサーバー。ファイルのナビゲーション、読み取り、書き込み、分析、コマンド実行をサポートします。

ツール

ファイルとディレクトリの操作

  • ls(path) - ディレクトリの内容を一覧表示する
  • cd(path) - 作業ディレクトリを変更する (~ によるホームディレクトリの拡張をサポート)
  • read_file(path) - ファイルの内容を読み取る
  • write_file(path, content) - ファイルにコンテンツを書き込む
  • mkdir(path) - ディレクトリを作成する
  • rm(path) - ファイルまたは空のディレクトリを削除する
  • rmdir(path) - ディレクトリとその内容を再帰的に削除する
  • cp(src, dst) - ファイルまたはディレクトリをコピーする
  • mv(src, dst) - ファイルまたはディレクトリを移動する

編集と検索

  • edit_file(path, changes) - ファイルに複数の検索/置換操作を適用します。changesは(search_text, replace_text)タプルのリストです。
  • grep(pattern, path) - ファイル内の正規表現パターンを検索します

分析

  • summary(path) - Python (.py) および Markdown (.md) ファイルの概要を生成します。
    • Python: 関数とクラスのリスト
    • Markdown: ヘッダー(# で始まる行)をリストします

バッチ操作

  • read_files(paths) - 複数のファイルを読み取り、パスと内容をマッピングした辞書を返します。
  • summarize(paths) - 複数のファイルの要約を生成し、要約へのパスをマッピングする辞書を返します。

プロジェクトナビゲーション

  • work_on(path) - ディレクトリに移動し、その内容を一覧表示し、CLAUDE.mdからメモを取得します。チャット開始時にプロジェクトの概要を把握するのに役立ちます。

コード品質

  • ruff_check(paths) - 指定されたファイルに対してruff linterを実行する
  • ruff_format(paths) - ruff を使用してファイルをフォーマットする

コマンド実行

  • shell_command(command, args=None, cmdline=None, timeout=30) - シェルコマンドを実行し、その出力をキャプチャします。

    ⚠️ セキュリティ警告:このツールはホストシステム上で任意のコマンド実行を許可します。特に入力元が信頼できない場合は、コマンドの実行を許可する前に必ず検査と検証を行ってください。

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

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

このサーバーは、ナビゲーション、読み取り、書き込み、ファイル分析などの基本的なファイル システム操作を実行するためのインターフェイスを提供し、ユーザーがディレクトリとファイルを効率的に管理できるようにします。

  1. ツール
    1. ファイルとディレクトリの操作
    2. 編集と検索
    3. 分析
    4. バッチ操作
    5. プロジェクトナビゲーション
    6. コード品質
    7. コマンド実行

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    The Claude Dev Server enables direct interaction with the file system within a specified workspace, allowing users to perform file and directory operations and implement code artifacts in software development using natural language commands.
    Last updated -
    2
    Python
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.
    Last updated -
    5
    1
    JavaScript
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables enhanced file system operations including reading, writing, copying, moving files with streaming capabilities, directory management, file watching, and change tracking.
    Last updated -
    12
    6
    TypeScript
    MIT License
  • A
    security
    A
    license
    A
    quality
    An MCP server that provides tools for reading, writing, and editing files on the local filesystem.
    Last updated -
    1
    1,387
    Python
    Apache 2.0
    • 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/kvas-it/mcp-server-fs'

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