F
Ffl MCP
作者 @nuwainfo
MCP server for ffl. Let AI share anything for you.
创建于 1/20/2026
更新于 about 10 hours ago
README
Repository documentation and setup instructions
ffl-mcp (local-only)
MCP server for ffl. Let AI share anything for you.
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.
Run (no PyPI, run directly from Git)
Prereq: uv installed.
# point to your local ffl.com (APE) or "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-mcp
Tools
fflShareText(text, ...) -> {sessionId, link, ...}fflShareBase64(dataB64, ...) -> {sessionId, link, ...}fflShareFile(path, ...) -> {sessionId, link, ...}fflListSessions()fflStopSession(sessionId)fflGetSession(sessionId)fflGetSessionEvents(sessionId, limit=50)
Claude Desktop / Claude Code config (uvx)
{
"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"
}
}
}
}
Claude Desktop auto-install (no JSON)
FFL_BIN="$HOME/bin/ffl.com" uvx --from git+https://github.com/nuwainfo/ffl-mcp install
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --print
For Claude Code/CLI or other MCP clients that use a different config file, pass the path:
uvx --from git+https://github.com/nuwainfo/ffl-mcp install --config /path/to/claude_desktop_config.json
Notes
FFL_USE_STDIN=1avoids writing text/base64 payloads to disk.FFL_RUN_MODE=pythonruns the Core.py CLI (requiresFFL_CORE_PATH).--hookand--proxyare passed through to ffl.FFL_USE_HOOK=1starts a local webhook server and passes it tofflfor link/progress events.
快速设置
此服务器的安装指南
安装包 (如果需要)
uvx ffl-mcp
Cursor 配置 (mcp.json)
{
"mcpServers": {
"nuwainfo-ffl-mcp": {
"command": "uvx",
"args": [
"ffl-mcp"
]
}
}
}