# Files Direct

> Files Direct is a free MCP server for files and documents. Send, receive and request files from a terminal, script or AI assistant, no account needed. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, API, macOS, Linux, Windows
- **Website:** https://files.tnyforge.com/agents
- **Repository:** https://github.com/agentvms/files-direct-cli
- **MCP Registry name:** com.tnyforge/files-direct
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [file transfer](https://ai-powered.com/categories/file-transfer)
- **Listing updated:** 2026-11-23

## About

Files Direct moves files and folders between two devices without a sign-up. The sender gets a link, a nine-digit code and a QR code, and the other side opens the link or runs the same command-line program. Transfers go straight between devices when possible; when networks will not connect directly, encrypted data passes through the vendor's servers up to a free amount and is not stored there.

Besides the command-line tool, the same program runs as a local MCP server, so an AI assistant can send a file to a phone or receive one into a folder you allow. Access is limited to folders named with --allow, and folders that hold keys or passwords are excluded.

It suits developers, operators and agent builders who want file handoff inside scripts or assistant workflows, and who can run Node.js 22 or newer. Setup is documented for Claude Code, Claude Desktop and Codex.

## Features

- **Send files without accounts:** Opens a room that returns a link, nine-digit code and QR code for the recipient to join.
- **Request files from others:** The ask command lets a person choose files to send to a folder you name, with a note explaining the request.
- **Checked, non-overwriting receives:** Files are verified as they arrive and are never replaced unless overwrite is explicitly set.
- **JSON event output:** The --json flag prints one event per line with a fixed exit-status scheme for scripts and agents.
- **Local MCP server:** Exposes send, receive, ask, status, cancel and close tools to MCP clients within allowed folders.
- **Optional password protection:** Senders can require a password before a recipient joins the room.

## Good for

- Sending a report or photo folder to someone from a terminal script
- Having an AI assistant deliver a document to a colleague's phone
- Asking a client for signed documents straight into a local folder
- Collecting build artifacts or logs from a remote machine in automation
- Receiving files inside a scripted workflow with machine-readable status

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add files-direct -- npx -y files-direct
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add files-direct -- npx -y files-direct
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.files-direct]
command = "npx"
args = ["-y", "files-direct"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user files-direct npx -- -y files-direct

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "files-direct": {
      "command": "npx",
      "args": [
        "-y",
        "files-direct"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 6 tools change data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `send_files` (name suggests: changes): Opens a room for files or folders and returns the link and code at once.
- `receive_files`: Takes what a link or code offers into an allowed folder, up to a size limit.
- `ask_for_files`: Opens a room that asks a person for files and saves them into an allowed folder.
- `transfer_status` (name suggests: changes): Shows how a transfer is going, optionally waiting for it to end.
- `cancel_transfer` (name suggests: changes): Stops a transfer.
- `close_room`: Closes a room so its link and code stop working.

## FAQ

### Does the recipient need an account?

No. The recipient opens the link or runs the same program, and no account is required.

### Are my files stored on the vendor's servers?

Files are not stored there. When direct connection fails, encrypted files pass through the servers without being kept or readable by the vendor.

### Which systems are supported?

Linux, macOS and Windows are listed as supported, with Node.js 22 or newer required; the vendor notes that only Linux x64 has been tried so far.

### Can an AI assistant use Files Direct?

Yes. Running the program with the mcp command starts a local MCP server that works with clients such as Claude Code, Claude Desktop and Codex.

### Is Files Direct free?

Yes. Files Direct is free to use.

### How do I add Files Direct to Claude Code?

Run this command in your terminal: claude mcp add files-direct -- npx -y files-direct

### What are the best alternatives to Files Direct?

The closest alternatives to Files Direct are DROP File Transfer, Pandafile, ProjectSend, Handoff: Send Files to Users & Agents and DeviceLink.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [DROP File Transfer](https://ai-powered.com/mcp/drop-file-transfer): DROP File Transfer is an MCP server for file transfer.
- [Pandafile](https://ai-powered.com/mcp/pandafile): Pandafile is a freemium MCP server for files and documents.
- [ProjectSend](https://ai-powered.com/mcp/projectsend): ProjectSend is a freemium MCP server for files and documents.
- [Handoff: Send Files to Users & Agents](https://ai-powered.com/mcp/handoff-send-files-to-users-and-agents): Handoff: Send Files to Users & Agents is an MCP server for files and documents.
- [DeviceLink](https://ai-powered.com/mcp/devicelink): DeviceLink is an MCP server for files and documents.
- [File2Host](https://ai-powered.com/mcp/file2host): File2Host is a freemium MCP server for files and documents.
- [Easysend](https://ai-powered.com/mcp/easysend): Easysend is a free MCP server for file transfer.
- [aispace](https://ai-powered.com/mcp/aispace): aispace is a freemium MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/files-direct
