emqx/mcp-typescript-sdk

A TypeScript SDK for implementing Model Context Protocol (MCP) over MQTT, supporting both browser and Node.js environments.

43
/ 100
Emerging

Implements MCP over MQTT using Zod schema validation and automatic environment detection (WebSocket in browsers, TCP in Node.js). The architecture uses hierarchical MQTT topic naming for server discovery and client-server communication, with constructor-based APIs for registering tools and resources. Includes optional role-based access control (RBAC) and supports real-time tool/resource discovery across distributed agents, as demonstrated in AI companion applications.

No Package No Dependents
Maintenance 10 / 25
Adoption 9 / 25
Maturity 15 / 25
Community 9 / 25

How are scores calculated?

Stars

99

Forks

6

Language

TypeScript

License

Apache-2.0

Last pushed

Feb 25, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/emqx/mcp-typescript-sdk"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.