Cover image
Try Now
2025-03-04

提供基本文件系统操作的MCP服务器。支持导航,阅读,写作和分析文件。

3 years

Works with Finder

1

Github Watches

2

Github Forks

3

Github Stars

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

    Reviews

    4 (1)
    Avatar
    user_oSqqHVoc
    2025-04-16

    I have been using mcp-server-fs for a while now, and it has significantly enhanced my server management experience. Developed by kvas-it, this open-source project is reliable and user-friendly. The documentation is clear, and the support community is excellent. Highly recommend checking it out at https://github.com/kvas-it/mcp-server-fs!