owncast
Click on "Deploy 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., "@owncast Is my stream live right now? Show the current viewer count and recent chat messages."
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.
owncast
MCP connector for a self-hosted Owncast 0.3.0 server. It speaks the HTTP API over stdio and over stateless Streamable HTTP on localhost.
Owncast is MIT software. This connector does not copy that code. It only calls the HTTP API on the server you configure. It is not affiliated with Owncast.
owncast.routes.json maps every operation in Owncast 0.3.0 openapi.yaml. scripts/gen-operations.mjs writes src/operations.ts from that table. Do not edit src/operations.ts by hand. The spec lists 239 operations. 117 are tools. 122 are excluded (CORS OPTIONS, browser IndieAuth and Fediverse OTP, player metrics, Prometheus proxy, multipart uploads, and the public-page remote follow form).
OWNCAST_URL is required. There is no default origin.
Setup
npm install
npm run ci
npm start
npm run start:httpnpm start speaks stdio. npm run start:http serves Streamable HTTP at http://127.0.0.1:3000/mcp and GET /health. HTTP mode has no authentication of its own. Keep it on localhost.
{
"mcpServers": {
"owncast": {
"command": "node",
"args": ["/workspace/connectors/owncast/dist/index.js"],
"env": {
"OWNCAST_URL": "http://127.0.0.1:8095",
"OWNCAST_ADMIN_PASSWORD": "...",
"OWNCAST_ACCESS_TOKEN": "...",
"OWNCAST_ALLOW_WRITES": "false",
"OWNCAST_TOOLSETS": "status,chat,config"
}
}
}
}You can set OWNCAST_ADMIN_PASSWORD, OWNCAST_ACCESS_TOKEN, or both. Public routes need neither. Admin routes need the password. Integration routes need the access token.
Docker (HTTP, no authentication, keep it on localhost):
docker build -t owncast-mcp .
docker run -p 127.0.0.1:3000:3000 \
-e OWNCAST_URL=http://127.0.0.1:8080 \
-e OWNCAST_ADMIN_PASSWORD=... \
owncast-mcpDo not put passwords or tokens in the image.
Regenerate the registry after an OpenAPI bump.
npm run gen:operationsscripts/live-check.mjs talks to a real server over stdio. It needs OWNCAST_URL and OWNCAST_ADMIN_PASSWORD (or /workspace/tools/owncast/admin.pw). It sets OWNCAST_TOOLSETS=all and unsets DATABASE_URL. Gated writes run only when OWNCAST_ALLOW_WRITES=true. It prints pass or fail lines only.
Related MCP server: forgejo-mcp-rs
Config
Variable | Meaning |
| Required. Origin, |
| Admin password. Sent as HTTP basic auth with user |
| Integration access token. Sent as |
| Must be the literal |
| Comma list of toolsets, or |
| Local request budget. Default 30. Cache hits do not spend it. |
| Upstream timeout. Default 20000. |
| Read cache TTL. Default 60. Writes clear the cache. |
| Contact token in the User-Agent. Must not contain a secret. |
|
|
| HTTP port. Default 3000. |
Invalid values are reported by field name and issue code. The rejected value is not included. Passwords, access tokens, stream keys, webhook secrets, and authorization headers are redacted in logs, errors, tool results, thrown messages, and URLs.
Auth is chosen per route. Public paths send no credentials. /api/admin sends Authorization: Basic for user admin. /api/integrations sends Authorization: Bearer. The connector never puts credentials in the API URL.
Safety
GET is a read. POST, PUT, PATCH, and DELETE are writes.
A write needs confirm: true as a boolean and OWNCAST_ALLOW_WRITES=true. The string "true" is rejected. Otherwise the tool returns a dry-run preview of method, path, query, and redacted body, and it sends nothing. Destructive actions add a warning on the tool and on the preview. That set covers disconnecting the inbound stream, changing stream keys or the admin password, banning or disabling users, and deleting webhooks or access tokens.
Access token create and webhook create return the secret once, with a shown-only-once note. Later list calls redact it. Admin config reads redact streamKeys, key, adminPassword, and webhook secret fields. Error text drops stack traces and filesystem paths.
HTTP 401 is unauthorized. HTTP 403 is forbidden. HTTP 404 is not found. HTTP 400 and 422 are invalid input. HTTP 429 includes Retry-After. Other failures are server, network, or timeout. Response bodies are capped at 1,000,000 bytes.
Tools
Default OWNCAST_TOOLSETS publishes 3 tools. OWNCAST_TOOLSETS=all publishes 7 tools (117 operations, 39 reads and 78 writes). Each tool takes action plus optional params, query, body, and confirm.
action help with optional target returns the path, query, and body fields for one action. Descriptions list action names only, so the tool list stays small.
Toolset | Tool | Operations | Default |
status |
| 10 | yes |
chat |
| 11 | yes |
config |
| 17 | yes |
moderation |
| 13 | no |
config_write |
| 55 | no |
webhooks |
| 6 | no |
ops |
| 5 | no |
owncast_status covers public info (/status, /config, emoji, YP, ping, followers) plus integration status. owncast_chat reads chat and sends integration, system, and action messages. owncast_config is admin reads, including server config with stream keys redacted. owncast_moderation hides or shows messages, bans IPs, and manages moderators. owncast_webhooks covers webhooks and access tokens. owncast_ops disconnects the inbound stream and related server actions.
What this is not
This is not the Owncast web UI, the admin dashboard, or an RTMP ingest. It does not start Owncast. It does not upload logos, favicons, or custom emoji files. It does not proxy Prometheus. It does not complete IndieAuth or Fediverse OTP in a browser.
Compared with other Owncast MCP servers
A GitHub search for owncast mcp and owncast mcp-server on 3 Nov 2026 found no Owncast MCP server.
Nearest alternatives that talk to Owncast, without MCP:
SleepyLili/tlapbot is a Python Flask bot for Owncast channel points and redeems.
glyphscribe/owncastparser is a Home Assistant integration for Owncast status.
owncast/plugin-sdk is the official plugin SDK.
This connector adds confirm-gated writes with dry-run previews, per-route public/admin/integration auth, stream-key redaction, toolset scoping, vitest coverage, and a live check against Owncast 0.3.0.
License
MIT. Owncast itself is also MIT. See owncast/owncast.
Available Tools
3 toolsowncast_chatA
owncast_chat covers the chat toolset (11 operations). Public routes send no auth. /api/admin uses HTTP basic auth as user admin with OWNCAST_ADMIN_PASSWORD. /api/integrations uses Bearer OWNCAST_ACCESS_TOKEN. OWNCAST_URL is required. action help with target returns one action's parameters. Writes need confirm set to the boolean true and OWNCAST_ALLOW_WRITES=true. Omit confirm for a dry-run preview that sends nothing. Actions: external_get_chat_messages, external_get_connected_chat_clients, get_chat_messages, get_chat_messages_admin, get_connected_chat_clients, register_anonymous_chat_user, send_chat_action, send_integration_chat_message, send_system_message, send_system_message_to_connected_client, send_user_message.
Inputs: action (required), body, query, params, +2 more.
owncast_configARead-only
owncast_config covers the config toolset (17 operations). Public routes send no auth. /api/admin uses HTTP basic auth as user admin with OWNCAST_ADMIN_PASSWORD. /api/integrations uses Bearer OWNCAST_ACCESS_TOKEN. OWNCAST_URL is required. action help with target returns one action's parameters. Actions: get_active_viewers, get_admin_federated_servers, get_blocked_and_rejected_followers, get_directory_followers, get_feature_requests, get_federated_actions, get_followers_admin, get_hardware_stats, get_logs, get_pending_follow_requests, get_playback_clients, get_server_config, get_users, get_video_playback_metrics, get_viewers_over_time, get_warnings, status_admin.
Inputs: action (required), body, query, params, +1 more.
owncast_statusARead-only
owncast_status covers the status toolset (10 operations). Public routes send no auth. /api/admin uses HTTP basic auth as user admin with OWNCAST_ADMIN_PASSWORD. /api/integrations uses Bearer OWNCAST_ACCESS_TOKEN. OWNCAST_URL is required. action help with target returns one action's parameters. Actions: external_get_status, get_all_social_platforms, get_custom_emoji_list, get_federated_servers, get_followers, get_status, get_video_stream_output_variants, get_web_config, get_yp_response, ping.
Inputs: action (required), body, query, params, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools split cleanly by domain (config, status, chat), but individual actions overlap across facades: federated servers appear in both config (get_admin_federated_servers) and status (get_federated_servers), followers appear in both (get_followers_admin vs get_followers), and get_server_config/get_web_config/get_status are close in purpose. Because everything is hidden behind a single 'action' parameter, an agent must read the help output to resolve these boundaries rather than inferring from the tool names.
Tool names use a consistent owncast_<domain> prefix, and all actions inside them are consistently snake_case. The only minor inconsistency is that action names mix verb_noun patterns (get_users, send_user_message) with bare nouns/status calls (ping, status_admin).
Three tools is thin for a surface that actually exposes 38 operations, forcing heavy nesting behind a single 'action' parameter. The facade grouping is logical, but agents must discover operations indirectly via 'action help', which makes the small tool count feel under-decomposed rather than well-scoped.
The surface covers status, config, and chat reads plus chat sends, but it is largely read-only where it matters: there is no update/set config action despite a 'config' toolset, no accept/reject for pending follow requests, no block/unblock follower action, and no chat moderation (delete message, ban user). These are notable lifecycle gaps an admin agent would hit.
Maintenance
Related MCP Connectors
Discover MCP servers and A2A agents; verify, message, post, follow, react, and receive webhooks.
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Query, browse, and automate OmegaAI workspaces from any MCP client. Streamable HTTP with OAuth 2.0.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables managing tasks, tags, and user stats on a self-hosted Habitica instance through MCP tools over Streamable HTTP.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to read a Forgejo, Codeberg, or Gitea instance—including users, repositories, issues, pull requests, search, notifications, comments, reviews, and Actions runs—with opt-in, time-boxed guarded writes for repository, branch, issue, pull request, comment, migration, push-mirror, and workflow operations.592MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to manage a self-hosted Zipline instance's files, folders, short URLs, invites, tags, and account or instance information through the official JSON API, with confirmation-gated writes and redacted secrets.6MIT
- AlicenseAqualityBmaintenanceConnects MCP clients to a self-hosted Syncthing instance's GUI REST API for reading configuration, folders, devices, and connections, plus gated write actions like adding or patching folders and devices, scanning, pausing, restarting, and shutting down. Supports stdio and localhost-only Streamable HTTP with API-key auth, dry-run write previews, redaction of secrets, caching, and rate limiting.5MIT