M5SHARK R151のロゴ

M5SHARK R151

コミュニティ
M5Shark

M5SHARK R153 - ESP32-C5 security device with SHARK UI, 62 MCP AI tools, games, Wi-Fi/BT/GPS/BadUSB

公開者M5Shark
リポジトリM5Shark
言語C
フォーク
5
スター
37
利用可能なツール
0
通信方式stdio, streamable-http
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    M5SHARK R151は、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには37件のスターと5件のフォークがあります。

M5SHARK R151

M5SHARK R151

Buy M5SHARK

Overview

A hand-held wireless security testing device built on the ESP32-C5, running the SHARK firmware with terminal UI, theme engine, 50+ tools, and full AI assistant control via MCP.

Version Chip MCP License

Get the device: m5shark.com/products/m5shark-marauder-v8

divider

Hardware

Hardware

ComponentSpecification
MCUESP32-C5 (RISC-V dual-core)
Flash8 MB (custom shark_8mb partition: 2× 3.6 MB OTA slots + 1.1 MB SPIFFS)
RAMPSRAM enabled
Display240×320 ILI9341-class resistive touch, 40 MHz SPI
RadioWi-Fi 2.4+5 GHz / Bluetooth 5 (NimBLE)
GPSUART module with external antenna (u.FL/SMA)
StoragemicroSD (FAT32, dedicated SPI)
BatteryIP5306 power management (I²C)
USBCH340 serial bridge for flashing + console

3D Printable Case

STL files for the M5SHARK enclosure are in hardware/m5shark-v8-3d-case-stl.rar.

divider

Features

Features

Wi-Fi Tools

Wireless

  • Scan AP — active dual-band survey (2.4+5 GHz, hidden networks), per-network detail (SSID, channel+band, security type, RSSI bar, OPEN flagged), tap-to-select targets for attacks
  • Wardrive — WiGLE-format CSV logging (Wi-Fi + BLE rows), works without GPS fix (0-coords until lock), TAG POI marker, SURVEY LOG dashboard, GPX POI files
  • MAC Monitor — top-talker device tracking (WiFi + BLE), follow marker, amber highlight
  • Beacon/Probe/EAPOL/Deauth sniffers — PCAP capture to SD
  • Packet Monitor — live per-type bar graphs (MGMT/DATA/CTRL)
  • Channel Analyzer — auto-sweep spectrum, busy-channel ranking
  • Pineapple Watch / Multi-SSID Watch — rogue AP detection
  • Attacks — beacon spam, auth rush, deauth, CSA, evil portal (authorized targets only)

Bluetooth Tools

  • Sniffers — FindMy Sniff/Monitor, Flipper, Flock, Meta Detect, Card Skimmers, Bluetooth Analyzer, Fox Hunt
  • Attacks — Sour Apple, Apple Juice, Swiftpair, Samsung, Google, Flipper, Spam All, Spoof Airtag (deinit-free, MAC rotation at runtime)
  • BLE crash guard — if BLE init ever crashes, next boot locks BLE out (auto-recovers after 5 clean boots)

BadUSB Suite (over BLE)

Eight tools: SD payload picker (Ducky scripts), type text, self-test, Win recon, Win Wi-Fi keys, Linux recon, parameterized bash reverse shell, lock target. Free modifier combos (CTRL-ALT t, GUI SHIFT s).

GPS Tools

Signal Flow

  • GPS Data — fix pill (READY/NO FIX/NO ANT), SIGNALS + BEST dB live signal meter (GSV parsed), position panel, ANTENNA OPEN warning, animated SEARCHING counter
  • GPX Tracker — one track point per second while fix exists
  • Wardrive integration — coordinates auto-populate on lock

Chameleon Ultra Remote

Full BLE central link with auto-connect/auto-reconnect. Nordic UART Service (verified from CU firmware source). Dashboard (version/mode/battery/slot), mode toggle, slot switching (1-8), READ HF (ISO14443-A UID/ATQA/SAK), READ LF (EM4100), EMULATE HF/LF (MIFARE Classic 1K / EM4100 on active slot).

SSID Generator

Count steppers (10-2000), presets, GENERATE random names, ADD SSID via touch keyboard, CLEAR list. Feeds Beacon Spam / Probe Flood / Evil Portal.

Web Control

Browser dashboard over the device's AP: live scan results, attack control, SD file manager, Evil Portal HTML management, wardrive log download, wallpaper upload.

Theme Engine

Themes

Four themes: Matrix (green phosphor, default), Watch Dogs (bone white + cyan), Cyber 2077 (yellow neon), Spider (red/blue). NVS-persisted, splash art matches active theme.

