mcpField
M
mcp-zmq

mcp-zmq

Local
github.com/daedalusDeveloper Tools0Updated 28w ago

About mcp-zmq

mcp-zmq provides ZMQ messaging operations through an MCP server. It offers tools for publishing, subscribing, request-reply messaging, PAIR socket connections, and server status.

Key features

  1. 01Publish and subscribe over ZMQ
  2. 02Send requests and listen for replies
  3. 03Connect to or bind PAIR sockets
  4. 04Retrieve ZMQ server status

Use cases

  1. 01Publishing messages to a ZMQ PUB socket
  2. 02Subscribing to messages from a ZMQ SUB socket
  3. 03Handling request-reply messaging with REQ and REP sockets

MCP support

Exposes ZMQ messaging operations as tools for MCP clients, including PUB, SUB, REQ, REP, and PAIR socket operations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"daedalus-mcp-zmq": {
"command": "uvx",
"args": [
"mcp-zmq"
]
}
}
}
Run commanduvx mcp-zmq

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-zmq0.1.0

Tools

6

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
topicstringYesMessage topic/topic filter for subscribers.
messagestringYesMessage payload to publish.
bind_addressstringNoAddress to bind PUB socket. Defaults to "tcp://127.0.0.1:5555".

Details

From the project README

mcp-zmq — MCP server for ZMQ messaging

PyPI Python Coverage Ruff

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

Install

pip install mcp-zmq

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/

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.