Skip to content
MCP server

File

Dir tree, file stats, duplicates, LOC for AI agents

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
5 days ago

About File

File is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add file -- npx -y @rog0x/mcp-file-tools

Add to claude_desktop_config.json

{
  "mcpServers": {
    "file": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-file-tools"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "file": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-file-tools"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "file": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-file-tools"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "file": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-file-tools"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "file": {
      "command": "npx",
      "args": [
        "-y",
        "@rog0x/mcp-file-tools"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

File FAQ

Is File free?

Yes. File is open source, so you can use and self-host it for free.

How do I add File to Claude Code?

Run this command in your terminal: claude mcp add file -- npx -y @rog0x/mcp-file-tools

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers