bussin-mcp

v0.2.0
io.github.sgebb/bussin-mcp Checked 2 days ago Published 1 month ago

MCP server for Azure Service Bus.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_namespaces List Service Bus namespaces

List the Azure Service Bus namespaces the signed-in identity can see, across all enabled subscriptions. Large tenants can hold dozens, so pass nameFilter whenever you already know roughly what you are looking for. Requires Entra ID sign-in (not available with a connection string).

ParameterTypeDescription
nameFilterstringCase-insensitive substring, or a glob when it contains "*". Examples: "payments" matches any name containing it; "billing-*" matches names starting with it; "*-prod" matches names ending with it.
subscriptionIdstringLimit to one subscription.

list_queues List queues

List queues in a namespace with active, dead-letter and scheduled message counts. Use this before peeking so you know which queues have a backlog.

ParameterTypeDescription
namespacestringService Bus namespace name. Defaults to the server namespace.

list_topics List topics

List topics in a namespace with their message counts. Messages sit on a topic's subscriptions rather than the topic itself, so follow up with list_subscriptions to find where a backlog actually is.

ParameterTypeDescription
namespacestringService Bus namespace name. Defaults to the server namespace.

list_subscriptions List topic subscriptions

List the subscriptions under a topic, with active and dead-letter counts. Use this to pick the subscription to pass to peek_messages or search_messages.

ParameterTypeDescription
topic *stringTopic name.
namespacestringService Bus namespace name. Defaults to the server namespace.

peek_messages Peek messages

Peek messages from a queue, or from a topic subscription when topic and subscription are given. Peek is non-destructive: it does not lock, consume, or increment delivery count. Set fromDeadLetter to read the dead-letter queue instead of the main entity. This reads from the head of the entity outwards, so it is the right tool for "what is in this queue"; to find particular messages in a backlog, use search_messages instead of paging through peek. Needs the Azure Service Bus Data Receiver role (or Data Owner).

ParameterTypeDescription
countintegerHow many messages to return.
fromDeadLetterbooleanRead the dead-letter queue.
fromSequenceintegerStart at this sequence number. 0 starts from the oldest available message.
namespacestringService Bus namespace name. Defaults to the server namespace.
queuestringQueue name. Omit when using topic + subscription.
subscriptionstringSubscription name, requires topic.
topicstringTopic name, when reading a subscription.

search_messages Search messages

Scan a queue or subscription for messages matching a body substring, message id, or subject. Non-destructive. Scanning is bounded by maxMessages and by a server-side timeout, so on a deep backlog prefer a narrow filter. Returns matching messages with their sequence numbers. Prefer this over repeated peek_messages calls whenever you know something about the messages you want. The sequence numbers it returns are what delete_messages, resubmit_dead_letter and dead_letter_messages take as input. Needs the Data Receiver role (or Data Owner).

ParameterTypeDescription
bodyFilterstringCase-insensitive substring to find in the body.
fromDeadLetterbooleanSearch the dead-letter queue.
maxMatchesintegerStop after this many matches.
maxMessagesintegerCap on messages scanned.
messageIdFilterstringExact message id to match.
namespacestringService Bus namespace name. Defaults to the server namespace.
queuestringQueue name. Omit when using topic + subscription.
subjectFilterstringSubject (label) to match.
subscriptionstringSubscription name, requires topic.
topicstringTopic name, when searching a subscription.