ffl-mcp
OfficialYou can use ffl-mcp to share and receive files/text between machines via ffl links and manage those share sessions.
Share plain text or base64 binary data as clickable ffl links.
Share a local file/folder, or multiple files that ffl auto-zips into one download.
Configure shares with E2EE, QR codes, Basic Auth, pickup/pubkey/email OTP recipient auth, download limits, timeouts, aliases, upload/relay/tunnel options, exclusions, previews, and VFS.
Download from FastFileLink URLs or any HTTP(S) URL, with resume, auth, key, and proxy options.
Generate RSA keypairs for passwordless pubkey authentication.
List, inspect, stop, and view events for active share sessions.
Get guidance for cloud-hosted assistants sharing files from a user's remote computer.
Allows selecting Cloudflare as the tunnel provider for ffl share sessions, exposing local file/folder shares through a Cloudflare tunnel.
Allows selecting ngrok as the tunnel provider for ffl share sessions, exposing local file/folder shares through an ngrok tunnel.
Uses WebRTC for peer-to-peer file transfers when available, with relay/HTTP fallback via ffl; can be disabled with forceRelay.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ffl-mcp share the file /tmp/debug.log and give me the link"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ffl-mcp
MCP server for ffl. Let AI share anything for you.
Backed by ffl, which turns any file/folder into an HTTPS link.
This MCP server uses the ffl-python binding locally.
No file contents are sent to the LLM; the model only triggers local ffl.
This demo shows collaborative debugging: Claude on the left shares a local environment (DB + logs) via P2P link, Claude on the right downloads and diagnoses the error. In this scenario, the two Claudes represent different people working on separate machines.
Table of Contents
Related MCP server: kintone MCP Server
Installation
⚡ Short URLs for convenience
Linux/macOS:
curl -fsSL https://fastfilelink.com/mcp/install.sh | bashWindows (script):
iwr -useb https://fastfilelink.com/mcp/install.ps1 | iex🔒
fastfilelink.com/mcp/*is a redirect to GitHub. Use the direct GitHub URLs below if you prefer.
Windows — GUI Installer
Download and run ffl-mcp-setup.exe from the latest release.
It registers the server with Claude Desktop, Claude Code, Codex, and Grok Build.
No command line needed — the installer registers ffl-mcp with Claude Desktop and Claude Code automatically.
Linux / macOS — one-liner
curl -fsSL https://raw.githubusercontent.com/nuwainfo/ffl-mcp/refs/heads/main/scripts/Install.sh | bashDownloads the platform binary from the latest GitHub release and runs ffl-mcp install to register with Claude, Codex, and Grok Build. Falls back to uvx automatically if no binary is available for your platform.
Windows — one-liner (PowerShell)
iwr -useb https://raw.githubusercontent.com/nuwainfo/ffl-mcp/refs/heads/main/scripts/Install.ps1 | iexDownloads ffl-mcp.exe from the latest GitHub release and registers it with Claude, Codex, and Grok Build.
uvx (no binary, requires uv)
uvx --from git+https://github.com/nuwainfo/ffl-mcp installTargets can be controlled with --target (default: all):
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --target claude-desktop,claude-code,codex,grok-builduvx --from git+https://github.com/nuwainfo/ffl-mcp install --printclaude-code uses the Claude Code CLI. codex writes the native ~/.codex/config.toml configuration used by Codex clients. grok-build writes ~/.grok/config.toml, which Grok Build can reload from /mcps.
Legacy target names (claude-cli, codex-cli, codex-desktop, and grok) remain accepted as aliases. The installer first creates a timestamped backup of any config it changes.
For custom config paths, pass the file:
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --config /path/to/claude_desktop_config.json
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --codex-config /path/to/codex/config.toml
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --grok-config /path/to/grok/config.tomlClaude Code cloud sessions
Cloud-hosted Claude Code sessions start in a fresh container. To make ffl-mcp
available in every new session, open the cloud environment menu in the session
title bar, choose Edit, and add this as the environment Setup script:
claude mcp add ffl -s user -e FFL_USE_STDIN=1 -- uvx --from git+https://github.com/nuwainfo/ffl-mcp ffl-mcpThe setup script runs when each new session starts. In the first new session,
run claude mcp list to confirm that the ffl server was registered.
Run directly (development)
Prereq: uv installed.
# optional safety: restrict file sharing to a directory
export ALLOWED_BASE_DIR="$HOME/Downloads"
# optional: use stdin for text/base64 instead of temp files
export FFL_USE_STDIN=1
uvx --from git+https://github.com/nuwainfo/ffl-mcp ffl-mcpMCP Config (manual JSON)
{
"mcpServers": {
"ffl": {
"command": "uvx",
"args": ["--from", "git+https://github.com/nuwainfo/ffl-mcp", "ffl-mcp"],
"env": {
"ALLOWED_BASE_DIR": "/Users/you/Downloads",
"FFL_USE_STDIN": "1"
}
}
}
}Tools
Sharing
Tool | Input |
| Plain text |
| Binary data (base64-encoded) |
| Single local file or folder |
| Multiple files (ffl auto-zips them into one download) |
Common options for all share tools:
Option | Default | Description |
|
| End-to-end encryption |
|
| Return ASCII QR art ( |
| — | HTTP Basic Auth to protect the link |
|
| Stop serving after N downloads (P2P only) |
|
| Inactivity timeout in seconds (P2P only) |
| — |
|
| auto | Specific pickup code for |
| — | Path to |
| — | Email(s) for |
| — | Custom link alias e.g. |
| — | Email notification when recipient downloads |
| — | Require recipient confirmation before download; pass a message or |
|
| Disable WebRTC, route all traffic through tunnel |
| — | Explicitly choose |
| — | Preferred ffl tunnel, for example |
| — | Local HTTP server port (auto-detect by default). Useful with fixed tunnels. |
|
| Open the ffl invite page in a local browser with the generated sharing link. |
|
| Enable ffl diagnostic error reporting. Disabled by default. |
| — | Upload to FFL server instead of P2P — e.g. |
|
| Resume an interrupted upload |
| — | Proxy URL e.g. |
Additional options for fflShareFile / fflShareFiles:
Option | Default | Description |
|
| Append |
| — | Glob or regex patterns to exclude, comma-separated — e.g. |
| — | Pause server upload at a percentage from 1 to 99. Requires |
|
| Expose as VFS server ( |
| — | Set preferred tunnel for this and future runs — |
preview only affects the returned link's query string and works for any
share (single file, folder, or multi-file). The preview sidecar routes
(/manifest, /file, /thumb — the manifest/thumbnail data behind that
preview page) are a separate, always-on mechanism: MCP starts them
automatically for folder shares and multi-file shares regardless of preview,
and never for single-file shares.
Managed-sandbox policy: In ChatGPT Work, Grok Bot, a cloud-hosted Codex
sandbox, or a Claude Code cloud session (Claude Code on the web / claude.ai/code,
or a remote session started from the Claude app), use forceRelay=True and
preferredTunnel="default:web" immediately. These environments may only allow
outbound HTTPS through a proxy, with no usable UDP/ICE or raw TCP tunnels. Do not
apply this rule to local Claude Code CLI, local Codex CLI, local Grok Build, or
ordinary user machines.
Response fields: sessionId, link, pid, transportDecision, qrCode? (ASCII art when qrInTerminal=True), debugLogPath?. transportDecision reports the selected mode, reason, automatic status, and effective preferredTunnel.
Sharing from a Remote Agent
fflHowToShareFromRemoteAgent() is guidance for a cloud-hosted assistant such
as Grok Bot when the user asks it to share a file or folder on the user's own
computer. It instructs the assistant to operate on that computer, use an
existing ffl/ffl.com when present, or locate the runtime bundled with the
installed ffl-mcp or ffl-python package without relying on a fixed internal
package path. Local agents such as Claude Code, Codex, and Cursor use
fflShareFile directly and do not need this tool.
Downloading
fflDownload(url, outputPath?, resume?, authUser?, authPassword?,
recipientAuth?, pickupCode?, recipientPrivateKey?, proxy?,
enableReporting?)
-> {ok, returncode, outputPath?, transferMode?, transferInfo?, message?, ...}Downloads from FastFileLink URLs (WebRTC P2P when possible, HTTP fallback) or any HTTP(S) URL (works like wget).
| Meaning |
| Direct peer-to-peer over WebRTC (fastest) |
| Direct peer-to-peer over raw TCP/QUIC |
| HTTP relay when P2P fails |
| Regular HTTP download (non-FastFileLink URL) |
For authenticated links: pass recipientAuth + pickupCode (pickup mode) or recipientPrivateKey (pubkey mode).
Set enableReporting=True only when you want to opt into ffl diagnostic error reporting for troubleshooting.
Keygen
fflKeygen(name?) -> {ok, returncode, output}Generates an RSA keypair for passwordless pubkey recipient auth:
<name>.fflpub— share with the sender (pass asrecipientPublicKey)<name>.fflkey— keep private (pass asrecipientPrivateKeywhen downloading)
Session Management
fflListSessions()— list active share sessionsfflStopSession(sessionId)— terminate a sessionfflGetSession(sessionId)— get session detailsfflGetSessionEvents(sessionId, limit=50)— retrieve webhook events
Notes
FFL_USE_STDIN=1avoids writing text/base64 payloads to disk.Folder and multi-file previews start a local webhook server so FFL can register preview routes.
FFL_DEBUG=1saves ffl output to a temp log file; path returned asdebugLogPath. SetFFL_DEBUG=/path/to/log.txtto use a fixed path.ALLOWED_BASE_DIRrestrictsfflShareFile/fflShareFilesto a specific directory.During installation, ffl-mcp probes
example.comandstun.cloudflare.comin parallel for up to 0.5 seconds. If every answer is in the synthetic198.18.0.0/15range, it registersFFL_NETWORK_PROFILE=synthetic-dns-198-18; later shares immediately use relay throughdefault:webinstead of waiting for P2P. No profile is written for timeouts, failures, mixed answers, or ordinary networks.Pass
--env FFL_NETWORK_PROFILE=p2ptoinstallto override the install-time result, or use a share tool'stransportvaluep2pfor one direct-P2P attempt.
Testing
# Unit + binary tests (no network needed)
python -m unittest discover -s tests -p "*Test.py" -v
# All tests including share/download round-trips (requires network)
FFL_INTEGRATION_TESTS=1 python -m unittest discover -s tests -p "*Test.py" -vAvailable Tools
11 toolsfflDownloadFfldownloadB
Download a file from a FastFileLink URL or regular HTTP(S) URL using ffl.
For FastFileLink URLs, this uses WebRTC P2P when possible for faster downloads. For regular URLs, it works like wget.
Inputs: url (required), proxy, resume, authUser, +6 more. Returns: object
fflGetSessionFflgetsessionC
Get details for a running session.
Inputs: sessionId (required). Returns: object
fflGetSessionEventsFflgetsessioneventsC
Get recent hook events for a running session.
Inputs: sessionId (required), limit. Returns: object
fflKeygenFflkeygenA
Generate an RSA keypair for passwordless pubkey authentication.
Produces two files:
.fflpub — public key (share with the sender)
.fflkey — private key (keep secret; used during download)
The sender then shares with: fflShareFile(..., recipientAuth='pubkey', recipientPublicKey='alice.fflpub') The recipient downloads with: fflDownload(..., recipientAuth='pubkey', recipientPrivateKey='alice.fflkey')
Inputs: name. Returns: object
fflListSessionsFfllistsessionsA
List active ffl share sessions started by this MCP server.
Inputs: no named parameters. Returns: result
fflStopSessionFflstopsessionC
Stop a running ffl session by sessionId.
Inputs: sessionId (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct payload type or session operation: share text, base64, single file, or multiple files, plus list/get/stop/events. The file vs. files pair could be confused, but the description explicitly notes auto-zipping, making boundaries clear. Session inspection and guidance tools are clearly separate from sharing actions.
All tools use a consistent ffl-prefixed camelCase convention (fflShareText, fflListSessions, fflStopSession, etc.). Minor deviations like fflDownload (verb only) and fflKeygen (compound noun) break the verb_noun pattern slightly but remain readable and predictable.
11 tools is well within a reasonable range for a file-sharing server, covering sharing, downloading, session management, and key generation. The four share variants are slightly redundant but each maps to a real payload distinction.
The surface covers the full lifecycle: create shares (text/base64/file/files), download, keygen for pubkey auth, plus list/get/stop/events for session lifecycle. Minor gaps like no explicit session renewal or share update exist, but agents can work around them by starting a new share.
Maintenance
Related MCP Connectors
MCP server for Flux AI image generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
MCP server for AI agents: posts, messages and comments on WhatsApp, Instagram, TikTok and Facebook.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for fffinstill — A Research Lab for Your Investment IdeasMIT

kintone MCP Serverofficial
AlicenseBqualityAmaintenanceOfficial MCP server for kintone, enabling AI assistants to manage kintone apps, records, and settings through natural language.201,425 npm59Apache 2.0- AlicenseAqualityDmaintenanceMCP server for Woody, an AI firearms expert that answers questions with verified citations, checks state-specific laws, and routes to specialist agents.3MIT
- FlicenseNot gradedqualityCmaintenanceMCP server enabling AI agents to generate AI videos and images, analyze video content, and download videos from Douyin and Xiaohongshu.-