mcpField
S
StreamElements MCP Server and API by Cotlet

StreamElements MCP Server and API by Cotlet

Remote
cotlet.devSocial Media0Updated 2d ago

About StreamElements MCP Server and API by Cotlet

Cotlet.dev’s hosted MCP server and local stdio wrapper let streamers manage chat commands in their signed-in StreamElements account through AI agents. It supports command inspection and editing, with CLI setup and status checks.

Key features

  1. 01List chat commands and settings
  2. 02Edit, rename, and enable commands
  3. 03Connect a signed-in StreamElements account
  4. 04Hosted and local stdio access
  5. 05CLI connection and status checks

Use cases

  1. 01Check command cooldowns and user levels
  2. 02Change the !discord reply and cooldown
  3. 03Re-enable disabled chat commands

MCP support

Connect through the hosted MCP endpoint at https://cotlet.dev/mcp/v1, or run the local stdio server, which exposes StreamElements tools and forwards calls to Cotlet.dev.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://cotlet.dev/mcp/v1/streamelements/connect
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://cotlet.dev/mcp/v1/streamelements/connect
Streamable HTTPhttps://cotlet.dev/mcp/v1/streamelementsAuth required

Tools

Details

From the project README

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

Also works with


More: https://cotlet.dev/integrations/streamelements-api-mcp-server?utm_source=github&utm_medium=readme&utm_campaign=streamelements

Start free: https://cotlet.dev/signup?app=streamelements&utm_source=github&utm_medium=readme&utm_campaign=streamelements

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.