CloudSignal Docs
SDKs

SDKs

Official CloudSignal SDKs for browser, Node.js, and React, plus the CLI for managing access control.

CloudSignal ships official SDKs as @cloudsignal/* packages on npm. Pick the package that matches what you're building. For non-Node clients, any standard MQTT 5 client works against the same broker.

MQTT clients

Connect to the broker, exchange tokens, publish and subscribe.

PackageStabilityWhat it does
@cloudsignal/mqtt-client (repo)StableWebSocket MQTT client for browser and Node.js, with token authentication, automatic reconnection, and platform presets. The default starting point for most apps.
@cloudsignal/agentBetaAgent-to-agent (A2A) messaging primitives over MQTT 5, with a draft protocol spec for inbox, state, and request/response.
@cloudsignal/ai-transportBetaVercel AI SDK transport over MQTT. Drop-in replacement for HTTP streaming with offline recovery and multi-device sync.
@cloudsignal/mcp-over-mqttBetaModel Context Protocol (MCP) over MQTT 5, with broker-enforced ACL per tool.

Install:

npm install @cloudsignal/mqtt-client

Connect from JavaScript or TypeScript with the JavaScript quickstart.

React UI primitives

Drop-in components and hooks for collaborative UIs.

PackageStabilityWhat it does
@cloudsignal/collaborate (repo)BetaCursors, presence, locking, typing indicators, reactions, and shared state for React apps.
@cloudsignal/notifications (repo)BetaReal-time in-app notifications for React with toast display and history.
@cloudsignal/pwa-sdk (repo)StableWeb push notifications, install prompts, device tracking, and offline queue for Progressive Web Apps.

Install whichever you need:

npm install @cloudsignal/collaborate
npm install @cloudsignal/notifications
npm install @cloudsignal/pwa-sdk

The PWA SDK has its own setup guide covering manifest, service worker, and permission flows.

CLI

PackageStabilityWhat it does
@cloudsignal/cliBetaManage MQTT access-control policies and identity claims from the terminal or CI.

Install:

npm install -g @cloudsignal/cli

Non-JavaScript languages

CloudSignal speaks standard MQTT 3.1.1 and MQTT 5. Any compliant client connects with a username, password, and TLS. There is no language-specific lock-in.

LanguageRecommended client
Pythonpaho-mqtt (sync) or aiomqtt (async)
Goeclipse/paho.golang
Rustrumqttc
Java / KotlinHiveMQ MQTT Client or Eclipse Paho Java
.NETMQTTnet

For these languages, exchange your auth provider token for MQTT credentials via the Token exchange API, then connect using the host and port from Connection parameters.

The @cloudsignal/* SDKs add token management, reconnection logic, and presets on top of MQTT. If you only need plain pub/sub, the standard MQTT clients above are enough.

Next steps

On this page