File Operations MCP Server

A Model Context Protocol (MCP) server that provides enhanced file operation capabilities with streaming, patching, and change tracking support.

Local serverstdioTypeScript

What is the File Operations MCP server?

File Operations MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that provides enhanced file operation capabilities with streaming, patching, and change tracking support.

What you get

  • Basic File Operations — Copy, read, write, move, and delete files
  • Directory Operations — Create, remove, and copy directories
  • File Watching — Monitor files and directories for changes
  • Change Tracking — Track and query file operation history
  • Streaming Support — Handle large files efficiently with streaming
  • HTTP Interface — Streamable HTTP interface with Server-Sent Events (SSE)

What the assistant can call

Once File Operations is connected, these are the calls the assistant has available:

  • Building — The Building tool exposed by this server
  • Linting — The Linting tool exposed by this server
  • Formatting — The Formatting tool exposed by this server
  • Testing — The Testing tool exposed by this server

Setting it up

@smithery/cli on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. File Operations's toolset — Building, Linting, Formatting and 1 more — is a fair guide to whether it matches your workflow. It is maintained by bsmi021; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the file operations mcp server does with a few real requests.

Available tools

ToolWhat it does
BuildingThe Building tool exposed by this server.
LintingThe Linting tool exposed by this server.
FormattingThe Formatting tool exposed by this server.
TestingThe Testing tool exposed by this server.

How to install the File Operations MCP server

{
  "mcpServers": {
    "file-operations-server": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use File Operations to Building.
  • Use File Operations to Linting.
  • Use File Operations to Formatting.

Frequently asked questions

It supports two modes: stdio transport for direct integration with MCP clients like Claude Desktop, and HTTP transport with SSE for remote connections and web applications.