drio
Open app

File Operations MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

File Operations MCP Server is a Model Context Protocol (MCP) server designed to enhance file operation capabilities, providing features like streaming, patching, and change tracking.

To use the server, install it via npm and start it using the command npm start. For development, use npm run dev for auto-reloading.

  • Basic file operations: copy, read, write, move, delete files - Directory operations: create, remove, copy directories - File watching: monitor files and directories for changes - Change tracking: track and query file operation history - Streaming support for large files - Real-time progress reporting for long operations - Enhanced security with path validation and input sanitization
  1. Automating file management tasks in applications.
  2. Monitoring file changes in real-time for backup solutions.
  3. Implementing file operation history tracking for auditing purposes.

Add to your AI client

Use these steps to connect File Operations MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-file-operations-server-bsmi021": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-file-operations-server-bsmi021": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-file-operations-server-bsmi021": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-file-operations-server-bsmi021": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-file-operations-server-bsmi021": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-file-operations-server-bsmi021": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-file-operations-server-bsmi021"
      ]
    }
  }
}

FAQ

Can I use this server for large file operations?

Yes! The server supports streaming for efficient handling of large files.

Is there a limit on the number of requests?

Yes, the server implements rate limiting to prevent abuse, with specific limits for tools and resources.

How can I track the progress of long operations?

The server provides progress updates through a progress token returned in the operation result.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1142,"uuid":"3bde6bf3-e88c-4092-9c15-39b6e901a494","name":"mcp-file-operations-server","title":"File Operations MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/5215575?v=4","created_at":"2025-01-28T02:34:33.452Z","updated_at":"2025-02-23T07:13:17.192Z","status":"created","author_name":"bsmi021","author_avatar_url":"https://avatars.githubusercontent.com/u/5215575?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/bsmi021/mcp-file-operations-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/e7813881c54ee093a4c0f8e51bf50880cf7cb0d9446fcb50902ddd1ee7805c7e/68747470733a2f2f736d6974686572792e61692f62616467652f4062736d693032312f6d63702d66696c652d6f7065726174696f6e732d736572766572","type":null,"metadata":"{\"star\":\"4\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-13 10:51:12\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]