@lumiastream/mcp
OfficialAllows triggering Twitch alerts (e.g., follower, donation) and executing Twitch-points and Twitch-extension commands via Lumia Stream.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@lumiastream/mcpset the lights to purple"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@lumiastream/mcp
A Model Context Protocol server for Lumia Stream. It exposes Lumia's local API as MCP tools so an AI assistant (Claude Desktop, Claude Code, Cursor, etc.) can control lights, trigger commands and alerts, run TTS, post to and moderate chat, read live stream state, and react to events in real time.
It is a thin adapter over the local Lumia API (http://localhost:39231/api) plus its event WebSocket — the app does all the real work.
Prerequisites
Node.js ≥ 20
Lumia Stream running on the same machine
The REST API enabled in Lumia: Settings → API (toggle it on and copy the token)
Related MCP server: ha-mcp
Tools
Discover & state
get_settings— commands, alerts, connected lights, studio scenes/themes/animations, TTS voices. Call this first.get_state— snapshot: live status, viewers, follower/subscriber counts, latest names, now-playing song, heart rate.get_variable/get_variables/set_variable— read one or many Lumia variables, or write one.
Lights & studio
set_color— hex, RGB, or color temperature, with brightness/transition/duration.set_studio— trigger a studio scene, theme, or animation.set_lumia_state— start/stop/toggle Lumia, or reset lights to default.
Trigger commands & alerts
trigger_command— chat / chatbot / Twitch-points / Twitch-extension command by name.trigger_alert— simulate a platform alert (e.g.twitch-follower,kofi-donation).
Chat, voice & moderation
send_chat_message— post to chat as the bot or as yourself.speak— text-to-speech through Lumia's engine.shoutout— clip + chat shoutout for a user.moderate_user— ban / unban / timeout / VIP.delete_message— remove a message by id.translate_message— translate and post to chat.
Stream management
set_stream_info— change the stream title and/or category (Twitch, Kick).create_clip— create a Twitch clip; its id/url land in thetwitch_last_clip_*variables.create_stream_marker— mark the current moment of the Twitch broadcast.send_announcement— highlighted Twitch chat announcement.run_commercial— run a Twitch ad break (30–180 seconds).set_chat_mode— toggle Twitch slow / subscriber-only / follower-only / emote-only chat.create_poll/end_poll— start a Twitch poll; end it (archive, or terminate leaving it visible).create_prediction/end_prediction— start a Twitch prediction; resolve it with the winning outcome, or cancel and refund.clear_chat— clear Twitch chat for everyone.pin_message— pin or unpin a Twitch chat message.manage_moderator— grant or revoke Twitch moderator.control_song_request— add/skip/play/pause/remove/clear song requests.get_loyalty_points— read a viewer's loyalty points balance.set_counter— set a counter variable to an exact value.manage_chatbot_command— create/update/delete a chatbot command (unlimited on every plan).
Overlays, session & economy
control_overlay— show/hide overlays and layers, move and resize layers, set content.set_stream_mode— stream mode on/off/toggle.control_queue— pause/resume/clear the queue, clear cooldowns.set_command_state— enable/disable a command or folder.control_fuze— start/stop/toggle Fuze, set audio sensitivity.loyalty_points— add or remove a viewer's loyalty points.
Real-time
get_recent_events— recent live events (chat, follows, subs, bits, raids, donations) since the server started.wait_for_event— block until the next matching event (e.g. the next follower), then react.
Also a lumia://settings resource mirroring get_settings, and prompts (slash-commands in most clients): start_stream, brb, hype, wind_down, thank_new_followers.
Configuration
Environment variables:
Var | Default | Notes |
| — | Required. From Settings → API. |
|
| |
|
| |
|
| Set |
Use with an MCP client
Once published, point your client at it via npx:
{
"mcpServers": {
"lumia-stream": {
"command": "npx",
"args": ["-y", "@lumiastream/mcp"],
"env": {
"LUMIA_TOKEN": "your_token_here"
}
}
}
}Step-by-step instructions for each client (Claude Desktop, Claude Code, Cursor, Codex, VS Code, Windsurf, Gemini CLI) are in the setup guide.
Local development
npm install
npm run buildThen point the client at the built entry:
{
"mcpServers": {
"lumia-stream": {
"command": "node",
"args": ["/absolute/path/to/Lumia-MCP/dist/index.js"],
"env": {
"LUMIA_TOKEN": "your_token_here"
}
}
}
}Verify
npm run smoke builds nothing but connects to dist/index.js over stdio, lists the tools/resources, and calls get_settings. With a real token it returns live settings; without one it exercises the auth/error path:
npm run build
LUMIA_TOKEN=your_token_here npm run smokeAdding a tool
Each type in the Lumia Send API maps to a tool. To add one:
Create
src/tools/<name>.tsexportingregister<Name>(server, client)— copy an existing file.Define the
inputSchema(zod) and map inputs toclient.send('<type>', params).Register it in
src/tools/index.ts.
Remember the Lumia param convention: params.value is the target/name and params.message is the content/payload.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lumiastream/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server