divider

Flashing

Flashing

USB flash from PC (recommended)

Download a flash kit from Releases, extract, then:

powershell
cd <extracted folder>
powershell -ExecutionPolicy Bypass -File ".\flash-full-fast.ps1" -Port COM6

Replace COM6 with your device's port (Device Manager → Ports).

  • If it won't connect: hold BOOT, tap RESET, release after 2 seconds, then retry
  • If the write cuts out: add -Baud 460800
  • Wait for "WRITE COMPLETED" in green, then press RESET

SD card update (no PC, R138+ only)

Copy update.bin to the SD card root → Card Control → Update Firmware → select the file. A live progress bar and percentage counter runs during the write.

Important: R138 changed the partition table (bigger 3.6 MB OTA slots). Devices on R137 or older must be updated over USB with a full flash (not -Quick, not SD update).

divider

Serial CLI

Serial CLI

Connect via any terminal (PuTTY, Arduino Serial Monitor) at 115200 baud:

help                              full command list
wardrive                          start wardrive
sniffbt                           Bluetooth scan all
sniffbt -t airtag/flipper/flock/meta   targeted passive sniffs
blespam -t sourapple/all          BLE advertising attacks
gpsdata                           full GPS block (fix, sats, antenna, position)
nmea                              raw NMEA stream (antenna status visible)
stopscan                          stop the running tool
reboot                            restart
cleardevice                       factory-clear settings

divider

Building from source

Building

bash
powershell -ExecutionPolicy Bypass -File build-shark-v8.ps1

The build uses:

  • Arduino ESP32 core 3.3.4 (isolated config: arduino-cli-esp32-3.3.4.yaml)
  • NimBLE-Arduino 2.5.1 (vendored in .build-libraries/)
  • TFT_eSPI (vendored, User_Setup.h pins validated by the build script)
  • Custom shark_8mb partition layout (m5shark/partitions.csv)

divider

Architecture

Architecture

m5shark/
├── m5shark.ino          # main setup/loop, boot trace, splash
├── configs.h            # hardware pin map, display geometry, feature flags
├── WiFiScan.cpp/.h      # all Wi-Fi scanning, attacks, wardrive, CLI helpers
├── MenuFunctions.cpp/.h # menu system, all dashboards, touch handling
├── SharkUI.cpp/.h       # boot splash (skull morph + DedSec), idle wallpaper
├── SharkTheme.cpp/.h    # 4-theme engine with NVS persistence
├── SharkWeb.cpp/.h      # Web Control AP + browser dashboard
├── SharkPrank.cpp/.h    # WiFi + BLE prank suite (monkey, portals, hunts)
├── SharkChameleon.cpp/.h # Chameleon Ultra BLE remote
├── BadUsb.cpp/.h        # BLE BadUSB suite (8 tools, Ducky engine)
├── SharkIceNav.cpp/.h   # GPS navigation radar
├── Display.cpp/.h       # display primitives, touch, scan cards
├── CommandLine.cpp/.h   # serial CLI
├── GpsInterface.cpp/.h  # GPS UART + GSV signal meter
├── SDInterface.cpp/.h   # SD card + firmware update
└── ...                  # EvilPortal, WdgResponse, buffer, settings, etc.

divider

AI Assistant Control (MCP)

Control the ENTIRE device from Claude, ChatGPT, or any AI assistant over USB cable. 58 tools covering every firmware capability.

Setup

bash
pip install pyserial mcp

Add to Claude Desktop (claude_desktop_config.json) — port is auto-detected, just plug in the device:

json
{
  "mcpServers": {
    "m5shark": {
      "command": "python",
      "args": ["C:\\path\\to\\m5shark_mcp.py"]
    }
  }
}

All 58 AI Tools

CategoryTools
Connectionconnect, disconnect, status, send_command, help, version
Wi-Fi Scanscan_ap, sniff_beacon, sniff_probe, sniff_deauth, sniff_pmkid, sniff_raw, packet_monitor, channel_analyzer, set_channel
Wi-Fi Attacksbeacon_spam, deauth_flood, auth_rush, cSA_attack, evil_portal
SSIDssid_add, ssid_generate, ssid_list, ssid_clear, ssid_select
Targetslist_aps, select_ap, list_stations, select_station
Bluetoothble_scan, ble_scan_airtag, ble_scan_flipper, ble_scan_flock, ble_scan_meta, ble_scan_skimmers, ble_spam, ble_spoof_airtag, ble_stop
GPSgps_data, gps_nmea, gps_tracker, gps_poi
Wardrivewardrive_start, stop_scan, list_sd, read_file
BadUSBbadusb_run, badusb_type
Systembattery, heap, reboot, set_theme, set_led, set_brightness
Settingssettings_save, settings_load, settings_list, factory_reset

