Skip to main content
Glama

mcp-zmq — MCP server for ZMQ messaging

PyPI Python Coverage Ruff

mcp-name: io.github.daedalus/mcp-zmq

Install

pip install mcp-zmq

Related MCP server: Agent MCP Server

Usage

MCP Server

mcp-zmq

Python API

from mcp_zmq import zmq_publish, zmq_subscribe, zmq_send_request, zmq_listen_reply

Available Tools

  • zmq_publish: Publish a message to a ZMQ PUB socket

  • zmq_subscribe: Subscribe to messages from a ZMQ SUB socket

  • zmq_send_request: Send a request via ZMQ REQ socket

  • zmq_listen_reply: Listen for requests and reply via ZMQ REP socket

  • zmq_pair_connect: Connect to a ZMQ PAIR socket

  • zmq_pair_bind: Bind a ZMQ PAIR socket

  • zmq_status: Get ZMQ server status

Development

git clone https://github.com/daedalus/mcp-zmq.git
cd mcp-zmq
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

Available Tools

6 tools
zmq_listen_replyA

Listen for requests and reply via ZMQ REP socket.

Inputs: bind_address, reply_message, timeout_ms. Returns: object

zmq_pair_bindB

Bind a ZMQ PAIR socket for bi-directional communication.

Inputs: bind_address, message, timeout_ms. Returns: object

zmq_pair_connectB

Connect to a ZMQ PAIR socket for bi-directional communication.

Inputs: connect_address, message, timeout_ms. Returns: object

zmq_publishB

Publish a message to a ZMQ PUB socket.

Inputs: topic (required), message (required), bind_address. Returns: object

zmq_send_requestC

Send a request via ZMQ REQ socket.

Inputs: message (required), connect_address, timeout_ms. Returns: object

zmq_subscribeB

Subscribe to messages from a ZMQ SUB socket.

Inputs: topic_filter, connect_address, timeout_ms. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct ZMQ socket type or role (REP, PAIR bind/connect, PUB, REQ, SUB), with no overlap in purpose. Agents can clearly distinguish them.

    Naming Consistency5/5

    All tools follow a consistent zmq_verb_noun pattern using snake_case, making the naming predictable and uniform across the set.

    Tool Count5/5

    With 6 tools covering essential ZMQ socket types (REQ/REP, PUB/SUB, PAIR), the count is well-scoped and each tool serves a clear purpose.

    Completeness4/5

    The set covers fundamental ZMQ patterns but lacks support for PUSH/PULL, DEALER/ROUTER, and cleanup actions like disconnect. Minor gaps exist but core workflows are addressed.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-capable agents running in separate consoles to exchange direct and broadcast messages through a blocking receive tool that releases instantly when mail arrives, so delivery feels push-like rather than polled. It also provides a live browser dashboard showing message flow, presence and per-agent profiles, plus CLI and HTTP endpoints for sending, tailing and replaying the log.
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Exposes stdio MCP tools that let an AI coding agent delegate bounded tasks to a peer agent, exchange updates and cancellations, and send non-blocking messages over an authenticated local WebSocket hub. It carries routing IDs, mailbox durability, and a peer-message notification channel so independent sessions can coordinate work.
      -
    • A
      license
      C
      quality
      C
      maintenance
      Lets multiple agent clients running on one machine or across a LAN register identities, designate one as master and the rest as subagents, and coordinate work through task dispatch, claim, progress reporting, messaging, rooms, and a shared versioned blackboard backed by SQLite. Supports both stdio with a shared database and Streamable HTTP so many clients can connect to a single hub.
      27
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes a shared-directory message bus to coding agents as MCP tools: receive pending messages, send one-way announcements, ask a peer and block until answered, and track peer status. Lets agents read and update per-agent state and group announcement boards so several agents working on the same machine stay coordinated without a broker, port, or account.
      MIT