This project allows to launch Alexa on any Linux devices, even on embedded devices like Raspberry Pi (with usb headset).
http://alexa.local:3000/authresponse to Allowed Return URLs and http://alexa.local:3000 to Allowed Origins
Note this step can be skipped if you already have device profile credentials.sudo apt install python3-pip git ffmpeg swig libportaudio2 portaudio19-dev libpulse-dev
sudo pip3 install requests 'git+https://github.com/moaxey/python-zeroconf' pocketsphinx pyaudio
Note 'libpulse-dev' should be installed only for PulseAudio based devices. 'pyaduio', 'libportaudio2' and 'portaudio19-dev' should be installed on other devices, for example alsa capable. * Make sure your system has PulseAudio support. * Run
python3 alexa.py
App can be built as snap package.
Install pulseaudio snap before installing this:
sudo snap install --devmode pulseaudio
Now build and install:
cd snap
snacraft
sudo snap install --devmode alexa_1.0_amd64.snap
Note if you modified snap to used for alsa based devices, then additionally call this line sudo snap connect alexa:alsa :alsa.
Python Alexa Voice Service - https://github.com/nicholasjconn/python-alexa-voice-service
$ claude mcp add AlexaDevice \
-- python -m otcore.mcp_server <graph>