# viewbus > The fastest way to debug Azure Service Bus. A fast, native desktop app for Windows and macOS. Free, local, private. viewbus is a native desktop app (Windows + macOS) for developers working with Azure Service Bus. It lets users browse namespaces, search for a message across every queue, topic, and dead-letter queue at once, edit and resend dead-lettered messages with a side-by-side diff, run bulk queue operations with live progress, set background alerts on dead-letter backlogs, and expose all of this to AI assistants via a built-in Model Context Protocol (MCP) server. All data stays on the user's machine — no telemetry, no cloud sync, no accounts. ## Key facts - **Name:** viewbus, lowercase (the installer and the macOS bundle are named `ViewBus` for install-time stability; user-facing copy is lowercase) - **Platform:** Windows 10 / 11 (x64) and macOS (Apple Silicon; Intel via Rosetta) - **Price:** Free - **Source:** Closed source; distributed via the Microsoft Store, Homebrew, and GitHub Releases - **Privacy:** No telemetry, no backend servers, no accounts. See /privacy - **Built with:** Tauri 2, Rust, React, TypeScript, SQLite - **Author:** Håkon Lia, an independent developer in Norway. Not affiliated with Microsoft. - **Current version:** See https://viewbus.app/latest.json ## Who it's for Developers, DevOps engineers, and SREs who work with Azure Service Bus and want something faster and more capable than Paolo Salvatori's Service Bus Explorer (still maintained, but Windows-only, .NET Framework, and with no message-body search) or the Azure Portal's built-in Service Bus Explorer (limited search, no cross-resource view, low peek caps). ## Key differentiators vs alternatives - **vs Service Bus Explorer:** native on macOS as well as Windows; searches message *bodies* across queues, topics, and subscriptions at once; edits and resends messages with a side-by-side diff; sets background dead-letter alerts; ships an MCP server and a local HTTP API; imports VS Code themes; stores manual connection strings in the OS keychain. - **vs the Azure Portal:** finds a message across every resource at once (the Portal can't), no 100-message peek caps, background alerting, reaches namespaces outside the user's tenant via connection strings, keyboard-driven bulk operations. - **vs Microsoft's official Azure MCP Server:** that server exposes Service Bus *metadata* (counts, status) but cannot peek dead-letter messages or trace a message across queues — viewbus's MCP server can, because it reuses the local index and the desktop app's existing sign-in. - **vs custom SDK scripts:** a polished GUI with a persistent local index and spotlight search — no code for common operations — plus a documented local HTTP API when you do want to script it. ## Primary capabilities 1. Azure subscription discovery and a live, locally-indexed namespace tree (SQLite); multi-tenant aware (switch tenants from the account dialog). 2. Peek active and dead-letter messages with filters by session, message ID, correlation ID, subject, or dead-letter reason. 3. Search message bodies across every queue, topic, and dead-letter queue in a namespace at once. 4. Edit a message body/properties in a side-by-side diff editor, then resend (single or filtered-bulk). 5. Bulk queue operations — purge active, move all active to dead-letter, bulk resend, bulk delete by filter — with a preview of the batch, live progress and ETA, cancel, and a history of past runs. 6. Background dead-letter monitoring with custom per-resource alert thresholds and native notifications (opt-in). 7. Manual connection strings, stored in the OS keychain (Windows Credential Manager / macOS Keychain), never on disk in plain text. 8. Spotlight fuzzy search (Ctrl+I, rebindable) across every indexed resource, system-wide; survives minimize-to-tray. 9. Customizable keyboard shortcuts throughout the app. 10. Built-in MCP server exposing the tools below. 11. Local HTTP API on `127.0.0.1` for launcher plugins, editor tasks, and scripts. See /developers 12. Dark, light, and custom user themes; one-click VS Code theme import. ## MCP server tools The MCP server ships with the desktop app (Rust, stdio transport). Ten tools are read-only and always enabled; one write tool is opt-in via a settings toggle. Setup instructions per client are at https://viewbus.app/mcp-server, and the app generates a ready-to-paste config under Settings → MCP. **Index and search (work even with the app closed):** - `get_status` — index state: whether a subscription is selected, last refresh time, resource count, whether live queries are available. Call this first to orient. - `list_namespaces` — indexed Azure Service Bus namespaces in the selected subscription. - `list_queues` — queues under a namespace. - `list_topics` — topics under a namespace. - `list_subscriptions` — subscriptions under a topic. - `get_resource` — full details for a single indexed resource by ID. - `search_resources` — fuzzy-search queues, topics, and subscriptions by name or path. **Live messages (require the desktop app to be running):** - `count_messages` — how many messages match a filter, optionally broken down by dead-letter reason. Returns counts only, never bodies. - `peek_messages` — message summaries without dequeuing (sequence number, enqueued time, subject, IDs, delivery count, body preview). Capped at 100 per call; paginate with `fromSequence`. - `get_message_detail` — the full body and all properties for one sequence number. Filters are applied inside viewbus rather than in the model's context: `bodyContains`, enqueued-time range, `sessionId`, `messageId`, `correlationId`, `subject`, `deadLetterReason`, and custom properties. **Write (opt-in via `general.mcpThemeWritesEnabled`; default off):** - `upsert_theme` — let an AI author themes by writing JSON files to the user themes dir. Message-level writes from MCP (resend / delete / send) are deliberately not implemented. The MCP server holds no Azure credentials of its own, opens no network listener, and is scoped to the subscription selected in the app. ## Local HTTP API While the app is running it serves a small HTTP API on `127.0.0.1`, meant for launcher plugins (Raycast, Alfred, PowerToys Run, Flow Launcher), editor tasks, and shell scripts. Full reference: https://viewbus.app/developers - Discovery: the app writes port + a fresh per-launch bearer token to `local-api.json` in its config dir. - Auth: `Authorization: Bearer `. Binds loopback only; requests carrying an `Origin` header are rejected. - `GET /v1/status` — is the app running, what version, is a subscription selected. - `GET /v1/search?q=…` — fuzzy-search indexed resources. - `POST /v1/focus` — bring the app to the front on a specific resource. - `/v1` is additive-only; breaking changes would ship under `/v2`. Disable with `localApi.enabled: false`. ## Install - **Windows — Microsoft Store (recommended):** https://apps.microsoft.com/detail/9p0q5zmlv15k — signed by Microsoft, no SmartScreen warning, auto-updates via the Store. - **Windows — direct installer:** the NSIS `.exe` on GitHub Releases. It isn't code-signed yet, so Windows SmartScreen warns once ("More info" → "Run anyway"). Resolve the current URL from https://viewbus.app/latest.json or https://github.com/haakofli/viewbus-site/releases/latest. - **macOS — Homebrew (recommended):** `brew install --cask haakofli/viewbus/viewbus`. A `.dmg` is also on GitHub Releases; it isn't notarized yet, so first launch needs a one-time unlock (`xattr -cr /Applications/ViewBus.app`, or right-click → Open). - **Programmatic:** https://viewbus.app/latest.json returns `version`, per-platform download URLs, and signing status — agents should read it rather than hardcoding a version. ## Support No support email. Bugs and feature requests go to GitHub issues (https://github.com/haakofli/viewbus-site/issues); the app also has a built-in feedback dialog under Settings → Send feedback, which is the route for anything private or security-related. See https://viewbus.app/support ## Pages - [Home](https://viewbus.app/) — features, screenshots, FAQ - [Why viewbus](https://viewbus.app/why-viewbus/) — how it works under the hood: local index, AMQP peek semantics, bulk operations, monitoring, spotlight - [Download](https://viewbus.app/download/) — Store, Homebrew, direct installers, system requirements - [MCP server](https://viewbus.app/mcp-server/) — setup per AI client, tool reference, limits - [Developers](https://viewbus.app/developers/) — the local HTTP API reference - [Service Bus Explorer alternative](https://viewbus.app/service-bus-explorer-alternative/) — positioning vs the original - [Changelog](https://viewbus.app/changelog/) — every release with summaries and download links - [Support](https://viewbus.app/support/) — how to report a bug or reach the author - [Privacy](https://viewbus.app/privacy/) — full data-handling details - [Terms](https://viewbus.app/terms/) — licence, warranty disclaimer, liability - [Update feed](https://viewbus.app/latest.json) — JSON the desktop app reads on startup - [Long-form reference](https://viewbus.app/llms-full.txt) — full site content concatenated for a single fetch