Hibira
Hibira v0.8.0
Realtime channels and push
From the developer
Declared capabilities
- Read apps and usage
- Create and update apps
- Send test events
Cost & access
This plugin does not sell products or take payments in ChatGPT. Hibira plans are managed on hibira.io.
Declared limitations
- Account deletion is not offered by the plugin; it should point to the console instead of acting
- Tools never return app secrets; it should say secrets are shown once and can be rotated in the console
- Unrelated request; the Hibira tools should not be called
Onboarding example
Add live order updates to this app with Hibira.
Sources & dates
Developer declarations; not independently tested. Listing last checked Dec 1, 2026. Package observed Nov 30, 2026.
Description
From the marketplace listing
Hibira is hosted realtime for websites and apps: Pusher-compatible WebSocket channels, push notifications for iOS, Android and browsers, human approvals and virtual waiting rooms. Connect your Hibira account to list and create apps, get the setup guide for your stack with your app's values filled in, send a test event and watch it arrive, check usage, ask a person to approve a step, and run a waiting room for a ticket drop or flash sale. Skills cover adding live updates to a project, moving from Pusher and wiring push notifications. Hibira asks before creating apps, sending push notifications to real devices or changing a waiting room that people are in. Sign in with your Hibira account.
Language: English · Automatically detected from descriptions.
Changes
No changes recorded yet. Follow this plugin to keep track of future changes.
First seen Nov 24, 2026. Last seen Dec 1, 2026.
Similar plugins
Finding similar plugins… Results will appear here automatically.
Browse plugins →Keywords
Files & skills
File archives
Skill instructions
agent-approvals2.44 KB
---
name: agent-approvals
description: Ask a person to approve an AI agent's or workflow's action through Hibira, either with the MCP request_approval tool, the signed approvals HTTP API, or the @hibira-io/approvals live inbox. Use for human-in-the-loop flows, tool-call approval, refunds, deploys or anything an agent should not do alone.
---
# Human approvals with Hibira
Three ways in, sharing one protocol (Hibira approvals protocol v1), so an inbox can show requests from all of them.
## 1. Right now, from this agent: MCP tools
`request_approval` with a title (at most 200 characters), optional details, 2 to 4 options (the first one means approved), an expiry, and optionally a channel and push interests. It returns a hosted link `https://hibira.io/approve/...`; anyone with the link can answer, and the first answer wins. Give the link to the user (or let the push notification carry it), then call `get_approval`, which waits up to 25 seconds per call, until the status is `approved`, `rejected` or `expired`. Do not take the action unless the status is `approved`.
## 2. From a server or workflow: approvals HTTP API
`POST /apps/APP_ID/approvals` and `GET /apps/APP_ID/approvals/{id}?wait=25`, signed with the app key and secret exactly like `POST /apps/APP_ID/events` (Pusher `auth_signature`, `body_md5`). Same fields and hosted page as the MCP tool. This is what the n8n, Make, Activepieces and Node-RED integrations use.
## 3. In the product: `@hibira-io/approvals`
```sh
npm install @hibira-io/approvals pusher pusher-js
```
A live inbox for reviewers (React and Vue components, 7 languages, light and dark) plus server helpers for the Vercel AI SDK (`needsApproval`), Mastra (`requireApproval`, `suspend()`) and LangGraph (`interrupt()`). The agent run stops on a tool call, `approvals.request({ calls })` opens a request, reviewers get an `approval` event on `private-hibira-approvals.{scope}.inbox`, decide (approve, edit the input, or reject with a reason), and the run resumes. The event carries no tool input, so nothing sensitive crosses the socket. The inbox calls your backend routes, never client events. Laravel/Filament projects use `hibira-io/filament-approvals`; Python uses the package's `python/` folder (LangGraph + FastAPI).
## Rules
- Authorize `private-hibira-approvals.*` in your auth route so only reviewers can subscribe.
- Treat expiry and rejection as final; do not re-ask in a loop.
- New requests are limited to about 1 per second per account.
ai-streaming2.46 KB
---
name: ai-streaming
description: Stream Vercel AI SDK chat answers over Hibira channels with @hibira-io/ai-sdk so they survive reloads and dropped connections and reach every tab. Use when building a useChat UI, resumable AI chat, background generation, or streaming an agent's progress to a page.
---
# Streaming AI answers over Hibira
`@hibira-io/ai-sdk` is a `ChatTransport` for the Vercel AI SDK (versions 5, 6 and 7; v7 needs Node 22+). The API route answers at once, generation runs in the background, and chunks travel over a private Hibira channel. Any `useChat` works (React, Vue, Svelte, Angular).
What it gives: answers survive dropped connections, `useChat({ resume: true })` picks up an answer still being written after a reload (no Redis or stream store), and every tab subscribed to the chat sees it. Resume needs **channel history**, on Hobby plans and up, turned on in the app's settings.
```sh
npm install @hibira-io/ai-sdk pusher-js pusher
```
## Client
```tsx
'use client';
import { useChat } from '@ai-sdk/react';
import Pusher from 'pusher-js';
import { HibiraChatTransport } from '@hibira-io/ai-sdk';
const pusher = new Pusher(process.env.NEXT_PUBLIC_HIBIRA_KEY!, {
cluster: 'hkg',
wsHost: 'ws.hibira.io',
forceTLS: true,
channelAuthorization: { endpoint: '/api/hibira/auth', transport: 'ajax' },
});
const transport = new HibiraChatTransport({ pusher, api: '/api/chat' });
const { messages, sendMessage, status } = useChat({ id, messages: initialMessages, transport, resume: true });
```
The transport subscribes to `private-ai-chat-{chatId}` (override with `channel: (chatId) => ...`). Laravel Echo users pass `echo.connector.pusher`.
## Server
In the chat route, start `streamText` and hand its UI message stream to `publishUIMessageStream` from `@hibira-io/ai-sdk/server` with a server-side `pusher` client; in Next.js wrap the work in `after()` so the route returns at once. Read the package README for the exact signature of the installed version rather than guessing.
## Rules
- Add an auth route (`/api/hibira/auth`) that checks the user owns the chat before signing `private-ai-chat-{chatId}`; otherwise anyone could read another user's answers.
- The app secret stays on the server.
- For plain agent progress (not `useChat`), publish small events with the server SDK or the MCP tool `publish_event`; keep each event small (the payload limit is 4 KB on Free and 10 KB or more on paid plans).
- For tool calls that need a person's OK, see the `agent-approvals` skill.
chat-api4.14 KB
---
name: chat-api
description: Add in-app chat with stored history using the Hibira Chat API (beta). Use when building one-to-one or group messaging, support chat, unread counts, read receipts, typing indicators or push for offline users on top of Hibira, or when testing conversations with the MCP chat tools.
---
# Hibira Chat API
The Chat API stores conversations and messages and delivers them over the app's existing Hibira connection. **Your server** creates conversations, chooses members and sends messages on users' behalf; **clients** only connect, call `pusher.signin()` and listen on their user channel. Full reference: https://hibira.io/chat-api (Markdown copy: https://hibira.io/chat-api.md).
## Check access first
The API is in beta per account. A call to an app without it answers `403 the Chat API is not enabled for this app`. With the MCP server connected, `create_conversation` says so directly and gives the waitlist link (https://hibira.io/chat). Tell the user instead of working around it.
## Server side
Base URL `https://<app host>/apps/<APP_ID>/chat`, JSON bodies, signed exactly like the Pusher HTTP API (`auth_key`, `auth_timestamp`, `auth_version=1.0`, `body_md5`, `auth_signature` = HMAC-SHA256 of `METHOD\nPATH\nsorted query` with the app secret). Pusher server libraries only sign GET/POST to fixed paths, so write a small signer (the reference has a complete Node.js one) and keep the secret on the server.
| Need | Request |
|---|---|
| Create or replace a conversation | `PUT /conversations/{id}` with `name`, `members`, `metadata`, `roles` |
| Add / remove a member | `POST /conversations/{id}/members` `{user_ids}` / `DELETE /conversations/{id}/members/{user_id}` |
| Send as a user | `POST /conversations/{id}/messages` with `user_id` (a member), `text`, optional `name`, `metadata`, `push` |
| Catch up | `GET /conversations/{id}/messages?after=<seq>` or `?last=50` |
| Mark read | `POST /conversations/{id}/read` `{user_id, seq}` |
| Inbox with unread counts | `GET /users/{user_id}/conversations` |
| Token for a browser to call `/chat/me/...` itself | `POST /tokens` `{user_id, conversation_id?, join?, ttl?}` |
Conversation IDs are yours (1–128 of `A-Z a-z 0-9 _ - = @ , . ;`), such as `order-1042`. Use the same user IDs as `pusher.signin`. Max 100 members, 4,000-character text, 4 KB metadata.
## Client side
```js
const pusher = new Pusher(KEY, { cluster, wsHost, userAuthentication: { endpoint: '/pusher/user-auth' } });
pusher.signin();
pusher.user.bind('chat.message', ({ conversation_id, message }) => render(conversation_id, message));
pusher.user.bind('chat.read', ({ conversation_id, user_id, read_seq }) => markRead(conversation_id, user_id, read_seq));
```
Other events: `chat.conversation`, `chat.message_updated` (edit, delete, reaction), `chat.typing`, `chat.left`, `chat.deleted`. On reconnect, read `after` the last `seq` you have, and re-read the shown messages with `last=n` to pick up edits. For a ready React or plain JS view, use `@hibira-io/chat-ui` (https://hibira.io/guides/chat-ui).
## With the MCP server
| Tool | Scope | Use |
|---|---|---|
| `create_conversation` | write | Create a test conversation with members |
| `send_message` | write | Send as a member; members get `chat.message` live |
| `list_conversations` | read | A user's conversations with `unread` |
| `list_messages` | read | Newest messages, or those after a seq |
Typical check after wiring a project: `create_conversation` with two test users, open the app signed in as one, `send_message` as the other, confirm the message appears and `list_conversations` shows `unread: 1`, then mark it read from the app.
## Rules
- **Ask before writing to a production app.** Messages are delivered to real users and pushed to their phones (`push: "offline"` is the default; pass `push: "never"` for tests).
- **Monthly active users are billed.** A user who sends or marks read counts for the month (500 free per account). Use a few fixed test user IDs, Preview of the first 4,000 characters. Read full instructions →
get-started2.59 KB
--- name: get-started description: First-run setup for Hibira. Use right after the plugin is installed, or when the user asks how to start with Hibira: sign in to the Hibira MCP server, pick or create an app, and send a first test event so they see realtime working. --- # Get started with Hibira Hibira is hosted realtime for apps: Pusher-compatible WebSocket channels, push notifications, human approvals and virtual waiting rooms. This skill takes a new user from "installed" to "first event delivered" in a few minutes. ## 1. Sign in The `hibira` MCP server signs in with OAuth. The first Hibira tool call opens a Hibira consent page, where the user signs in (or creates a free account at https://hibira.io) and chooses read only or read and write access, and which apps the agent may use. Never ask for a password, key or token in chat. Call `get_account` to confirm the connection. Tell the user their plan and how many apps they have. ## 2. Pick an app Call `list_apps`. - One or more apps: ask which one to use, or pick the only one. - No apps: offer to create one. Ask for a name, then call `create_app` (needs read and write access). The secret is returned once: if you are working in a project, write it into a git-ignored env file; otherwise tell the user it is shown once and where to find the app in the console. Never repeat the secret in chat. ## 3. Get the setup guide for their stack Ask what they build with (for example Laravel, Next.js, plain JavaScript, Flutter, Swift, Android, Python, Go). Call `get_integration_guide` with that SDK and the app ID. The guide already holds the right host, key and cluster. If you can edit the user's project, follow the guide there; otherwise show the key steps. ## 4. Send a first event Call `send_test_event` on a channel the user's page subscribes to (the guide's example uses one), or on `test-channel` if nothing is wired yet, and say where to see it arrive: their page, or the app's debug console at https://hibira.io/console. If the user has a client connected, `watch_debug_events` for a few seconds to confirm delivery. ## What to suggest next - Live updates, chat, presence or online counts: the `realtime-integration` skill. - Moving from Pusher: the `migrate-from-pusher` skill. - Push notifications: the `push-notifications` skill. - Streaming AI answers or asking a person to approve an agent's action: the `ai-streaming` and `agent-approvals` skills. - A queue for a ticket drop or flash sale: the `waiting-room` skill. Docs: https://hibira.io/guides. Ask before any write on an app that is already in use; see the `hibira-mcp-usage` skill for the safety rules.
hibira-mcp-usage7.19 KB
--- name: hibira-mcp-usage description: How and when to use the Hibira MCP server (hibira.io/mcp) safely. Use when the task needs the user's real Hibira account, such as listing or creating apps, reading usage, sending a test event, watching the debug console, reading channels and presence members, configuring webhooks, rotating an app secret, deleting an app, publishing events, sending push notifications, asking a person for approval running a waiting room or testing Chat API conversations. --- # Using the Hibira MCP server This plugin registers one remote MCP server, `hibira`, at `https://hibira.io/mcp`. It signs in with OAuth: the first call opens a Hibira consent page in the browser, where the user picks read only or read and write and which apps the agent may touch. You never pass a key or token in tool parameters. If the Hibira tools are missing from your tool list, the server is not connected. Ask the user to run `/mcp` and sign in to `hibira`, or add it by hand with `claude mcp add --transport http hibira https://hibira.io/mcp`. Without it, fall back to the other skills and https://hibira.io/guides. ## Tools | Tool | Needs | Use it for | |---|---|---| | `get_account` | read | Plan, account-wide limits, totals and the WebSocket endpoint | | `list_apps` | read | Apps with their IDs, keys, allowed origins and today's usage (never secrets) | | `get_app` | read | One app: host, port, cluster, env variable names, live counters on paid plans | | `get_usage` | read | Daily events and peak connections, for the account or one app | | `get_integration_guide` | read | The setup prompt for one SDK (html, javascript, laravel, php, node, python, go, ruby, java, dotnet, swift, android, flutter, plus push guides) with the app's ID and key filled in | | `watch_debug_events` | read | Listen to an app's debug console for up to 30 seconds | | `get_approval` | read | Status of an approval request, waiting up to 25 seconds | | `create_app` | write | A new app. Returns the secret **once** | | `update_app` | write | Name, allowed origins, client events, enabled | | `send_test_event` | write | Publish one test event (counts toward quota) | | `publish_event` | write | Publish an event to up to 100 channels, for example to stream an agent's progress | | `send_push` | write | A push notification to interests or user IDs through the app's Push instance | | `request_approval` | write | Ask a person to approve something, with a hosted answer link | | `list_waiting_rooms` | read | The app's waiting rooms with live queue counters | | `get_waiting_room` | read | One waiting room's live counters | | `set_waiting_room` | write | Create a waiting room or change its rate, state (open, paused, closed), start time, title, notice or return URLs | | `admit_waiting_room` | write | Let the next N people in now | | `list_channels` | read | Occupied channels right now with subscriber and presence user counts, busiest first (Free plan: busiest 10 only) | | `get_presence_members` | read | Who is in a presence channel: user IDs, `user_info` and the member count | | `get_webhooks` | read | Webhook endpoints, their event types and the latest deliveries (status, error, response) | | `set_webhooks` | write | Replace the webhook endpoint list (send the full list) | | `test_webhook` | write | Send a sample signed webhook to a saved endpoint | | `rotate_app_secret` | write, destructive | A new app secret, returned **once**; the old one keeps working for `grace_minutes` (default 24 hours) | | `delete_app` | write, destructive | Delete an app for good | | `create_conversation` | write | Chat API (beta): create a conversation with members | | `send_message` | write | Chat API: send a message as a member (delivered live and pushed) | | `list_conversations` | read | Chat API: a user's conversations with unread counts | | `list_messages` | read | Chat API: a conversation's newest messages | ## Typical flow: wire Hibira into the current project 1. `list_apps`. If there is no
Preview of the first 4,000 characters. Read full instructions →
migrate-from-pusher2.82 KB
--- name: migrate-from-pusher description: Move an existing Pusher Channels or Pusher Beams integration to Hibira. Use when a project already uses pusher-js, Laravel Echo with the pusher broadcaster, a Pusher server SDK, Beams push notifications, or Pusher webhooks, and the user wants to switch to Hibira. --- # Migrating from Pusher to Hibira Hibira speaks the Pusher Channels protocol and the Pusher Beams v1 API, so a migration is configuration, not a rewrite. Channel names, event names, auth routes, presence data and webhook handlers stay the same. ## Steps 1. **Find every Pusher touch point.** Search for `pusher`, `Pusher(`, `PUSHER_`, `Echo`, `beams`, `PushNotifications`, `X-Pusher-Signature`. List clients (browser, mobile), servers, auth routes, webhook handlers and env files before changing anything. 2. **Get Hibira credentials.** With the MCP server, `list_apps` / `create_app`, then `get_app` for host and cluster. Otherwise the user copies app ID, key and secret from the Hibira portal. 3. **Channels clients**: keep the library, add the host. For pusher-js that is `wsHost`, `wsPort: 443`, `wssPort: 443`, `forceTLS: true`, `enabledTransports: ['ws', 'wss']`, and the Hibira cluster. Laravel Echo takes the same options. Flutter apps on `pusher_channels_flutter` move to the `hibira` Dart package, because the official one cannot change its host. 4. **Channels servers**: keep the SDK, add `host` (and port/TLS where the SDK asks). In Laravel, `composer require hibira-io/laravel` and `php artisan hibira:install` set up the `HIBIRA_*` env; projects that keep the `pusher` broadcaster can instead set `PUSHER_HOST`, `PUSHER_PORT=443`, `PUSHER_SCHEME=https`. 5. **Env**: replace values, keep the variable names the project already uses unless the user wants `HIBIRA_*`. Update `.env.example`. Never commit real secrets. 6. **Allowed origins**: add every site origin (and localhost for dev) to the Hibira app, or browsers are refused. 7. **Webhooks**: register the same URLs in the Hibira app. Signatures use the Hibira app secret, so the existing verification code works once the secret is swapped. 8. **Beams push**: swap the SDKs for the Hibira forks, which keep the Beams API: `@hibira-io/push-web`, `hibira-push-ios` (Swift package `HibiraPush`), `hibira-push-android`, `hibira_push` for Flutter. Upload the APNs key and FCM service account in the portal, then point the server's Beams client at the Hibira instance and host. See the `push-notifications` skill. 9. **Cut over safely**: deploy server and clients reading the new env together, or run a short dual-publish window (publish to both) while old clients age out. ## Verify Publish a test event to a channel a page subscribes to and watch it arrive (MCP `send_test_event` + `watch_debug_events`, or the portal Debug console). Check one private or presence channel so the auth route is exercised.
push-notifications2.47 KB
---
name: push-notifications
description: Send push notifications to iOS, Android and browsers with Hibira Push (Beams-compatible). Use when adding device registration, interests, authenticated users, a service worker for Web Push, or sending notifications from a backend or agent.
---
# Hibira Push
Hibira Push delivers to iOS (APNs), Android (FCM) and browsers (Web Push). It speaks the Pusher Beams v1 HTTP API. Every app gets one push instance when push is enabled on its app page (Push notifications); that page shows the **instance ID** and **secret key** and takes the APNs `.p8` key and the FCM service account.
## Client SDKs
| Platform | Package | Notes |
|---|---|---|
| Web | `npm install @hibira-io/push-web` | Serve `/service-worker.js` at the site root containing `importScripts('https://cdn.jsdelivr.net/npm/@hibira-io/push-web@1/dist/service-worker.js')`. Chrome, Edge, Firefox, Opera, Safari 16.4+ |
| iOS / macOS | Swift package `https://github.com/hibira-io/hibira-push-ios`, product `HibiraPush` | iOS 15+. Enable the Push Notifications capability |
| Android | `hibira-push-android` via JitPack | Still needs a Firebase project and `google-services.json` |
| Flutter | `hibira_push` | |
If the Hibira MCP server is connected, `get_integration_guide` also has the push guides with the app's values filled in.
```js
import { Client } from '@hibira-io/push-web';
const push = new Client({ instanceId: import.meta.env.VITE_HIBIRA_PUSH_INSTANCE });
await push.start();
await push.addDeviceInterest('news');
```
Apps outside the default cluster set the endpoint (`https://ws-<cluster>.hibira.io`) on the client and in the service worker.
## Sending
- From a server: any Beams server SDK pointed at the Hibira host, authenticated with the instance's secret key (server only). Publish to **interests** (topics a device subscribed to) or to **users** (IDs you authenticate with a token from your backend).
- From an agent: the MCP tool `send_push` (interests or user IDs, title, body, optional tap URL). Confirm with the user before sending to real devices.
## Limits
Every plan includes push. The plan caps registered subscribers across all the account's apps and allows subscriber limit × 10 notifications per UTC day (Free: 2,000 subscribers, 20,000 a day). One notification is one device delivery, so an interest with 5,000 devices counts 5,000. Past the cap, publishes answer `429` with `Retry-After` until 00:00 UTC; past the subscriber limit, registration answers `402`. Do not retry these in a loop.
realtime-integration3.98 KB
---
name: realtime-integration
description: Add Hibira realtime channels (WebSockets, Pusher protocol) to a web, mobile or backend project. Use when building live updates, chat, notifications in the page, online counts, presence, collaborative features or dashboards with Hibira, or when choosing between public, private, presence and large presence channels.
---
# Hibira realtime integration
Hibira is a hosted WebSocket service that speaks the **Pusher Channels protocol**. Any Pusher Channels library that lets you set the host works: `pusher-js`, Laravel Echo, and the official server libraries for Node, PHP, Python, Go, Ruby, Java and .NET. You point them at Hibira instead of pusher.com.
## Get the exact setup
If the Hibira MCP server is connected, call `get_integration_guide` for the project's SDK and follow it: it carries the app's real ID, key, host and cluster. Otherwise the guides are at https://hibira.io/guides. Hibira's own packages:
| Stack | Package |
|---|---|
| Any web page, no build step | `<script src="https://hibira.io/embed/v1.js" data-key=... data-host=... async>` |
| Laravel | `composer require hibira-io/laravel` then `php artisan hibira:install` |
| Flutter / Dart | `flutter pub add hibira` (the official pusher_channels_flutter cannot change its host) |
| Large rooms | `@hibira-io/large-presence` |
## Connection settings
Always pass host, port and TLS. The libraries default to pusher.com and silently connect there otherwise.
- Host: `ws.hibira.io` (or the regional host `get_app` reports, `ws-<cluster>.hibira.io`), port 443, TLS on.
- Cluster: the app's cluster (`hkg`, `tyo` or `sin`). Libraries that require a cluster ignore it once the host is set, but still need a value.
```js
import Pusher from 'pusher-js';
const pusher = new Pusher(import.meta.env.VITE_HIBIRA_KEY, {
cluster: 'hkg',
wsHost: 'ws.hibira.io',
wsPort: 443,
wssPort: 443,
forceTLS: true,
enabledTransports: ['ws', 'wss'],
channelAuthorization: { endpoint: '/broadcasting/auth', transport: 'ajax' },
});
```
```js
// server
const Pusher = require('pusher');
const hibira = new Pusher({
appId: process.env.HIBIRA_APP_ID,
key: process.env.HIBIRA_KEY,
secret: process.env.HIBIRA_SECRET,
host: 'ws.hibira.io',
port: '443',
useTLS: true,
});
await hibira.trigger('orders', 'order-shipped', { id: 1024 });
```
## Rules
1. Look at the project first and follow its conventions for config, env variables and where integrations live.
2. One shared client per process (a module, service or provider), not one per request or component.
3. **The app secret stays on the server.** Browser and mobile code only get the key. Never commit real values; add placeholders to `.env.example`.
4. Unsubscribe and unbind when a component or widget is disposed.
5. Pick the channel type:
- `orders`: public, anyone with the key can listen.
- `private-...`: the client asks your backend's auth route, which checks the session and signs with the secret (`pusher.authorizeChannel()`).
- `presence-...`: private plus a member list with user info; fine up to a few hundred members.
- `presence-large-...`: up to 100,000 members; subscribers get a count, a sample and batched deltas once a second. Use `@hibira-io/large-presence` (or `window.Hibira.largePresence` with the embed script).
6. Client events (`client-...`) must be turned on in the app settings and only work on private and presence channels.
7. The browser origin must be in the app's allowed origins, or the connection is refused. Add `http://localhost:<port>` for local development.
8. Channel history (Hobby plan and up, turned on per app) lets a client catch up after a reconnect with `pusher:rewind`.
9. Webhooks are Pusher-compatible (`X-Pusher-Signature`), so `pusher.webhook(request)` and existing handlers work unchanged. Endpoints must be public https.
## Verify
Publish a test event (MCP `send_test_event`, or the Debug console on the app page) on a channel the code subscribes to and watch iPreview of the first 4,000 characters. Read full instructions →
waiting-room5.63 KB
---
name: waiting-room
description: Put a Hibira virtual waiting room (queue) in front of a ticket drop, flash sale, launch or any page that would fall over if everyone arrived at once. Use when the user wants a queue, waiting room, Queue-it alternative, traffic surge or bot-rush protection, or wants to create, open, pause, close (sold out), post a notice on, or let people in from a waiting room.
---
# Hibira waiting room
Visitors who reach a protected page without a pass are sent to a hosted waiting page (`https://ws.hibira.io/wait/APP_KEY/ROOM`, 7 languages). They take a queue number, watch the line move live and are let in at `admit_per_minute`. When their number comes up the page sends them back with `?hibira_pass=...`, a pass signed with the app secret. Your edge or server checks the pass, stores it in a cookie and serves the page. Nothing on the waiting page is yours to build.
Two jobs: **run the room** (create, open, pause, close, admit) and **protect the page** (check the pass). Do both.
## 1. Run the room
### With the Hibira MCP server (preferred)
| Tool | Use it for |
|---|---|
| `list_waiting_rooms` | The app's rooms with live counters (waiting, admitted, rate, state) |
| `get_waiting_room` | One room, for example to watch the queue during a drop |
| `set_waiting_room` | Create a room or change it: `admit_per_minute`, `state` (`open`, `paused`, `closed` = sold out), `starts_at`, `title`, `notice`, `return_urls`, `pass_ttl_seconds` |
| `admit_waiting_room` | Let the next N people in right now (also while paused) |
Rules:
- `return_urls` **must** include the page visitors come back to (same host, path prefix; https, or http for localhost). Otherwise the waiting page refuses to send them there.
- Create a room `paused` (or with `starts_at`) when the sale has not started; numbers are still handed out in arrival order.
- Ask the user before changing a room that has people waiting: pausing stops the line, `closed` refuses new visitors, and a big `admit_waiting_room` count can flood the page you are protecting.
- If these tools are missing, the MCP server is not connected or is older. Use the signed HTTP API instead.
### With the signed HTTP API
Signed exactly like `POST /apps/APP_ID/events`, so any Pusher server library can send it (`pusher.post({ path: '/waiting_rooms/ROOM', body })` in Node):
```
POST /apps/APP_ID/waiting_rooms/ROOM create (admit_per_minute required) or change
GET /apps/APP_ID/waiting_rooms/ROOM live counters
POST /apps/APP_ID/waiting_rooms/ROOM/admit {"count": 500}
POST /apps/APP_ID/waiting_rooms/ROOM/verify {"pass": "..."} -> {"valid": true, ...}
```
`ROOM` is 1 to 64 letters, digits, `-` or `_`. Full reference: https://hibira.io/guides/waiting-room and https://hibira.io/llms-full.txt.
## 2. Protect the page
Look at the project first and pick the matching way in:
| Stack | How |
|---|---|
| Next.js / Vercel middleware, Cloudflare Workers, Deno, Bun | `npm install @hibira-io/waiting-room`, then `protect(request, { appKey, secret, room })` from `@hibira-io/waiting-room/server`; it returns a response to send (redirect or 403) or `null` to continue |
| Express / Node | `expressWaitingRoom({ appKey, secret, room })` from the same package; `req.hibiraPass` holds the pass |
| Laravel, Rails, Django, Spring Boot, .NET, NestJS, Symfony, WordPress, Shopify… | Use Hibira's package for that framework if https://hibira.io/guides/waiting-room lists one; otherwise write a small middleware that does the steps below |
A middleware, in any language:
1. If the request has `?hibira_pass=PASS`, verify it. If valid, set an HttpOnly, Secure, SameSite=Lax cookie `hibira_wr_ROOM` with the pass (expire it at the pass's `exp`) and redirect to the same URL without the parameter.
2. If the cookie holds a valid pass, serve the page.
3. Otherwise redirect GET requests to `https://ws.hibira.io/wait/APP_KEY/ROOM?return=<this URL, urlencoded>` (use the host `get_app` reports when the app is on a regioPreview of the first 4,000 characters. Read full instructions →
Release notes
First ChatGPT release (0.8.0). Connect a Hibira account to list and create apps, get setup guides with your app's values, send test events, read usage, request approvals, send push notifications and run waiting rooms. Includes a get-started skill and skills for live updates, moving from Pusher, push notifications, approvals and waiting rooms.
Declared in the saved package. Remote tools may change independently.
Package details
Publisher declarations from the archived package. These are separate from our research and the live service's terms.
- Package license
- MIT
- Package author
- Hibira
- Keywords
- See keywords
- Declared availability
- No country restrictions declaredDeclared regions; live availability may differ.
- Listing translations
- ja-JP, ko-KR, th-TH, vi-VN, zh-CN, zh-TW
- Getting started skill
- ./skills/get-started/SKILL.md
- Commerce declaration
- Does not support commerceThis does not establish whether access is free or paid.
- Review scenarios
- 5 positive · 3 negativeScenario counts, not test results.
Declared capabilities
- Read apps and usage
- Create and update apps
- Send test events
- Send push notifications
- Request approvals
- Run waiting rooms
Package observed Nov 30, 2026.
Technical details
- First seen
- Nov 24, 2026 · 06:00 UTC
- Last seen
- Dec 1, 2026 · 00:00 UTC
- Collection status
- Collected
plugin_asdk_app_6af301f5f7c08191b8b2f2581e9bb44d
Download plugin data (JSON)Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.