Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

··Feeds·Kontakt·Datenschutz·© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
flipper-mcp — KI-gestützter MCP-Server für Flipper Zero. Steuere SubGHz, NFC, RFID, IR, BLE, GPIO und mehr über WiFi mit Claude oder einem beliebigen MCP-Client. | Kitploit
Tools/GitHubGitHub/roostercoopllc/flipper-mcp
Embedded-System-SicherheitBluetooth-SicherheitRFID/NFC-ToolsScripting & AutomatisierungDrahtlose SicherheitPenetrationstestsCommand and ControlDienstprogramme & FrameworksHardware- & IoT-SicherheitRed TeamingRemote-Access-Tool
22214vor 6 MonatenVon Kitploit geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Teilen
KI-Sicherheit
GitHubroostercoopllc/flipper-mcp

flipper-mcp

KI-gestützter MCP-Server für Flipper Zero. Steuere SubGHz, NFC, RFID, IR, BLE, GPIO und mehr über WiFi mit Claude oder einem beliebigen MCP-Client.

Repository anzeigen

flipper-mcp

Ein Rust-MCP-Server (Model Context Protocol), der direkt auf dem WiFi Dev Board v1 (ESP32-S2) des Flipper Zero läuft und es KI-Agenten ermöglicht, einen Flipper Zero über das Netzwerk zu steuern.

Was ist das?

Dieses Projekt platziert einen MCP-Server auf dem Flipper selbst. Jeder MCP-kompatible KI-Client (Claude Desktop, Claude Code usw.) kann sich verbinden und die Fähigkeiten des Flipper als Tools nutzen — SubGHz, NFC, RFID, IR, GPIO, BadUSB, iButton, Dateispeicher und mehr.

Anders als andere Projekte, die einen USB-verbundenen Host-Computer erfordern, läuft flipper-mcp auf dem ESP32-S2-WiFi-Modul, das am Flipper angebracht ist. Der Flipper wird zu einem eigenständigen, netzwerkzugänglichen Werkzeug.

Architektur

root@kitploit:~
LOCAL (same network):
  MCP Client ──HTTP──► flipper-mcp.local:8080 (ESP32-S2) ──UART──► Flipper Zero

REMOTE (cross-network):
  MCP Client ──HTTP──► Relay Server ◄──WebSocket── ESP32-S2 ──UART──► Flipper Zero

Der ESP32-S2 betreibt einen HTTP-Server, der das MCP-Protokoll implementiert. Er übersetzt MCP-Tool-Aufrufe in Flipper Zero CLI-Befehle über UART mit 115200 Baud. Ein begleitender Relay-Server ermöglicht den Fernzugriff aus jedem Netzwerk.

Funktionen

  • ~30 integrierte Tools, die alle Standard-Flipper-Zero-Anwendungen abdecken
  • Dynamische Modulerkennung — automatische Erkennung von FAP-Apps von der SD-Karte + TOML-konfigurationsgesteuerte Tools
  • Flipper-First-Einrichtung — WiFi über die Flipper-FAP konfigurieren (kein Telefon, Browser oder PC-Skripte erforderlich)
  • Dualer MCP-Transport — Streamable HTTP (modern) + Legacy SSE (abwärtskompatibel)
  • Lokale Erkennung — mDNS-Ankündigung als flipper-mcp.local
  • Fernzugriff — Reverse-WebSocket-Tunnel über einen Relay-Server (keine Portweiterleitung erforderlich)
  • Keine Authentifizierung — konzipiert für Pentesting- und Sicherheitsforschungsszenarien
  • Begleitender Relay-Server — kleine Rust-Binary für netzwerkübergreifenden Zugriff, unterstützt mehrere Flipper

Erforderliche Hardware

  • Flipper Zero (jede Firmware-Version mit CLI-Unterstützung)
  • WiFi Dev Board v1 (ESP32-S2-WROVER-Modul)

Mit welchem Gerät verbinde ich mich?

