MCP File System Server
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 linterruff_format(paths)- 使用 ruff 格式化文件
命令执行
shell_command(command, args=None, cmdline=None, timeout=30)- 运行 shell 命令并捕获其输出⚠️ 安全警告:此工具允许在主机系统上执行任意命令。在允许命令运行之前,请务必检查并验证命令,尤其是在输入源不受信任的情况下。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA beginner-friendly MCP server that enables AI to explore file systems through tools for listing directories, reading files, searching with wildcards, and getting file metadata. Perfect for learning MCP development while providing practical file system interaction capabilities.411MIT
- FlicenseBqualityDmaintenanceA lightweight server for managing local workspaces through file operations, Git version control, and Node.js development commands. It enables users to manipulate files, track repository status, and execute build or dependency scripts within their development environment.18
- AlicenseNot gradedqualityDmaintenanceProvides tools for text file analysis, including metrics like word counts and character frequencies, alongside file reading and directory browsing capabilities. This server enables LLMs to interact with and process local file content securely through the Model Context Protocol.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for performing filesystem operations, enabling file management and manipulation through natural language.MIT
Related MCP Connectors
File uploads for AI agents. Upload, list, and manage files. No signup required.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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