Skip to main content
Glama

MCP File System Server

by kvas-it

MCP File System Server

MCP server providing file system operations. Supports navigation, reading, writing, analyzing files and command execution.

Tools

File and Directory Operations

  • ls(path) - List directory contents
  • cd(path) - Change working directory (supports home directory expansion with ~)
  • read_file(path) - Read file contents
  • write_file(path, content) - Write content to a file
  • mkdir(path) - Create directory
  • rm(path) - Remove file or empty directory
  • rmdir(path) - Remove directory and contents recursively
  • cp(src, dst) - Copy file or directory
  • mv(src, dst) - Move file or directory

Editing and Searching

  • edit_file(path, changes) - Apply multiple search/replace operations to a file, where changes is a list of (search_text, replace_text) tuples
  • grep(pattern, path) - Search for regex pattern in file(s)

Analysis

  • summary(path) - Generate summary of Python (.py) and Markdown (.md) files:
    • Python: Lists functions and classes
    • Markdown: Lists headers (lines starting with #)

Batch Operations

  • read_files(paths) - Read multiple files, returns dict mapping paths to contents
  • summarize(paths) - Generate summaries for multiple files, returns dict mapping paths to summaries

Project Navigation

  • work_on(path) - Change to directory, list its contents, and get the notes from CLAUDE.md. Useful for getting familiar with a project at the start of a chat

Code Quality

  • ruff_check(paths) - Run ruff linter on specified files
  • ruff_format(paths) - Format files using ruff

Command Execution

  • shell_command(command, args=None, cmdline=None, timeout=30) - Run shell commands and capture their output

    ⚠️ Security Warning: This tool allows arbitrary command execution on the host system. Always inspect and validate commands before allowing them to run, especially if the input source is untrusted.

-
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
    This server provides: * Fast file search capabilities using Everything SDK * Windows-specific implementation * Complements existing filesystem servers with specialized search functionality
    Last updated -
    231
    Python
    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,528
    Python
    Apache 2.0
    • Apple
  • A
    security
    A
    license
    A
    quality
    A server implementing the Model Context Protocol that provides filesystem operations (read/write, directory management, file movement) through a standardized interface with security controls for allowed directories.
    Last updated -
    9
    3
    TypeScript
    MIT License
  • A
    security
    A
    license
    A
    quality
    A command-line interface server that provides unrestricted system access to Windows environments with SYSTEM-level privileges, allowing complete control over files, processes, and configuration settings.
    Last updated -
    4
    1,488
    TypeScript
    MIT License

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