ffl-mcp
OfficialClick on "Install 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-mcpshare 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 (local-only)
MCP server for ffl. Let AI share anything for you.
Backed by ffl, which turns any file/folder into an HTTPS link.
This is a minimal MCP server that shells out to ffl / ffl.com 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.
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/install.sh | bashDownloads the platform binary from the latest GitHub release and runs ffl-mcp install to register with Claude. 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/install.ps1 | iexDownloads ffl-mcp.exe from the latest GitHub release and registers it with Claude.
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,codex-desktop,codex-cliuvx --from git+https://github.com/nuwainfo/ffl-mcp install --printIf Claude Code CLI is installed, the installer also runs claude mcp add automatically (user scope).
The installer also writes Codex MCP config to ~/.codex/config.toml for Codex Desktop/CLI/IDE.
If Codex CLI is installed, the installer also runs codex mcp add automatically.
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.tomlRun directly (development)
Prereq: uv installed.
# optional: override embedded ffl.com (APE) or use "ffl" on PATH
export FFL_BIN="$HOME/bin/ffl.com"
chmod +x "$FFL_BIN"
# 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 |
| — | 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 |
|
| Enable preview sidecar routes for folder or multi-file shares. Returned links stay clean; add |
| — | 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 sidecar routes (/manifest, /file, /thumb) are only created for
folder shares and multi-file shares. Single-file shares are served as direct file
links, even when preview=True. MCP returns the base FastFileLink URL and does
not append ?preview=true; users may add that query string manually.
Response fields: sessionId, link, pid, qrCode? (ASCII art when qrInTerminal=True), debugLogPath?
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 (fastest) |
| HTTP relay when WebRTC 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.FFL_RUN_MODE=pythonruns the Core.py CLI (requiresFFL_CORE_PATH).FFL_USE_HOOK=1starts a local webhook server and passes it tofflfor real-time link/progress events.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.
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" -vWSL2 Users
If you encounter TLSError([0x6300]) errors, run this command to disable Windows interop for .com files:
sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'This allows ffl.com (APE binary) to run natively on Linux instead of being executed through Windows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuwainfo/ffl-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server