Voraussetzungen

  • Rust — Installation über rustup:
    root@kitploit:~
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
  • Xtensa-Toolchain — ESP32-S2 erfordert eine benutzerdefinierte Rust-Toolchain:
    root@kitploit:~
    cargo install espup
    espup install
    source ~/export-esp.sh  # Run this in every new terminal
    
  • Flash-Tool & Linker-Proxy:
    root@kitploit:~
    cargo install espflash
    cargo install ldproxy
    
  • Systempakete (Debian/Ubuntu/Kali):
    root@kitploit:~
    sudo apt install -y git curl gcc build-essential pkg-config libudev-dev libssl-dev python3 python3-venv cmake ninja-build
    

Schnellstart

Vollständige Einrichtungsanleitung in docs/SETUP.md

1. Firmware bauen & flashen

root@kitploit:~
source ~/export-esp.sh
cd firmware
cargo build --release --target xtensa-esp32s2-espidf
espflash flash --monitor target/xtensa-esp32s2-espidf/release/flipper-mcp

3. WiFi konfigurieren

Erstelle config.txt auf der Flipper-SD-Karte unter SD:/apps_data/flipper_mcp/config.txt:

root@kitploit:~
wifi_ssid=YourNetworkName
wifi_password=YourPassword
device_name=flipper-mcp

Oder direkt vom Flipper aus konfigurieren mit der begleitenden FAP (siehe Schritt 5): Apps → Tools → Flipper MCP → Configure WiFi

Beim ersten Start ohne Konfigurationsdatei wartet der ESP32 und schreibt status=needs_config in die Statusdatei. Die Flipper-FAP zeigt dies auf dem Status-Bildschirm an.

4. Überprüfen, ob der Server funktioniert

Bevor du einen KI-Client konfigurierst, bestätige mit curl, dass der Server erreichbar ist:

root@kitploit:~
# Quick health check
curl http://flipper-mcp.local:8080/health

# Full verification — initialize + list all available tools
./scripts/test-connection.sh

# If mDNS isn't resolving on your OS, pass the IP directly:
./scripts/test-connection.sh 192.168.x.xxx

MCP-Tools direkt mit curl testen

Hole die IP des Flipper aus dem Menü Flipper MCP → Status und teste dann:

BLE-Beacon-Broadcast (gefoppte BLE-Werbung senden):

root@kitploit:~
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ble_beacon","arguments":{"data":"020106"}}}'

BLE-HID-Tastatur (eine drahtlose Tastatur emulieren und tippen):

root@kitploit:~
# Start HID emulation
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ble_hid_start","arguments":{}}}'

# Type a message
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ble_hid_type","arguments":{"text":"Hello from Flipper!"}}}'

# Stop HID emulation
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"ble_hid_stop","arguments":{}}}'

IR-Senden (IR-Fernbedienungscodes senden):

root@kitploit:~
# NEC protocol IR code (generic TV power button)
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ir_tx","arguments":{"protocol":"NEC","address":"00","command":"01","repeat":0}}}'

SubGHz-Empfang (auf Funksignale bei 433,92 MHz hören):

root@kitploit:~
curl -X POST http://192.168.0.58:8080/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"subghz_rx","arguments":{"frequency":433920000,"duration":5000}}}'

Ersetze 192.168.0.58 durch die tatsächliche IP-Adresse deines Flipper.

Füge dann Folgendes zu deiner Claude-Desktop-Konfiguration (claude_desktop_config.json) hinzu:

root@kitploit:~
{
  "mcpServers": {
    "flipper": {
      "url": "http://flipper-mcp.local:8080/mcp"
    }
  }
}

5. Das WiFi-Board vom Flipper aus verwalten

Installiere die begleitende Flipper MCP-App aus flipper-app/ auf dem Flipper Zero. Baue sie mit ufbt und kopiere die .fap nach SD:/apps/Tools/:

root@kitploit:~
cd flipper-app && ufbt   # produces flipper_mcp.fap
# Copy flipper_mcp.fap to your Flipper SD card under apps/Tools/

Die App erscheint unter Apps → Tools → Flipper MCP und bietet:

Die App kommuniziert über SD-Kartendateien (keine zusätzliche Verkabelung über den GPIO-Header hinaus). Configure WiFi ist der Erststart-Assistent — kein Telefon, Browser oder PC-Skripte erforderlich.

6. (Optional) Fernzugriff über Relay

