New:Socket for Asana Is Now Available.Learn more
Get Started

thunderbird-cli-bridge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thunderbird-cli-bridge

HTTP↔WebSocket bridge daemon between thunderbird-cli (or any HTTP client) and the Thunderbird WebExtension. Stateless proxy, localhost-only.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

thunderbird-cli-bridge

Stateless HTTP↔WebSocket bridge daemon between thunderbird-cli (or any HTTP client) and the Thunderbird WebExtension.

tests License: MIT

Part of the thunderbird-cli project.

What it does

A small Node.js daemon (tb-bridge) that runs on your machine and forwards HTTP requests to the Thunderbird WebExtension over WebSocket. No business logic — pure proxy.

HTTP client (CLI / MCP / curl) ──HTTP→ tb-bridge ──WS→ Thunderbird Extension
                                       :7700           :7701
  • Stateless — each request gets a UUID, response correlated, then forgotten
  • Localhost-only — listens on 127.0.0.1 (no external exposure)
  • Auto-reconnect on the extension side — if Thunderbird restarts, the extension reconnects within 3s
  • Zero config — works out of the box with default ports

Install

npm install -g thunderbird-cli-bridge

Run

tb-bridge

You should see:

[bridge] HTTP server on http://127.0.0.1:7700
[bridge] WebSocket server on ws://127.0.0.1:7701
[bridge] Waiting for Thunderbird extension to connect...

Keep it running. For background operation:

# pm2
pm2 start tb-bridge --name tb-bridge
pm2 save

# or simple background
nohup tb-bridge > ~/.tb-bridge.log 2>&1 &

Endpoints

GET /bridge/status

Returns bridge state without requiring the extension. Use this to check the daemon is up.

curl http://127.0.0.1:7700/bridge/status
# {"bridge":"running","extension":"connected","httpPort":7700,"wsPort":7701}

Everything else

All other paths get forwarded to the Thunderbird extension via WebSocket and the response is returned as JSON. See SPEC.md for the full route list (43 routes).

Prerequisites

The bridge alone does nothing useful — you need:

See the main repo setup guide.

License

MIT

Keywords

mcp

FAQs

Package last updated on 18 Apr 2026

Related posts