1. Conduid
  2. IoT
  3. Groki Bot
MCP server · IoT

Groki Bot

Groki Bot desktop robot (M5Stack CoreS3): firmware, a voice and MCP gateway for your computer, and a hand-off to Grok Bot agents

71Good

Scored 8 hours ago · breakdown

About Groki Bot

Groki Bot is an MCP server published by JosssphZhou in the IoT category: groki Bot desktop robot (M5Stack CoreS3): firmware, a voice and MCP gateway for your computer, and a hand-off to Grok Bot agents. Conduid read 27 tools from its source: check_vm_en, clear_leds, get_device_info, get_head_angles, get_state, get_status and 21 more. No package is published for it, so it installs from a source checkout.

The repository has 242 stars and 39 forks, is licensed BSL-1.0, and its last commit was on 24 Nov 2026. The latest release is v0.2.2 (24 Sep 2026): Groki Bot firmware v0.2.2 Firmware for the Groki Bot desktop robot. It follows v0.2.1 (23 Sep 2026), and the 3 most recent releases go back to v0.2.0 (23 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include esp32, firmware, m5stack, robot and stack-chan.

Install

From source
git clone https://github.com/JosssphZhou/groki-bot

Tools (27)

check_vm_enDiagnostic: read PY32 REG_GPIO_O_L and report whether VM EN (pin 0 = servo power) is currently HIGH. Returns {io_expander_present, i2c_read_ok, raw, vm_en_high}.
clear_ledsTurn off all 12 RGB LEDs on the StackChan base.
get_device_infoGet real-time device information from ESP32: battery level, speaker volume, screen brightness, network status, etc.
get_head_anglesGet the robot's current head angles: yaw and pitch in degrees.
get_stateStack-chan の現在状態 (FW バージョン、IP、Wi-Fi、バッテリ、ボード種別) を JSON で返す。
get_statusGet the gateway's connection status: whether ESP32 is connected, device info, and list of available device tools.
get_touch_stateRead the head-touch (Si12T) sensor state and the most recent gesture event (tap/stroke/idle). Returns per-zone booleans, the raw output byte, and how long ago the last event fired.
gpio_testTest GPIO6 pin by toggling HIGH/LOW 5 times. Check if servo reacts.
install_avatar_assetsDownload generated RGB565 avatar animation files from an HTTP directory to the StackChan SD card.
ParameterTypeDescription
base_url *stringHTTP directory containing IDLE.RGB, HAPPY.RGB, and the other generated 8.3 RGB files.
move_headMove the robot's head to the specified angles. yaw: horizontal (-90 to 90), pitch: vertical (0 to 60).
ParameterTypeDescription
pitch *integerVertical angle in degrees (0 to 60)
speedintegerMovement speed (100-1000, 150 natural)
yaw *integerHorizontal angle in degrees (-90 to 90)
sayStack-chan に発話させる。テキストはひらがな。漢字は読み取られない (jtts は読み変換器を持たない)。発話中に再度呼ぶと前の発話完了後にキュー実行。
ParameterTypeDescription
text *stringひらがなのテキスト
set_all_ledsSet all 12 RGB LEDs on the StackChan base to the same color. Updates immediately.
ParameterTypeDescription
b *integerBlue 0..255
g *integerGreen 0..255
r *integerRed 0..255
set_avatarSwitch the avatar face shown on the LCD. Choose one of the supported avatar logical states; this is the robot's actual visible expression, not just a label. Pass 'off' to hide the avatar and disable blink, exposing the underlying xiaozhi-esp32 screens (WiFi config UI, OTA, settings); any other face brings the avatar back and restores blink.
ParameterTypeDescription
face *stringOne of the supported avatar logical states, or off.
set_background_colorSet the LCD task-state background color. Use red for errors, green for pass/done, yellow for confirmation. duration_ms is optional; when omitted or 0 the color stays until the next set_background_color call.
ParameterTypeDescription
b *integer
duration_msinteger
g *integer
r *integer
set_balloonアバター下の吹き出しにテキスト表示。長文はマーキー スクロール。hold_ms 省略時はデフォルト時間。
ParameterTypeDescription
hold_msinteger
text *string
set_blinkEnable or disable autonomous avatar animation. When enabled, the current face plays its frame sequence continuously, including breathing, blinking, and state motion.
ParameterTypeDescription
enabled *booleanTrue to start blinking, false to stop.
set_brightnessSet the screen brightness (0-100).
ParameterTypeDescription
brightness *integerBrightness level (0-100)
set_expressionStack-chan のアバター表情を変更。
ParameterTypeDescription
expression *string
set_ledSet a single RGB LED on the StackChan base. There are 12 LEDs arranged in two rows of 6 (index 0..11). Updates immediately.
ParameterTypeDescription
b *integerBlue 0..255
g *integerGreen 0..255
index *integerLED index (0..11)
r *integerRed 0..255
set_ledsSet multiple RGB LEDs in one shot. 'colors' is an array of [r,g,b] triples starting at index 0 (e.g. [[255,0,0],[0,255,0]]). Up to 12 entries; extras are ignored, missing entries keep their previous color. Use this for animations / patterns to avoid 12x I2C round-trips.
ParameterTypeDescription
colors *arrayArray of [r,g,b] triples, each 0..255
set_mouthSet the avatar mouth shape for lip-sync. The shape is held until the next set_avatar / set_mouth call, or until an autonomous blink restores the resting face. Calling this while a set_mouth_sequence is in flight interrupts the sequence.
ParameterTypeDescription
mouth *stringOne of: closed, half, open, e, u.
set_mouth_sequenceQueue a lip-sync sequence and play it on the device. Each step holds 'shape' for 'duration_ms' before advancing. The firmware walks the queue locally so there is no per-step network RTT (use this instead of issuing many set_mouth calls back-to-back from a TTS loop). Returns immediately with the queued step count and estimated total duration. Calling set_mouth, set_avatar, or this tool again interrupts the in-flight sequence and replaces it. Autonomous blink is paused while a sequence is playing and resumed when it ends. The final shape is held until the next set_mouth / set_avatar call, or until an autonomous blink restores the resting face — this is the same Phase 2 trade-off that applies to set_mouth, since the blink animation ends by repainting the full face. If the final shape must persist visually, disable blink with set_blink(false) before the sequence (or append a closed step if you just want the mouth to close at the end).
ParameterTypeDescription
steps *arrayOrdered list of mouth shapes with hold durations (1..256 steps).
set_voice_modeEnable or disable STT-to-cmux voice input. When enabled, cloud STT text is treated as untrusted user input, prefixed with [voice], and sent only to a validated Claude Code surface.
ParameterTypeDescription
enabled *booleanTrue to enable voice input mode.
surfacestringOptional cmux target surface ref, e.g. surface:263.
set_volumeSet the speaker volume (0-100).
ParameterTypeDescription
volume *integerVolume level (0-100)
speakMake StackChan speak a short sentence. The gateway synthesizes 24kHz Opus audio with the configured voice engine, sends tts/start, streams Opus frames, then sends tts/stop. emotion optionally changes the visible expression first.
ParameterTypeDescription
emotionstringOptional expression/emotion, such as happy, sad, or thinking.
text *stringSentence to speak.
take_photoTake a photo with the robot's camera and ask a question about it. The device captures an image and returns an AI-generated description.
ParameterTypeDescription
question *stringQuestion to ask about the photo (e.g. 'What do you see?')
uart_diagSend raw servo bytes via UART and report write result.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.1K words.
  • ✓License declaredThe repository declares the BSL-1.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by gateway/uv.lock and 3 more.
  • !No dynamic code executionScanned 74 source files and found 3 calls to eval or shell execution, in tools/aora_rings/convert.mjs:22, tools/aora_rings/convert.mjs:31 and tools/aora_rings/parse_check.mjs:11. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdiogateway/stackchan_mcp/stdio_server.py:17
Starts other programs
14 callsgateway/stackchan_mcp/audio_stream.py:335, gateway/stackchan_mcp/audio_stream.py:360, gateway/stackchan_mcp/audio_stream.py:372
Outbound network calls
14 callsgateway/stackchan_mcp/audio_stream.py:317, gateway/stackchan_mcp/gbot_brain.py:160, gateway/stackchan_mcp/gbot_voice_bridge.py:591
Writes or deletes files
8 callsgateway/stackchan_mcp/capture_server.py:55, gateway/stackchan_mcp/capture_server.py:68, gateway/stackchan_mcp/touch_bridge.py:242
Lockfile
gateway/uv.lock and 3 more

Pattern matches on the source text of 74 files: places to read, not proof of what the code does at run time.

Releases

v0.2.2v0.2.2 · 24 Sep 2026Groki Bot firmware v0.2.2 Firmware for the Groki Bot desktop robot. Each board has its own build, because the PSRAM mode is fixed by the bootloader. What's fixed in v0.2.2 The gateway recovers when Gemini refuses to resume a session.…
v0.2.1v0.2.1 · 23 Sep 2026Groki Bot firmware v0.2.1 Firmware for the Groki Bot desktop robot. Each board has its own build, because the PSRAM mode is fixed by the bootloader. What's new in v0.2.1 Default name Groki. The built-in persona in the gateway and in the…
v0.2.0v0.2.0 · 23 Sep 2026Groki Bot firmware v0.2.0 Firmware for the Groki Bot desktop robot. Each board has its own build, because the PSRAM mode is fixed by the bootloader. Boards M5Stack CoreS3 with a Stack-chan base: `firmware-v0.2.0-cores3.zip` (16 MB flash,…

README

The repository's README runs to about 3.1K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Groki Bot

How do I install Groki Bot?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Groki Bot safe to use with an AI agent?

Its trust score is 71 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 74 source files found that it serves MCP over stdio, starts other programs (14 calls), makes outbound network calls (14 calls) and writes or deletes files (8 calls). Its dependencies are pinned by gateway/uv.lock and 3 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Groki Bot still maintained?

Yes — the latest release is v0.2.2 (24 Sep 2026), and the last commit was 7 days ago. The repository has 242 stars and 16 open issues.

What tools does Groki Bot provide?

Conduid read 27 tools from the source: check_vm_en, clear_leds, get_device_info, get_head_angles, get_state, get_status, get_touch_state, gpio_test and 19 more. 18 of them publish their parameters, listed under Tools above.

What license is Groki Bot released under?

The repository declares the BSL-1.0 license. That applies to the latest release, v0.2.2, as well.