Skip to main content
Glama
Fileport

Fileport

Official

Fileport CLI

Upload large files to Fileport from your terminal, your scripts and your AI assistant, and get a link that works at once.

$ npx @fileport/cli send ./build
https://fileport.io/Kd7pQx3mRt9a

The link works as soon as the upload starts, so people can download while it uploads.

Install

Node.js 22 or later runs it with npx @fileport/cli, or install it once:

npm install -g @fileport/cli

Related MCP server: Transfa

API key

Keys come with every paid plan. Create one on the API page in your account, then set it for each run:

export FILEPORT_API_KEY=fpk_...

Or save it on this computer, in ~/.config/fileport/config.json:

fileport login

Commands

Command

What it does

fileport send <paths...>

Uploads files and folders, and prints the link

fileport add <id> <paths...>

Adds files and folders to an upload

fileport list

Lists your uploads, newest first

fileport get <id>

Shows an upload's details and files

fileport edit <id>

Changes an upload's name, expiry, password and more

fileport remove <id> <numbers...>

Removes files from an upload

fileport delete <id>

Deletes an upload

fileport account

Shows your plan, storage and uploads left today

fileport login

Saves your API key on this computer

fileport logout

Removes the saved key

fileport mcp

Runs the MCP server for AI assistants

--json prints any answer as JSON, and --help shows a command's options.

send takes --name, --photobook to make a photo album, and --region, like eu-central, for where the upload server is.

AI assistants

fileport mcp connects Fileport to assistants that use MCP. Ask yours to send a folder with Fileport, and it answers with the link.

Give your assistant an Upload Only key, so it can't see or delete your uploads.

Claude Code:

claude mcp add fileport -e FILEPORT_API_KEY=fpk_... -- npx -y @fileport/cli mcp

Cursor (~/.cursor/mcp.json) and Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "fileport": {
      "command": "npx",
      "args": ["-y", "@fileport/cli", "mcp"],
      "env": { "FILEPORT_API_KEY": "fpk_..." }
    }
  }
}

VS Code (.vscode/mcp.json):

{
  "servers": {
    "fileport": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@fileport/cli", "mcp"],
      "env": { "FILEPORT_API_KEY": "${input:fileport-key}" }
    }
  },
  "inputs": [{ "type": "promptString", "id": "fileport-key", "description": "Fileport API key", "password": true }]
}

Its tools are Send Files, Add Files, List Uploads, Get Upload, Edit Upload, Remove Files, Delete Upload and Account.

The API

The CLI uses Fileport's API, which the docs describe with examples in curl, JavaScript and Python.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      EasySend MCP server lets AI assistants upload, download and share files instantly. No API key or authentication needed. Upload any file type up to 1GB, get a shareable link. Tools: upload_file, upload_multiple_files, get_bundle, download_file, download_bundle, delete_file, bundle_status.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Upload any file from the local filesystem and get a shareable, expiring link — with tools to check file status, list recent uploads, and delete files on demand.
      4
      21
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to securely transfer files between machines via encrypted, expiring share links, with tools for upload, download, status checks, and link management.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables secure one-time encrypted file and note sharing by encrypting data locally before upload and providing tools for sending, listing, checking, and revoking links.
      MIT