Pub-Sub Topic Router

Pub-Sub Topic Router MCP Connector for Claude

A+

Deterministic routing engine for hierarchical topic patterns and wildcard subscriptions.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a deterministic routing engine for managing hierarchical message delivery. It allows AI agents to calculate exact matching subscribers using wildcard patterns like * for single levels and # for multi-level matching. Use match_subscribers to identify targets, calculate_delivery_impact to evaluate traffic and QoS guarantees, and analyze_topic_complexity to inspect topic depth and expansion potential. It is designed to manage fanout impact and back-pressure in complex agent communication networks.

pubsubroutingwildcardqoshierarchy

3 tools expose this connector's capabilities to your AI agent.

analyze_topic_complexity

Inspects the structure of a topic to determine routing complexity and expansion potential

match_subscribers

Identifies which specific agents should receive a message published to a specific topic

calculate_delivery_impact

Evaluates the resource requirements and guarantees for a single message publication

See how to talk to your AI agent using Pub-Sub Topic Router.

Find all subscribers for the topic 'agents.planner.tasks.high' with these subscriptions: [{'agentId': 'agent_1', 'topicPattern': 'agents.#'}, {'agentId': 'agent_2', 'topicPattern': 'agents.*.tasks.*'}]

The matching subscribers are agent_1 and agent_2. The total fanout count is 2.

Calculate the delivery impact for a 500 byte message on topic 'sensor.temp' with QoS level 1 and matching subscribers: [{'agentId': 'sub_1', 'queueSize': 50, 'isOnline': true}]

The delivery guarantee is at least once. Total traffic is 500 bytes. No back-pressure is needed.

Analyze the complexity of the topic 'a.b.c.d' with patterns ['a.#', 'a.*.c.*']

The topic depth is 4. The expansion count for the provided patterns is 2.

The router uses `*` to match exactly one level in a hierarchy and `#` to match all remaining levels.

Related Connectors