MCP.so
登录

File Operations MCP Server

@MCP-Mirror

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

MCP-Mirror

关于 File Operations MCP Server

Mirror of

File Operations MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "bsmi021_mcp-file-operations-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@bsmi021/mcp-file-operations-server",
        "--client",
        "claude"
      ]
    }
  }
}

File Operations MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is File Operations MCP Server?

A Model Context Protocol (MCP) server that provides enhanced file operation capabilities with streaming, patching, and change tracking support. It integrates with MCP clients like Claude Desktop to enable programmatic file system management.

How to use File Operations MCP Server?

Install via Smithery (npx -y @smithery/cli install @bsmi021/mcp-file-operations-server --client claude) or manually with npm install. Start the server with npm start (development: npm run dev). Use tools like copy_file, read_file, write_file, move_file, delete_file, make_directory, remove_directory, copy_directory, watch_directory/unwatch_directory, and get_changes/clear_changes. Access files via resources at file://{path}, metadata://{path}, and directory://{path}.

Key features of File Operations MCP Server

  • Basic file operations: copy, read, write, move, delete
  • Directory operations: create, remove, copy recursively
  • File watching with change tracking and history querying
  • Streaming support for efficient large file handling
  • Progress reporting for long-running operations
  • Rate limiting and security path validation

Use cases of File Operations MCP Server

  • Automate file operations within AI assistant workflows
  • Monitor directories for real-time file changes
  • Copy large directories with progress tracking
  • Access file contents and metadata via MCP resources

常见问题

1

What are the rate limits?

Tools are limited to 100 requests per minute, resources to 200 requests per minute, and watch operations to 20 operations per minute.

2

How does the server ensure security?

All file paths are validated to prevent directory traversal attacks, including no parent directory references and proper path normalization.

3

What are the runtime requirements?

It requires Node.js and npm for installation and execution, with full TypeScript support.

4

How does progress reporting work?

Long-running operations like directory copying return a progress token with percentage updates, which can be used to track progress.

5

What error handling is provided?

Detailed errors are provided through the `FileOperationError` class and standard MCP error codes like `InvalidRequest`, `InvalidParams`, and `InternalError`.

评论

其他 分类下的更多 MCP 服务器