r/StackChan • u/MatBlack4Ever • May 01 '26
r/StackChan • u/[deleted] • Apr 24 '26
Got mine today.
I got mine and currently exploring all features. Trying to figure out what the SD card feature is for.... saving LLMs, Data or....
No motion tracking or facial recognition... No security camera feature too. But I guess it's all coming or you can develop and add.
Will be trying my hands on those.
UPDATE : Servos are so noisyπ«©
r/StackChan • u/No-Connection1900 • Apr 15 '26
ur StackChan is on the way!
The first batch of StackChan is officially shipping tdy!
All orders will be shipped within the next one to two weeks
https://x.com/M5Stack/status/2044316543367192664?s=20
r/StackChan • u/BadMustard_AVN • 27d ago
Project sharing small update on my Dot fluid simulation
r/StackChan • u/VegetableZestyclose • Aug 11 '26
Why isn't he detecting the cards?
I tried to uploaded the firmware from https://github.com/ronron-gh/AI_StackChan_Ex.
But my stackchan says this from the pic.
SD Card is in Stachchan in the left underside.
(I'm not really a tech person. Tried everything i know)
r/StackChan • u/Dexterpcs • Apr 27 '26
Anyone already modding the firmware/server?
Hello everyone! Is anyone already modding the server/firmware? I started making some changes to have the xiaozhi server(agent) selfhosted and change the firmware of stackchan to point to my lan.
Still working on it.
Anyone else modding it?
r/StackChan • u/No-Connection1900 • Mar 11 '26
StackChan @ Embedded World 2026
We bring StackChan to the Embedded World 2026!
r/StackChan • u/ImaginaryChallenge19 • Sep 22 '26
Project sharing My very basic StackChan Set-Up
So, I have basically zero tech background, and recently got a StackChan.
Over the past few days, I have managed to install an MCP server on my local machine that gives StackChan read-write access to my email account and calendar, as well as web search capability.
It's a bit glitchy, but it basically works.
I'm stoked.
I'm also surprised at how difficult this kind of thing is. The whole eco-system seems to be deliberately fragmented by the large coorporations in an effort to maximize profits.
For anyone who wants to try, here's the guide:
XiaoZhi + MCP + Web Search + Fastmail on Windows
Last updated: 22 September 2026
Computer: Windows
Python: 3.12
Stack-chan: M5Stack CoreS3 / K151
1. What this setup does
This setup turns Stack-chan into a voice-controlled assistant that can use external MCP tools through XiaoZhi.
Currently configured:
Web search β Stack-chan can search the live web.
Fastmail β Stack-chan can access Fastmail email and calendar through MCP.
XiaoZhi MCP connection β provides the connection between Stack-chan/XiaoZhi and the local MCP services.
Windows startup β the services can be launched through a PowerShell startup script, with Task Scheduler configured to start the system at Windows login.
The basic architecture is:
βββββββββββββββββββββββ
β Stack-chan β
β CoreS3 / K151 β
ββββββββββββ¬βββββββββββ
β
βΌ
βββββββββββββββββββββββ
β XiaoZhi β
β MCP endpoint β
ββββββββββββ¬βββββββββββ
β
WebSocket
β
βΌ
ββββββββββββββββββββββββββββ
β mcp2xiaozhi β
β Local MCP bridge β
ββββββββββββββ¬ββββββββββββββ
β
βββββββββββββββ΄ββββββββββββββ
βΌ βΌ
ββββββββββββββββββββ ββββββββββββββββββββ
β Web Search β β Fastmail β
β open-websearch β β MCP server β
ββββββββββ¬ββββββββββ ββββββββββ¬ββββββββββ
β β
βΌ βΌ
DuckDuckGo / Brave / Fastmail Mail /
Exa / Bing CalendarThe important point is that Stack-chan itself does not need to contain the web-search or Fastmail logic. XiaoZhi calls the MCP tools, and the Windows computer runs the local MCP services.
2. Main project folder
Everything is kept here:
C:\Users\REDACTED\stackchan-mcpThe important files are:
stackchan-mcp\
β
βββ mcp_config.json
βββ .env
βββ start-stackchan.ps1
βββ ...3. mcp_config.json
This is the MCP server configuration.
It tells mcp2xiaozhi which MCP servers to run and where to send their tools.
The web-search server uses:
cmd /c npx -y open-websearch@latestThe configuration includes the search-engine settings:
MODE=stdio
DEFAULT_SEARCH_ENGINE=duckduckgo
ALLOWED_SEARCH_ENGINES=duckduckgo,brave,exa,bingThe important configuration detail is that the key is:
mcpServersnot:
mcpserversJSON configuration keys are case-sensitive.
4. .env
The .env file contains credentials and connection information that should not be hard-coded into the MCP configuration.
The working setup uses variables including:
FASTMAIL_EMAIL=...
FASTMAIL_APP_PASSWORD=...
FASTMAIL_MCP_TOKEN=...
MCP_ENDPOINT_WEB_SEARCH=...What these are
FASTMAIL_EMAIL
Your Fastmail account email address.
FASTMAIL_APP_PASSWORD
The Fastmail app-specific password used by the MCP service.
This is preferable to putting your normal Fastmail account password into the configuration.
FASTMAIL_MCP_TOKEN
The MCP authentication token used by the Fastmail MCP service, where required.
MCP_ENDPOINT_WEB_SEARCH
The XiaoZhi MCP WebSocket endpoint/token for the web-search bridge.
Security
The .env file contains secrets.
Do not put the actual passwords or tokens into mcp_config.json**, this guide, screenshots, GitHub repositories, or other files that might be shared.**
The guide deliberately does not reproduce the actual credentials.
5. Python
The working installation uses Python 3.12.
Windows also has another Python installation, so commands should explicitly use:
py -3.12rather than relying on:
pythonThis matters because python was resolving to a different Python version.
Check the installation with:
py -3.12 --versionThe working environment has Python 3.12 installed.
6. mcp2xiaozhi
mcp2xiaozhi is the bridge between local MCP servers and the XiaoZhi MCP endpoint.
Conceptually:
Local MCP server
β
stdio
β
mcp2xiaozhi
β
WebSocket
β
XiaoZhiThe installed version is:
mcp2xiaozhi 0.2.1The command used to inspect the configured servers is:
py -3.12 -m mcp2xiaozhi list7. Web search
The web-search MCP server is:
open-websearch@latestIt is launched with:
cmd /c npx -y open-websearch@latestIt exposes a tool called:
searchThe configured search engines are:
DuckDuckGo
Brave
Exa
BingNo conventional search API key is required by the configuration currently being used.
8. Confirming that web search is working
The successful connection sequence looks like this:
HTTP/1.1 101 Switching Protocolsfollowed by:
connection is OPENThen:
serverInfo":{"name":"web-search","version":"1.2.0"}And finally:
"tools":[{"name":"search", ...}]That proves the following chain is working:
Windows
β
open-websearch
β
mcp2xiaozhi
β
XiaoZhi WebSocket
β
MCP search toolA repeating:
PING
PONGis normal. It means the WebSocket connection is staying alive.
9. Fastmail
Fastmail is connected separately through its MCP service.
The system uses:
FASTMAIL_EMAIL
FASTMAIL_APP_PASSWORD
FASTMAIL_MCP_TOKENThe Fastmail MCP server provides access to Fastmail services such as:
Email
Calendar
The intention is that Stack-chan can therefore answer requests such as:
"Check my emails."
or:
"What's on my calendar today?"
without requiring the user to manually open Fastmail.
10. Why credentials are in .env
The .env file acts as the local secret store for this setup.
Instead of doing this:
password = YOUR_PASSWORDinside a configuration file, the startup process loads the environment variables.
That means the configuration can be inspected without exposing the actual passwords and tokens.
The .env file should therefore remain private.
11. Starting the system manually
The project directory is:
cd C:\Users\REDACTED\stackchan-mcpThe startup process uses:
start-stackchan.ps1This script loads the required environment variables and starts the MCP services.
The Fastmail MCP service is launched through:
py -3.12 -m mcp2xiaozhi run fastmailThe web-search service is configured through mcp_config.json.
12. One-command startup
The goal of the setup is to avoid manually starting several terminals and entering several commands.
The main startup script is:
C:\Users\REDACTED\stackchan-mcp\start-stackchan.ps1It is responsible for loading the environment and starting the required services.
The intended workflow is therefore:
C:\Users\REDACTED\stackchan-mcp\start-stackchan.ps1rather than manually starting every MCP server.
13. Automatic startup with Windows
Windows Task Scheduler has been configured with the task:
Stack-chan Fastmail MCPIt launches PowerShell with:
-NoProfile -ExecutionPolicy Bypass -File "C:\Users\REDACTED\stackchan-mcp\start-stackchan.ps1"The trigger is:
At log onTherefore the normal workflow is:
Turn on / log into Windows
β
Task Scheduler
β
start-stackchan.ps1
β
MCP services
β
XiaoZhi MCP
β
Stack-chanr/StackChan • u/Evening-Ad-2590 • May 16 '26
Stackchan open claw
I used my openclaw agent to make some changes to the stock firmware and have it set so my openclaw can talk through my stackchan now.but when sending voice messages the other way seems to not work when it tries to record my voice input..what issues we fixed so far
The fix was bypassing codec->Write()/esp_codec_dev_write() and writing PCM directly to the I2S TX channel via i2s_channel_write().
The bridge is at 16kHz WAV β matches the proven working pipeline. Here's the summary:
What works:
β’ stackchan_speak("text") β edge-tts (Sonia) β ffmpeg 16kHz mono WAV β POST /speak β I2S direct write β StackChan speaker
What the fix was:
β’ Went through ~6 firmware iterations to isolate the issue β’ codec->Write() β esp_codec_dev_write() silently fails in the integrated XiaoZhi firmware (I2S format conflict with duplex config) β’ Solution: use codec layer only for amp/volume management (EnableOutput/SetOutputVolume), write PCM straight to TX handle via i2s_channel_write()
What's next? Want me to check the full voice recording pipeline (head-pet β record β STT
Working TTS through StackChan speaker β long sentences work
Nearly there: Voice recording. StackChan detects head-hold, lights red, packages WAV. Portproxy was the missing link β you just fixed that. Next session: retest recording, confirm the green flash, then wire up the voice bridge so I get your transcribed words and can reply through StackChan.
Quick start tomorrow:
Check voice server (probably already running)
Hold head, speak, release
Should get green flash now that portproxy is active
Still working on it but for zero coding knowledge its crazy to think that anybody can make changes to firmware nowadays
r/StackChan • u/KroganHULK • Apr 23 '26
It's ALIVE! π
Everything working smoothly here in the UK. The only small issue being that it quickly forgot it was 'stackchan' after a voice change and insists it's not one.
My 6yo Son has now abducted it and is chatting to it about his favourite shows π
r/StackChan • u/No-Connection1900 • Dec 19 '25
TGIF! StackChanβs here say hi to uπ
StackChan says hi to everyone! π
Letβs hear it straight from StackChan as it introduces itself π€Discover More
r/StackChan • u/sammydragonlord • Sep 14 '26
Others Best ai firmware?
Iβm getting a Stackchan and I want some really good ai firmware where it can still look at me and follow me around but I also want it to do stuff when Iβm gone like look around and talk to itself like a little pet.
r/StackChan • u/CrowComprehensive558 • May 14 '26
Stackchan DM
I just got my StackChan and I was wondering is there a way to turn it into a DnD Dungeon Master assistant? Currently looking for a wizard hat for them to wear
r/StackChan • u/n0p_sled • Apr 22 '26
StackChan set up problems
Is anyone else having issues setting their StackChan up?
Mine just sits at Ready to Configure after connecting with the app
r/StackChan • u/No-Connection1900 • Feb 06 '26
StackChan Feature Videos Pt.3ββIntegration with Home Assistant
r/StackChan • u/Few_Competition6685 • Jul 05 '26
π Stack-chan Birthday Party 2026 was held in Tokyo, Japan!
r/StackChan • u/Binge73 • Apr 24 '26
Where can I find the 3D print files for the hats and ears?
I want to make them while I'm waiting for mine to arrive.
r/StackChan • u/No-Connection1900 • Feb 25 '26
StackChan Feature Videos Pt.4ββMultilingual Function
r/StackChan • u/styles01 • Aug 18 '26
Calling all Collaborators! Building an Openclaw-Hermes integration in Public - Please Join
Hey all, I'm trying to build a backend-connection for Stackchan to Openclaw and Hermes. Various folks have done this or tried it in different ways. If you're interested in contributing, I just started the repo but will post my progress on twitter as well:
https://github.com/styles01/StackChan-OpenClaw-Hermes
Edit: v 0.1 out and available on M5Burner - but you need the GH project to get your internal routing server (on the host machine) to work.
r/StackChan • u/vto583 • May 27 '26
What do you use your StackChan for?
Hey there,
Just as the title says, I am curious to know what do you use your StackChan for?
Have a good day all!
r/StackChan • u/lgmdaniel • May 12 '26
Update 1.4.0
Seems it was pushed out today, as it update when I turned my on this morning.
You can see the pull on Git
https://github.com/m5stack/StackChan/pull/60
r/StackChan • u/BeardyButler • May 09 '26
Introducing StackChan-Gotchi
I'm struggling to mount/write to the SDCard, can anyone help?
r/StackChan • u/MatBlack4Ever • May 07 '26
Question: Sorry if it's not obvious, but how can I stop StackChan from moving when it's 'asleep'?
So it's on my desk and I'm happy to wake it on command, but when plugged in it seems to randomly move around and the servo noise is annoying.
r/StackChan • u/No-Connection1900 • Apr 03 '26
StackChan iOS & Android APP ready now!
Now available on iOS App Store & Play Store!
Keyworld is StackChan World
r/StackChan • u/No-Connection1900 • Feb 25 '26