Prompt Examples — Getting Started

Connect to my M5SHARK and give me a full status report
What firmware version am I running and how's my battery?
Show me the help text so I can see all available commands
How much free memory do I have?

Prompt Examples — Wi-Fi Reconnaissance

Scan for all nearby Wi-Fi networks and show me the results with signal strength
What channel is my device on right now? Switch it to channel 6
Run a channel analysis and tell me which channels are the busiest
Start a packet monitor and tell me what kind of traffic is in the air
Sniff for probe requests — what devices are looking for networks?
Are there any hidden networks nearby?
Find all open (unsecured) Wi-Fi networks nearby and rank them by signal strength

Prompt Examples — Wardriving

Start wardriving and let me know when you've found more than 10 networks
Start wardriving, then after 30 seconds stop it and show me what was logged
Read the latest wardrive log from the SD card
Mark this location as a point of interest
I'm wardriving. Every time you find a new network, tell me the SSID, channel, and signal strength. Also track my GPS position.

Prompt Examples — GPS

What's my GPS status? Do I have a fix and how many satellites?
Show me my exact latitude, longitude, and altitude
What's my signal quality — best dB and signal count?
Start GPS tracking and log my route

Prompt Examples — Bluetooth

Scan for all nearby Bluetooth devices
Are there any Flipper Zeros near me?
Check for AirTags or FindMy devices nearby
Look for card skimmers in the area
Scan for Meta Ray-Ban devices
Stop the Bluetooth scan

Prompt Examples — Wi-Fi Attacks (authorized targets only)

Generate 50 random SSIDs for beacon spam
List all the SSIDs I have in my target list
List all the access points you've found, then select the first one as target
Run a deauth flood on the selected access point
Start an evil portal
Stop all attacks now
Set up the device for a penetration test: generate 100 SSIDs, select the target AP, and prepare a beacon spam — but don't start the attack yet

Prompt Examples — BadUSB

Run the BadUSB payload at /SCRIPTS/payload.ducky
Type "Hello from Claude" on the paired target

Prompt Examples — System & Settings

Change the theme to Cyber 2077
Set the display brightness to level 5
Set the LED to red
Show me all my current settings
Save my current settings
Factory reset the device
Reboot my device

Prompt Examples — Advanced (chained operations)

Connect to my M5SHARK, check the battery, scan for nearby Wi-Fi, and tell me the top 5 strongest networks
Do a full site survey: scan Wi-Fi, scan Bluetooth, check GPS, analyze channels, then give me a summary report
Monitor for deauthentication attacks for 30 seconds and tell me if anyone is trying to kick devices off the network
I'm doing a security assessment. Connect to the device, survey the area (Wi-Fi + Bluetooth), identify all open networks and potential rogue APs, then give me a threat report

divider

Troubleshooting

Troubleshooting

SymptomCauseFix
Boot-loops on splash (R117/R118 era)Bad BLE library linked at buildFlash R151 (full flash)
BLUETOOTH LOCKED noticeBLE init crashed once; guard engagedAuto-recovers after 5 clean boots
Flash won't connectAuto-reset missed bootloaderHold BOOT, tap RESET, release after 2 s
Write interruptedUSB dropout mid-writeRun same command again
Screen dark after flashChip waiting for resetPress RESET once
GPS stays NO FIX / NO ANTAntenna circuit open or weak sky viewReseat antenna; watch SIGNALS/BEST dB outdoors
Wardrive logs 0,0 coordsNo GPS fix yet (by design)Coords fill in once receiver locks
Old-style screen flashesPre-R132 firmwareUpdate to R151

divider

Version history

Version History

Key milestones:

  • R119 — splash boot-loop fixed (BLE crash guard)
  • R151 — MCP USB control (58 AI tools, full device control from Claude)
  • R120-121 — BadUSB suite + control fixes
  • R122 — Wardrive SHARK dashboard
  • R126 — Wardrive works without GPS fix
  • R128 — MAC Monitor dashboard
  • R129 — SSID Generator
  • R132 — no legacy UI flash on any tool
  • R134 — 40 MHz display (2× speed)
  • R138 — GPS Tracker + bigger OTA slots (3.6 MB)
  • R141 — GPS BEST dB signal meter
  • R142 — Scan AP active survey
  • R143 — Matrix green default theme
  • R144-151 — Chameleon Ultra remote (auto-connect, NUS, emulation)
  • R153 — Games + AI game creation via MCP (62 tools)
  • R154 — stability fixes: BLE spam null-pointer (PR #1 + follow-ups), snake stack/food, reaction BACK
  • R155 — Games menu no longer blinks (draw once, repaint only after a game exits)

divider

Legal

Legal

Footer

Licensed under GPL-3.0. See LICENSE.

Authorized testing only. Use this firmware only on networks, devices, and systems you own or are explicitly permitted to test. You are responsible for complying with the laws that apply where you operate it.

Get M5SHARK

インストール

TypingMind
{
  "mcpServers": {
    "m5shark": {
      "command": "python",
      "args": [
        "C:\\path\\to\\m5shark_mcp.py"
      ]
    }
  }
}

M5SHARK R151のMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度M5SHARK R151に接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 お使いのデバイス上でMCPをローカル実行することも、リモートMCPサーバーのURLに接続することもできます。

方法1:ローカルコネクタを使用

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

M5SHARK R151をサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. M5SHARK R151のMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "m5shark": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてM5SHARK R151のMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. M5SHARK R151のMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
M5SHARK R151を使ってこのタスクを手伝ってもらえますか?
M5SHARK R151
はい、読みました。
M5SHARK R151で調べた結果をお伝えします。

方法2:MCPサーバーのURLを追加

M5SHARK R151がすでにリモートでホストされている場合や、チームの複数のユーザーで1つのコネクタを共有したい場合は、この方法を使います。

1

MCPコネクタを開く

TypingMindで「プラグイン」に移動し、「MCPコネクタ」を開いて「URLを追加」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 「プラグイン」に移動してください。
  3. 「MCPコネクタ」を開いてください。
  4. 「URLを追加」をクリックします。
TypingMindの「カスタムMCPサーバーURLを追加」フォーム
2

サーバーURLを貼り付け

「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを入力してください。サーバーで必要とされる場合は、接続名、説明、アイコン、カスタムHTTPヘッダー、OAuthクライアント設定を追加してください。

  1. 「サーバーURL」欄にプロバイダーから提供されたMCPサーバーのURLを貼り付けてください。
  2. M5SHARK R151の接続名を入力してください。
  3. 接続を識別しやすくするには、説明とアイコンを追加してください。
  4. サーバーで認証が必要な場合は、カスタムHTTPヘッダーまたはOAuthクライアントの詳細情報を追加してください。
3

接続を作成

「接続を作成」をクリックし、プラグイン一覧に戻って、新しいMCP接続が有効になっていることを確認してください。

  1. 「接続を作成」をクリックします。
  2. MCPコネクタの一覧に戻ってください。
  3. M5SHARK R151の接続が「有効」と表示されていることを確認してください。
  4. 接続がすぐに表示されない場合は、プラグイン一覧を更新してください。
4

再接続せずにモデルを切り替え

お好みのモデルでチャットを開始し、「プラグイン」でM5SHARK R151のツールを有効にしてください。必要に応じて別のモデルに切り替えられます。MCP接続は、TypingMindのワークスペースで引き続き利用できます。

  1. TypingMindで新しいチャットを開始してください。
  2. 使用するAIモデルを選択してください。
  3. 「プラグイン」でM5SHARK R151のツールを有効にしてください。
  4. 必要に応じて、ツールを使うようモデルに依頼してください。
  5. 別のAIモデルに切り替えて、同じMCP接続を再利用してください。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
M5SHARK R151を使ってこのタスクを手伝ってもらえますか?
M5SHARK R151
はい、読みました。
M5SHARK R151で調べた結果をお伝えします。

よくある質問

M5SHARK R151 MCPサーバーは何に使いますか?

M5SHARK R151は、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでM5SHARK R151 MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでM5SHARK R151を利用できます。

TypingMindでM5SHARK R151 MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。M5SHARK R151を接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

M5SHARK R151 MCPをTypingMindに接続するにはどうすればよいですか?

M5SHARK R151は、ローカルMCPコネクタを使うか、リモートMCPサーバーのURLを追加することでTypingMindに接続できます。サーバーがデバイス上のファイル、アプリ、プライベートリソースにアクセスする必要がある場合はローカルコネクタを、MCPサーバーがリモートでホストされている場合はサーバーURLを使用してください。

TypingMindでM5SHARK R151 MCPのどのようなツールを利用できますか?

M5SHARK R151はMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

M5SHARK R151 MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。M5SHARK R151で認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