FlipperTalk
FlipperTalk provides a comprehensive MCP server for controlling a Flipper Zero device via USB, enabling AI agents to manage storage, run apps, execute JavaScript, capture screens, simulate input, interact with hardware, perform wireless operations, sense nearby signals, and access device diagnostics. It adapts to Official, Momentum, Unleashed, and RogueMaster firmware, with safety features like hidden destructive operations and a read-only mode.
Device Management: List connected devices, connect/disconnect, reboot, set date/time, get hardware/firmware info, detect firmware family and capabilities.
Storage Operations: List directories, upload/download/delete/rename files, create directories, read/write files, compute MD5, extract tar archives, get storage info.
Application Lifecycle: Deploy and launch .fap apps, exit apps, check state, exchange data, send button events; install Momentum asset packs.
JavaScript Execution: Run inline, from file, or saved scripts; probe available modules (GPIO, UART, Notifications, BadUSB, GUI, storage, Sub-GHz, BLE, I2C, SPI, etc.).
Screen & Input: Capture screenshots and screen recordings, virtual display streaming, simulate single/sequence button presses, type text (Momentum/RogueMaster), unlock desktop.
Wireless & Sensing: Read, write, emulate Sub-GHz, NFC, RFID, iButton, Infrared; scan nearby signals; honest reporting of sensing limitations (e.g., no BLE/WiFi scanning by device).
Hardware Control: GPIO read/write/set mode, control 5V OTG, scan I2C and 1-Wire, manage LEDs, buzzer, vibration motor, trigger audiovisual alerts.
Diagnostics & System: Run CLI commands, view system diagnostics (processes, memory, uptime), capture logs, read device properties, get power info, Momentum settings, app scan reports.
Backup & Recovery: Check qFlipper-cli status and back up internal memory (when destructive operations allowed).
Custom Firmware Support: Dynamically adapts tools based on detected firmware (Official, Momentum, Unleashed, RogueMaster).
Enables reading, writing, and emulating NFC tags via the Flipper Zero hardware, including detection and data exchange in the NFC tool.
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., "@FlipperTalk scan for nearby devices"
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.
FlipperTalk
Talk to your Flipper Zero from Claude Code — or any MCP client. Storage, app deployment, screen capture, button automation, JavaScript execution on the device, and honest answers about what is nearby. The possibilities are endless as this gives your AI instance full Flipper capabilities.
Momentum-first, with Unleashed, RogueMaster and official firmware supported. One third-party dependency. No network access. Destructive operations hidden by default.
"Deploy my app and show me the settings screen."
-> flipper_deploy_fap (upload, md5-verify, launch)
-> flipper_input_sequence ["DOWN","DOWN","OK"] screenshot: true
-> [the actual device screen comes back as an image]Why this exists
qFlipper is the official desktop app, and it has not shipped a feature since November 2023 (its last commit, June 2024, was "Fixing windows build"). Firmware reached 1.4.3 in December 2025. In that gap it gained a JavaScript engine, dynamic app loading, a rewritten NFC stack, self-update, and a much larger CLI. qFlipper exposes none of it, and has no IPC, socket or daemon to attach to anyway.
FlipperTalk targets the firmware instead, speaking both protocols the device actually offers over USB serial:
The text CLI — the interactive
>:shellThe protobuf RPC — screen capture, binary-safe transfer, synthetic input
qFlipper-cli is invoked only for DFU/bootloader recovery, the one thing it
still uniquely does.
The serial port is exclusive. The qFlipper desktop app holds it while connected, so the two cannot use the device at once. Close qFlipper if a tool reports the port is busy, and call
flipper_disconnectto hand it back.
Related MCP server: Flipper Zero MCP Server
Custom firmware is a first-class target
The forks are not skins — each maintains its own protobuf and diverges from
official firmware (whose Main.content tops out at tag 75):
Firmware | Protobuf divergence | What FlipperTalk does with it |
Momentum |
|
|
RogueMaster | identical to Momentum (it tracks Momentum's protobuf, not Unleashed's) | same as Momentum |
Unleashed |
| GPS position in sensing; network tools exist but are off by default |
All three dialects are merged into one schema — the tag ranges do not collide — so decoding is correct whatever is attached. Firmware detection then decides which tools you are offered, so you never see one your device cannot honour.
Momentum's JavaScript engine is also materially bigger, adding subghz,
blebeacon, i2c, spi, usbdisk, widget and vgm on top of the official
module set.
Install
Requires Python 3.10+ and a Flipper Zero on USB with a data-capable cable.
git clone https://github.com/ReconGrunt/FlipperTalk
cd FlipperTalk
python -m venv .venv
.venv/Scripts/activate # Windows
# source .venv/bin/activate # macOS / Linux
pip install --require-hashes -r requirements.lock
pip install -e . --no-deps--require-hashes pins every artifact by SHA-256. See SECURITY.md.
python -m flippertalk_mcp --list-tools # see what your config exposesClaude Code
claude mcp add flippertalk --scope user -- /absolute/path/to/.venv/bin/python -m flippertalk_mcpClaude Desktop / any mcpServers client
{
"mcpServers": {
"flippertalk": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["-m", "flippertalk_mcp"]
}
}
}On Windows use C:\path\to\.venv\Scripts\python.exe.
Running JavaScript on the device
The most flexible thing here. Firmware 1.0+ embeds mJS, and — critically —
"all output from print() is sent to the CLI, not the device screen" when a
script is launched this way. So Claude can write code, run it, and read results.
flipper_run_js { source: 'print("battery: " + require("flipper").getBatteryCharge());' }Scripts reach GPIO, UART, notifications, BadUSB, GUI and storage — plus Momentum's
extra modules. Call flipper_js_probe first; it reports which modules actually
resolve on the attached firmware rather than assuming.
"What's nearby?" — and what that honestly means
flipper_scan_nearby sweeps every source the hardware genuinely supports and
returns structured results plus a plain-language summary.
It will not pretend. Sources that could not run are reported as not checked, with a reason — never as "nothing found":
Source | Reality |
Sub-GHz | genuine over-the-air; Momentum/Unleashed widen the tunable range |
NFC / RFID / iButton | contact range — the card must be on the reader |
i2c / 1-Wire | wired to the GPIO header |
GPS | Unleashed only |
BLE | no firmware can scan for it. Stock |
WiFi | no radio on the device. Needs an ESP32 devboard |
Summaries state observations, not conclusions — "strong signal at 433.92 MHz",
never "someone is tracking you". Run flipper_sense_capabilities to see the
limits for your specific device.
Tools
66 by default across seven groups. flipper_cli remains the escape hatch to any
firmware command.
core · devices, info, storage, upload/download, app launch and deploy, screenshot, screen record, input, typing, virtual display, asset packs, clock js · run/save/list scripts, module probe sense · scan nearby, sense capabilities, app reports radio · subghz, nfc, rfid, ibutton, infrared hw · gpio, i2c, 1-Wire, led, vibro, buzzer, notify, BadUSB (gated) dev · capabilities, diagnostics, log, Momentum settings firmware · qFlipper-cli status/backup, native SD update, plus gated flash/erase/wipe/restore network · Unleashed HTTP, TCP connect/send/close, GPS — off unless explicitly enabled
Device paths are absolute, starting /ext (SD card) or /int (internal).
Trimming the surface
66 tools costs context in every session. Groups are selectable:
FLIPPERTALK_TOOLSETS=core,js,dev # 46 tools — app development
FLIPPERTALK_TOOLSETS=core # 38 tools — essentials only
FLIPPERTALK_TOOLSETS=all # everything, including networkNothing is lost by trimming — flipper_cli still reaches every firmware command.
For app developers
flipper_deploy_fap is the inner loop: upload a freshly built .fap, verify it
by md5, launch it.
ufbt
-> flipper_deploy_fap { local_path: "dist/myapp.fap" }
-> flipper_screen_record { frames: 8, keys: ["DOWN","OK"] }Because screenshots return the real framebuffer, a model can look at what a UI
change renders instead of inferring it from source. flipper_screen_record
extends that to animations and transitions.
Safety
Destructive operations are hidden, not merely refused — omitted from
tools/list entirely, so a model that never sees them cannot call them.
Variable | Default | Effect |
| all but | Which tool groups are exposed |
| off | Firmware flash, erase, wipe, restore, recursive delete, DFU reboot |
| off | Withholds every mutating tool |
| unset | Confines host file access to an allowlist |
| auto | Force a firmware family if detection is wrong |
|
| Bytes per storage-write chunk (64–4096) |
|
| Seconds before an idle connection is released |
| auto | Explicit path to |
QFLIPPER_MCP_* names from v0.1 still work for one version.
Granting this server to a model is equivalent to handing over the device. Use
FLIPPERTALK_READ_ONLY=1 if you only need inspection.
Development
PYTHONPATH=src python -m unittest discover -s tests -v278 tests, no hardware required. They cover the protobuf codec against
hand-computed golden byte vectors (including zigzag sint32, which Unleashed's
GPS coordinates need and which decodes silently wrong if mishandled), PNG output
decoded back and compared pixel by pixel, a full MCP handshake over stdio against
the server as a subprocess, the RPC layer against a fake device speaking the real
wire protocol, fork detection — including that RogueMaster must not be
misdetected as Unleashed — and the sensing rule that an unrun source is never
reported as empty.
proto/{official,momentum,unleashed}/ are vendored from each fork's own repo as
reference for the field numbers in pb.py. They are never compiled or executed.
Compatibility
Official 1.x, Momentum, Unleashed and RogueMaster. Unknown fields are skipped on decode, so a firmware that adds messages still parses cleanly. Screen capture assumes the standard 128x64 display.
License
MIT — see LICENSE.
Independent of Flipper Devices Inc. A clean-room implementation speaking a documented wire protocol; it neither links nor derives from qFlipper's source.
Available Tools
66 toolsflipper_alertA
Play the audiovisual alert -- the 'find my Flipper' beep and flash.
Inputs: port.
flipper_app_buttonA
Press a button inside a running app that supports RPC button control, such as the Sub-GHz remote.
Inputs: args, port, index, action.
flipper_app_data_exchangeB
Send a base64 payload to a running app that supports RPC data exchange.
Inputs: data (required), port.
flipper_app_exitA
Close the app currently running on the device and return to the desktop.
Inputs: port.
flipper_app_stateARead-only
Report whether an application is currently holding the system.
Inputs: port.
flipper_asset_packA
List or install Momentum asset packs (themes: animations, icons, fonts). Installing copies a local pack folder onto the SD card; selecting it is done on the device and applies at reboot.
Inputs: name, port, action, local_path.
flipper_buzzerB
Play a tone on the piezo speaker. Frequency 0 stops it.
Inputs: port, frequency.
flipper_capabilitiesARead-only
Report what the attached firmware actually supports: family (official, Momentum, Unleashed, RogueMaster), version, the real CLI command list, and which features are present. Call this first when you need to know what is possible on this particular device.
Inputs: port, refresh.
flipper_cliA
Run any command on the Flipper's built-in text CLI and return its output. This is the general-purpose escape hatch for anything the other tools do not cover -- run help to see what the attached firmware supports. Do not use for streaming commands such as log (use flipper_log) and note that start_rpc_session is managed automatically.
Inputs: command (required), port, timeout.
flipper_connection_statusARead-only
Report whether the server currently holds the serial port, and in which protocol mode.
Inputs: no named parameters.
flipper_deleteA
Delete a file or empty directory. Recursive deletion requires the server to be started with FLIPPERTALK_ALLOW_DESTRUCTIVE=1.
Inputs: path (required), port, recursive.
flipper_deploy_fapA
Upload a .fap to the device, verify it by md5, and launch it. The standard inner loop for Flipper app development -- point it at a freshly built .fap and see it running.
Inputs: local_path (required), port, launch, category, +1 more.
flipper_diagnosticsARead-only
Run a diagnostic command: running threads (top), uptime, memory (free), system info (neofetch), settings (sysctl), or installed apps (loader list).
Inputs: port, what.
flipper_disconnectARead-only
Release the serial port. The qFlipper desktop app cannot use the device while this server holds it, so call this before switching to qFlipper.
Inputs: no named parameters.
flipper_downloadA
Copy a file from the device to the host filesystem.
Inputs: local_path (required), device_path (required), port.
flipper_file_timestampCRead-only
Get a file's modification timestamp.
Inputs: path (required), port.
flipper_get_datetimeARead-only
Read the device's real-time clock.
Inputs: port.
flipper_gpio_otgA
Turn the 5V OTG rail on the GPIO header on or off.
Inputs: enabled (required), port.
flipper_gpio_readBRead-only
Read the logic level of a GPIO pin.
Inputs: pin (required), port.
flipper_gpio_set_modeC
Configure a GPIO pin as INPUT or OUTPUT.
Inputs: pin (required), mode (required), port.
flipper_gpio_writeB
Set the logic level of a GPIO pin configured as OUTPUT.
Inputs: pin (required), value (required), port.
flipper_i2c_scanARead-only
Scan the i2c bus on the GPIO header for connected devices.
Inputs: port.
flipper_ibuttonA
iButton / 1-Wire keys: read, write and emulate. Subcommand syntax varies between firmware versions and forks, so run flipper_capabilities if a command is rejected; the device's own error text is returned verbatim.
Inputs: action (required), args, port, timeout.
flipper_infoARead-only
Get device information: hardware model, name, firmware version, build date, radio stack and protobuf version.
Inputs: port.
flipper_infraredA
Infrared: receive, transmit and use universal remotes. Subcommand syntax varies between firmware versions and forks, so run flipper_capabilities if a command is rejected; the device's own error text is returned verbatim.
Inputs: action (required), args, port, timeout.
flipper_inputC
Send a single button event to the device.
Inputs: key (required), port, type.
flipper_input_sequenceA
Send several button presses in order, optionally returning a screenshot afterwards. Use this to navigate to a screen and see the result in one call.
Inputs: keys (required), port, delay, screenshot.
flipper_js_probeARead-only
Report which JavaScript modules this firmware actually provides. Module sets differ substantially between official, Momentum and Unleashed, so check rather than assume before writing a script.
Inputs: port.
flipper_launch_appA
Launch an application by name (e.g. 'Sub-GHz') or by full .fap path.
Inputs: name (required), args, port.
flipper_ledA
Set an RGB LED channel or the display backlight brightness.
Inputs: port, color, brightness.
flipper_list_devicesARead-only
List attached Flipper Zero devices, the current connection state, and whether qFlipper-cli is installed. Start here when anything is not working.
Inputs: no named parameters.
flipper_list_dirARead-only
List the contents of a directory on the device. Paths start with /ext (SD card) or /int (internal storage).
Inputs: path, port, include_md5.
flipper_list_scriptsARead-only
List the JavaScript files stored on the device.
Inputs: port.
flipper_logARead-only
Capture the device's live log stream for a fixed number of seconds. Useful for watching an app's FURI_LOG output while it runs.
Inputs: port, level, duration.
flipper_md5sumARead-only
Compute the md5 of a file on the device, without transferring it.
Inputs: path (required), port.
flipper_mkdirA
Create a directory on the device, including any missing parents.
Inputs: path (required), port.
flipper_momentum_settingsCRead-only
Read Momentum's on-device settings file.
Inputs: port.
flipper_nfcA
NFC: detect, dump, emulate and send raw commands. Subcommand syntax varies between firmware versions and forks, so run flipper_capabilities if a command is rejected; the device's own error text is returned verbatim.
Inputs: action (required), args, port, timeout.
flipper_notifyA
Get the device's attention: vibrate, flash an LED, or beep. A shortcut over flipper_led / flipper_vibro / flipper_buzzer.
Inputs: kind, port, color, frequency, +1 more.
flipper_onewire_searchARead-only
Search the 1-Wire bus on the GPIO header for connected devices.
Inputs: port.
flipper_power_infoARead-only
Get battery and charging telemetry: charge level, voltage, current, temperature and health.
Inputs: port.
flipper_property_getBRead-only
Read device properties by key prefix (e.g. 'devinfo', 'pwrinfo'). More structured than parsing CLI output.
Inputs: key, port.
flipper_read_app_reportsARead-only
List scan output that apps have saved to the SD card (for example a BLE scanner's reports). This is the honest route to BLE and WiFi data, which the firmware itself cannot provide.
Inputs: path, port, pattern.
flipper_read_fileARead-only
Read a file from the device. UTF-8 text is returned directly; binary content is returned base64-encoded.
Inputs: path (required), port, encoding, max_bytes.
flipper_rebootA
Reboot the device. OS mode is a normal restart; DFU and UPDATE modes require FLIPPERTALK_ALLOW_DESTRUCTIVE=1.
Inputs: mode, port.
flipper_renameB
Rename or move a file or directory on the device.
Inputs: new_path (required), old_path (required), port.
flipper_rfidA
125kHz RFID: read, write and emulate. Subcommand syntax varies between firmware versions and forks, so run flipper_capabilities if a command is rejected; the device's own error text is returned verbatim.
Inputs: action (required), args, port, timeout.
flipper_run_jsA
Run JavaScript on the device and return its output. Give inline source, a host local_path, or an existing device_path. Scripts use the mJS engine (firmware 1.0+) and reach modules for GPIO, UART, notifications, BadUSB, GUI and storage -- plus subghz, blebeacon, i2c, spi and usbdisk on Momentum. Use print() for output; it is sent to the CLI when run this way. Call flipper_js_probe to see which modules exist.
Inputs: keep, name, port, source, +3 more.
flipper_save_scriptB
Save a JavaScript file to /ext/apps/Scripts so it can be run from the device's Apps > Scripts menu.
Inputs: name (required), source (required), port.
flipper_scan_nearbyARead-only
Answer 'what is around me?' by sweeping every sensor this hardware genuinely supports, returning structured results plus a plain-language summary. IMPORTANT: sources that cannot be run are reported as NOT CHECKED with a reason, never as 'nothing found' -- BLE and WiFi in particular cannot be scanned by any Flipper firmware. Read each source's attempted and reason fields before drawing conclusions.
Inputs: port, sources, frequencies.
flipper_screen_recordARead-only
Capture a run of frames, optionally pressing keys between them, so animations and screen transitions can be reviewed rather than a single still. Holds one screen stream open for the whole capture.
Inputs: keys, port, scale, frames, +4 more.
flipper_screenshotARead-only
Capture the device's screen and return it as an image. Use this to see what an app actually renders rather than inferring it from code.
Inputs: port, scale, format, palette.
flipper_sense_capabilitiesARead-only
Report which sensing sources this device can and cannot use, and why. Check here before promising a user that something can be detected.
Inputs: port.
flipper_set_datetimeB
Set the device clock, defaulting to the host's current local time.
Inputs: day, hour, port, year, +5 more.
flipper_statBRead-only
Get the type and size of a single file or directory.
Inputs: path (required), port.
flipper_storage_infoARead-only
Get total, used and free space for a storage volume.
Inputs: path, port.
flipper_subghzA
Sub-GHz radio: receive, transmit, decode and chat. Subcommand syntax varies between firmware versions and forks, so run flipper_capabilities if a command is rejected; the device's own error text is returned verbatim.
Inputs: action (required), args, port, timeout.
flipper_tar_extractB
Extract a .tar/.tgz archive already on the device.
Inputs: out_path (required), tar_path (required), port.
flipper_type_textA
Type a string directly into the device, one character at a time. Far better than arrow-keying an on-screen keyboard for filling in text fields. Requires Momentum or RogueMaster firmware.
Inputs: text (required), port, delay.
flipper_unlock_desktopA
Unlock the device's desktop if it is locked.
Inputs: port.
flipper_uploadA
Upload a host file to the device and verify it by md5. Fails loudly if the bytes on the device do not match what was sent.
Inputs: local_path (required), device_path (required), port, verify.
flipper_vibroB
Turn the vibration motor on or off.
Inputs: on, port.
flipper_virtual_displayA
Show host-rendered graphics on the device screen. Send a 1024-byte packed 128x64 framebuffer as base64.
Inputs: port, action, send_input, image_base64.
flipper_write_fileB
Write a file to the device, creating parent directories as needed.
Inputs: path (required), content (required), port, encoding.
qflipper_backupA
Back up the device's internal memory to a host directory using qFlipper-cli. Releases the serial port first.
Inputs: local_path (required), timeout.
qflipper_statusARead-only
Report whether qFlipper-cli is installed, where, and which of its operations are currently enabled.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 66 tools
Most tools have clear, distinct purposes, but there is some overlap between file writing tools (upload vs write_file) and between notification tools (notify vs buzzer/vibro/led). However, overall agents can distinguish them with careful reading.
All tools use the consistent prefix 'flipper_' and snake_case. Most follow a verb_noun pattern, but a few like 'flipper_nfc' or 'flipper_subghz' are just nouns, creating minor inconsistency. Still, the naming is predictable and readable.
At 66 tools, the server is quite large. The scope justifies many tools given the Flipper Zero's versatility, but the count is above the typical sweet spot, making navigation heavier. A more consolidated approach could improve discoverability.
The tool set comprehensively covers all major Flipper Zero operations: hardware interfaces (NFC, RFID, iButton, Sub-GHz, Infrared, GPIO, I2C, 1-Wire), file management, app life cycle, scripting, diagnostics, and device information. There are no obvious gaps for the device's known capabilities.
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Give your Grok Bot a phone: an MCP server to see and use your phone. Also works with Claude.
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that exposes a USB-connected Flipper Zero device as tools for controlling infrared devices. It enables listing, parsing, and transmitting IR signals from saved files and built-in universal remotes.10-
- AlicenseNot gradedqualityDmaintenanceModular MCP server for interacting with a Flipper Zero from MCP-capable clients (including Claude Desktop). Supports system info, BadUSB scripts, and music playback over USB or WiFi.37MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language control of ESP8266 and Raspberry Pi IoT devices via Claude Desktop using the MCP protocol.MIT
- AlicenseAqualityDmaintenanceDrive a Flipper Zero wirelessly over Bluetooth LE from Claude.381MIT