Selbst gehostet (die Binary überall ausführen):

root@kitploit:~
./scripts/build-relay.sh
./target/release/flipper-mcp-relay --listen 0.0.0.0:9090
# Then add relay_url to config.txt on the Flipper SD card:
# relay_url=ws://your-server:9090/tunnel

Cloud-Bereitstellung (AWS oder GCP, mit TLS + DNS):

root@kitploit:~
# Bootstrap state storage, then deploy
./infra/bootstrap/aws.sh   # or ./infra/bootstrap/gcp.sh
cd infra/aws && cp terraform.tfvars.example terraform.tfvars
tofu init && tofu apply
# Outputs the relay URL and a ready-to-paste wifi-config.sh command

Vollständige Anweisungen findest du in RELAY.md.

Verfügbare Tools

Benutzerdefinierte Tools können über TOML-Konfigurationsdateien oder durch Installieren von FAP-Apps auf der SD-Karte hinzugefügt werden. Siehe OPERATIONS.md für Copy-Paste-curl-Befehle für jedes Tool.

Kostenlose Alternative: Open WebUI + Ollama

Du brauchst kein Claude-Abonnement, um flipper-mcp zu nutzen. Open WebUI ist eine kostenlose, selbst gehostete ChatGPT-ähnliche Oberfläche, die MCP Streamable HTTP nativ unterstützt (v0.6.31+). Kombiniere sie mit Ollama für vollständig lokale, offline KI-gesteuerte Flipper-Steuerung.

1. Ollama installieren und ein tool-fähiges Modell herunterladen

root@kitploit:~
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull a model with tool-calling support
ollama pull llama3.1        # 8B — good balance of speed and capability
# or: ollama pull qwen2.5   # strong tool-calling, good at structured output
# or: ollama pull mistral    # lightweight, fast tool use

2. Open WebUI starten

root@kitploit:~
# Docker (recommended) — connects to Ollama on localhost automatically
docker run -d -p 3000:8080 \
  --add-host=host.docker.internal:host-gateway \
  -e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
  -e WEBUI_AUTH=False \
  -v open-webui:/app/backend/data \
  --name open-webui \
  ghcr.io/open-webui/open-webui:main

# Or without Docker:
pip install open-webui
open-webui serve

Öffne http://localhost:3000 in deinem Browser.

3. Den Flipper-MCP-Server verbinden

  1. Gehe zu Admin Settings (Zahnrad-Symbol) → External Tools
  2. Klicke auf + Add Server
  3. Setze Type auf MCP (Streamable HTTP)
  4. Gib die Server-URL ein:
    • Lokal: http://flipper-mcp.local:8080/mcp (oder http://192.168.x.x:8080/mcp)
    • Über Relay: https://relay.example.com/mcp
    • Von Docker aus: verwende http://host.docker.internal:8080/mcp, wenn der Flipper im Netzwerk des Docker-Hosts ist
  5. Setze Authentication auf None (flipper-mcp hat keine Authentifizierung)
  6. Speichern

Tipp: Stelle unter Workspace → Models → (dein Modell) → Advanced Parameters die Function Calling auf Default für kleinere Modelle. Wechsle nur dann zu Native, wenn Modelle eine starke integrierte Tool-Unterstützung haben (Llama 3.1 8B+, Qwen 2.5, Mistral).

4. Beispiel-Prompts

Sobald verbunden, probiere diese im Open WebUI-Chat aus:

Mehrstufige agentische Aufgaben funktionieren am besten mit größeren Modellen (Llama 3.1 70B, Qwen 2.5 72B oder Cloud-Modelle über OpenAI-kompatible APIs). Kleinere Modelle bewältigen Einzel-Tool-Aufrufe zuverlässig.

Projektstruktur

root@kitploit:~
flipper-mcp/
├── firmware/          # ESP32-S2 firmware (Rust, esp-idf-svc)
├── relay/             # Companion relay server (Rust, tokio/axum)
├── flipper-app/       # Flipper Zero FAP — in-device management UI (C, ufbt)
├── infra/             # OpenTofu IaC — cloud relay deployment (AWS + GCP)
├── config/            # Example module configurations
├── scripts/           # Build, flash, and setup helper scripts
└── docs/              # Architecture, setup, API, troubleshooting

