Skip to main content

nightbot-mcp

An MCP (Model Context Protocol) server for Nightbot: manage custom chat commands, timers, regulars, and spam-protection filters — including the blacklist (banned words/phrases for live chat) — through the official Nightbot API.

  • Every mutating tool accepts dry_run=true and returns a preview.
  • add_banned_phrases appends to the blacklist without clobbering it (fetch → merge → update).
  • No secrets in this repo or logged at runtime.

Quick start

  1. Create an app at nightbot.tv/account/applications and generate an access token (scopes: channel commands timers regulars spam_protection channel_send).
  2. Provide the token:
export NIGHTBOT_ACCESS_TOKEN=...     # or NIGHTBOT_MCP_SECRETS=vaultproxy
  1. Add to your MCP client:
# Claude Code
claude mcp add nightbot -s user -- uvx nightbot-mcp

Tools

Area Tools
Channel channel_info, join_channel, part_channel, send_chat_message
Commands list_commands, add_command, update_command, delete_command
Timers list_timers, add_timer, toggle_timer, delete_timer
Regulars list_regulars, add_regular, remove_regular
Spam protection get_spam_filter, update_spam_filter, add_banned_phrases
Meta health_check

Filters: blacklist, links, caps, symbols, repetitions, emotes. Blacklist entries support Nightbot's * wildcards.

Development

pip install -e '.[dev]'
ruff check src tests && pytest

Tests are fully offline (fake HTTP opener).

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nightbot_mcp-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nightbot_mcp-0.1.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file nightbot_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: nightbot_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nightbot_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 97de0450537b0d9e315d593aa1b73ce919350ff009ae5c5914e5650f85dfd3a4
MD5 55b20834644545c3e9f0b3f6ede50bf9
BLAKE2b-256 f515cb31220823ab738b2bb369ca97e2a52ecc249d1751bc3b348931e24e12d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightbot_mcp-0.1.1.tar.gz:

Publisher: publish.yml on aaronckj/nightbot-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nightbot_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nightbot_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for nightbot_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c6d7b2cbe7eda04509a8e36a25e57d3597487d77604f11ef00e830405ebf7c1
MD5 f91dfab9ebac0bbca829aef9c5a2b112
BLAKE2b-256 46b77901e2183ef36566f575fdb857f46f23b09dcabcfcf7bd1113685a5a60cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for nightbot_mcp-0.1.1-py3-none-any.whl:

Publisher: publish.yml on aaronckj/nightbot-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page