How to connect StreamElements to Claude Code, ChatGPT and any AI agent
Yes, Claude, ChatGPT and other AI agents can work in your StreamElements account. StreamElements has an AI chatbot variable, $(ai), but it runs inside your stream chat, not as an app in ChatGPT or Claude. Cotlet.dev connects your own signed-in StreamElements account to any AI agent, so you can ask in plain words and the AI lists and edits your chat commands for you.
What you can ask
List all my StreamElements chat commands with their cooldown and user level, sorted by name.
Change the !discord command to reply "Join the crew: discord.gg/pixelpals" and set the cooldown to 30 seconds.
Update !schedule to say I stream Monday, Wednesday and Friday at 7 pm CET.
Which of my commands are disabled? Turn !giveaway and !merch back on.
Rename !socials to !links and add my new TikTok handle @pixelpals to the reply.
Connect in 2 minutes
Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.
Claude Code
claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"
ChatGPT
Settings → Apps → add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.
Cursor
Copy .cursor/mcp.json from this repo into your project:
{
"mcpServers": {
"cotlet": {
"url": "https://cotlet.dev/mcp/v1",
"headers": {
"Authorization": "Bearer ${COTLET_API_KEY}"
}
}
}
}
Run it locally (stdio)
This repo is a real MCP server. It speaks MCP over stdio, lists its StreamElements tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.
{"mcpServers":{"streamelements":{"command":"uvx","args":["streamelements-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}
Or with Docker:
docker build -t streamelements-mcp .
docker run -i --rm -e COTLET_API_KEY streamelements-mcp
Tools: streamelements_guide, streamelements_status, streamelements_open, streamelements_read, streamelements_click, streamelements_type, streamelements_close. Without COTLET_API_KEY a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".
Command line
Python 3.10+, nothing else to install. From PyPI:
pip install streamelements-mcp # or run it once: uvx streamelements-mcp connect
streamelements-mcp connect
Or straight from this repo:
export COTLET_API_KEY="your-key"
python3 streamelements_agent.py connect # ready config for Claude Code, Cursor, ChatGPT
python3 streamelements_agent.py status # is StreamElements ready in your Cotlet.dev account
python3 streamelements_agent.py guide # StreamElements screens and sign-in link
python3 streamelements_agent.py read # open StreamElements, read the page, close the browser
python3 streamelements_agent.py tools # list Cotlet.dev tools
python3 streamelements_agent.py serve # start the stdio MCP server (same as no argument)
Questions from StreamElements users
Is there StreamElements API documentation I need to use first?
You don't need to work with any StreamElements API. Cotlet.dev works in your own signed-in StreamElements account, so your AI agent can list and edit chat commands without code, tokens or API setup.
How do I connect StreamElements to ChatGPT?
Add Cotlet.dev as an app in ChatGPT (Settings → Apps, connector URL https://cotlet.dev/mcp/v1), sign in to StreamElements once in your Cotlet.dev Cloud Browser, and ask ChatGPT in plain words. No code and no StreamElements API key.
Is there a way to use Claude with StreamElements?
Yes. In Claude Code run the one-line claude mcp add command above; in the Claude app add https://cotlet.dev/mcp/v1 as a custom connector. Claude then works in your own StreamElements account.
Is there a StreamElements MCP server?
Cotlet.dev is a hosted MCP server that works in StreamElements for you, 24/7, with Claude, ChatGPT, Cursor, Codex, n8n, Make and Zapier.
Does StreamElements have a ChatGPT chatbot built in?
StreamElements has an AI chatbot variable, $(ai) (alias $(chatgpt)), that answers viewers inside your stream chat. To have ChatGPT or Claude manage your StreamElements commands for you, connect them with Cotlet.dev.
Find it on
- StreamElements on Cotlet.dev
- PyPI package streamelements-mcp
- Step-by-step guide (PDF) on Internet Archive
Also works with
- Mangomint MCP
- Wanderlog MCP
- SmugMug MCP
- Garmin Connect MCP
- Housecall Pro MCP
- Medium MCP
- Crexi MCP
- DistroKid MCP
- LinkedIn MCP
- EstimateOne MCP
- Google Search Console MCP
- Lichess MCP
- Strava MCP
- Meetup MCP
- AccuRanker MCP
- GetYourGuide MCP
- Idealista MCP
- Riverside MCP
- Udemy MCP
- Faire MCP
- Teachable MCP
- Vagaro MCP
- Buildertrend MCP
- Zoopla MCP
- Dribbble MCP
- Hostelworld MCP
- Mashvisor MCP
- Rent Manager MCP
- ThriveCart MCP
- All apps connected through Cotlet.dev
Start free: https://cotlet.dev/signup?app=streamelements&utm_source=github&utm_medium=readme&utm_campaign=streamelements
Metadata
Release files for streamelements-mcp 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamelements_mcp-1.1.0.tar.gz | 8.9 kB | Without provenance | Details for streamelements_mcp-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamelements_mcp-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for streamelements_mcp-1.1.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / streamelements_mcp-1.1.0.tar.gz
| Download URL | streamelements_mcp-1.1.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6e5efc36cb69ddc455555dff559b0a50293f6df5890737b5c2adaa3f671bb72
|
|
BLAKE2b-256 checksum How to use checksums |
7ec518b22edb554f2fa1e233b296799856d2a05fccd52605d8f43470a3c9cfe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / streamelements_mcp-1.1.0-py3-none-any.whl
| Download URL | streamelements_mcp-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57a9cec2403305205dbc0b51d15b6be16e53ec3e3d8b8559a2c75a317b08b087
|
|
BLAKE2b-256 checksum How to use checksums |
fbca6a8ca9a2cda2c51a22261d4571ff400f3dd3c1d69949365babea271e7286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for streamelements-mcp 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.