You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,12 @@ The MQTT transport protocol supports all the features of MCP and adds the follow
18
18
19
19
-**Built-in Service Registry and Discovery**: MCP clients can discover available MCP servers from the MQTT broker.
20
20
21
-
-**Built-in Load Balancing and Scalability**: MCP Servers can be scaled horizontally by adding more MCP server instances, while keeping the the MCP server side stateful.
21
+
-**Built-in Load Balancing and Scalability**: MCP servers can be scaled horizontally by adding more MCP server instances, while keeping the the MCP server side stateful.
22
22
23
23
Additionally, by setting access control permissions on the MQTT topics used by MCP clients and servers in the MQTT broker, authorization for clients and servers can be very flexibly implemented.
24
24
25
25
## Limitations
26
26
27
-
MCP over MQTT is designed for remotely deployed MCP Servers, and the protocol requires a centralized MQTT broker to function. Although locally deployed MCP Servers can also use the MCP over MQTT, it may introduce additional deployment complexity.
27
+
MCP over MQTT is designed for remotely deployed MCP servers, and the protocol requires a centralized MQTT broker to function. Although locally deployed MCP servers can also use the MCP over MQTT, it may introduce additional deployment complexity.
28
28
29
29
We are not meant to replace the existing MCP transport layers (stdio and HTTP SSE), but to provide an alternative for edge computing and IoT applications, and for the backend services that want to use MQTT as their messaging protocol.
Copy file name to clipboardExpand all lines: specification/2025-03-26/basic/mqtt_transport.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ It should be read in conjunction with the [MCP Specification](https://spec.model
14
14
15
15
Multiple connections with the same `server-name` are considered multiple instances of the same MCP server and provide exactly the same service. When the MCP client sends an initialize message, it should select one of them according to a client-side determined strategy.
16
16
17
-
Multiple MCP Servers with different `server-name`s may still provide similar functions. In this case, when the client sends an initialize message, it should select one of them to establish a connection as needed. The selection criteria can be based on the client's permissions, recommendations from a LLM, or the user's choice.
17
+
Multiple MCP servers with different `server-name`s may still provide similar functions. In this case, when the client sends an initialize message, it should select one of them to establish a connection as needed. The selection criteria can be based on the client's permissions, recommendations from a LLM, or the user's choice.
18
18
19
19
After connected to the MQTT broker, the broker may suggest a `server-name` to the MCP server by including a `MCP-SERVER-NAME` user property in the MQTT CONNECT message. If so, the MCP server **MUST** use this `server-name` as its server name. If the broker does not suggest a `server-name`, the MCP server **SHOULD** use a default `server-name` based on the functionality it provides.
20
20
@@ -79,7 +79,7 @@ The Client ID of the MCP server can be any string except `/`, `+` and `#`, refer
79
79
80
80
### MCP Client
81
81
82
-
The Client ID of the MCP Client, referred to as `mcp-client-id`, can be any string except `/`, `+` and `#`, each time an initialization request is made, a different client-id must be used. It is recommended to use a hex string UUID.
82
+
The Client ID of the MCP client, referred to as `mcp-client-id`, can be any string except `/`, `+` and `#`, each time an initialization request is made, a different client-id must be used. It is recommended to use a hex string UUID.
83
83
84
84
## MQTT Topics and Topic Filters
85
85
@@ -101,7 +101,7 @@ The Client ID of the MCP Client, referred to as `mcp-client-id`, can be any stri
|`$mcp-server/capability/list-changed/{server-id}/{server-name}`| capability list changed notification. |
104
-
|`$mcp-server/presence/{server-id}/{server-name}`| Presence messages for the MCP Server. <br> See [ServiceDiscovery](#service-discovery) for more details |
104
+
|`$mcp-server/presence/{server-id}/{server-name}`| Presence messages for the MCP server. <br> See [ServiceDiscovery](#service-discovery) for more details |
0 commit comments