Dokumentation

  • SETUP.md — Vollständige Einrichtung von Grund auf
  • ARCHITECTURE.md — Detaillierter Einblick in das Systemdesign
  • API.md — Vollständige MCP-Tool-Referenz
  • OPERATIONS.md — Betriebshandbuch mit curl-Befehlen für jedes Tool
  • MODULE_DEVELOPMENT.md — Benutzerdefinierte Module erstellen
  • RELAY.md — Einrichtung des Fernzugriffs
  • HARDWARE.md — Verkabelung und Hardware-Details
  • TROUBLESHOOTING.md — Häufige Probleme und Lösungen
  • DESIGN.md — Technisches Design und Systemarchitektur

Für KI-Agenten

Siehe AGENTS.md für vollständigen Projektkontext, technische Spezifikationen, Systemarchitektur und alles, was für die Weiterentwicklung dieses Projekts benötigt wird.

Lizenz

MIT

Tool herunterladen
StageConnect toNotes
Flashing firmwareWiFi Dev Board USB-CBoard has its own USB port, separate from Flipper
Serial monitoringWiFi Dev Board USB-CSame USB connection as flashing
SD card config filesFlipper Zero SD cardInsert SD into Flipper, or remove and mount on PC
Server control commandsFlipper Zero SD cardCreate server.cmd file in apps_data/flipper_mcp/
UART communicationAutomaticWiFi Dev Board and Flipper connect via GPIO header
MCP HTTP requestsWiFi Dev Board IP:8080Connect over your WiFi network
ScreenWhat it does
StatusRequests a fresh status update from the ESP32, shows IP, SSID, server state, version
Start / Stop / RestartControls the MCP HTTP server lifecycle
Reboot BoardRestarts the ESP32 WiFi Dev Board
Configure WiFiOn-screen keyboard to enter SSID + password; writes config.txt to SD card
View LogsScrollable diagnostic log written by the ESP32 every 30 s
Tools ListScrollable list of all MCP tools currently registered on the ESP32
Refresh ModulesTriggers FAP discovery rescan + modules.toml reload on the ESP32
CategoryToolsDescription
SubGHzsubghz_tx, subghz_rx, subghz_decode_raw, subghz_chat, subghz_tx_from_fileRadio frequency operations
NFCnfc_detect, nfc_read, nfc_emulate, nfc_fieldNFC tag interaction
RFIDrfid_read, rfid_emulate, rfid_writeLow-frequency RFID
Infraredir_tx, ir_rxIR remote control
GPIOgpio_read, gpio_write, gpio_set_modePin I/O control
BadUSBbadusb_run, badusb_listUSB HID attacks
iButtonibutton_read, ibutton_emulate1-Wire key fobs
Storagestorage_list, storage_read, storage_write, storage_remove, storage_statSD card file management
Systemsystem_device_info, system_power_info, system_power_reboot, system_ps, system_free, system_uptimeDevice management
BLEble_info, ble_beacon, ble_beacon_stop, ble_hid_start, ble_hid_type, ble_hid_press, ble_hid_mouse, ble_hid_stopBluetooth Low Energy (beacon broadcast + HID emulation)
Appsapp_launch_{name} (auto-discovered from SD card)Application management
PromptWhat it does
"Scan for NFC tags near the Flipper"Calls nfc_detect to read nearby tags
"List all files on the Flipper's SD card"Calls storage_list on /ext
"Transmit this SubGHz signal on 433.92 MHz: ..."Calls subghz_tx with the given frequency
"Read any RFID card that's presented to the Flipper"Calls rfid_read and returns tag data
"What apps are installed on the Flipper?"Calls app_list to enumerate installed FAPs
"Send this IR signal to turn off the TV"Calls ir_tx with the specified protocol and data
"Show me the Flipper's system info and free memory"Calls system_info + system_free
"Read the NFC tag, then save its data to /ext/nfc/captured.nfc"Multi-step: nfc_read → storage_write
"Monitor 315 MHz for 10 seconds and decode anything you hear"Calls subghz_rx with frequency and duration