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
Traditionally, there are two transport mechanisms for an MCP server: stdio and HTTP.
4
+
5
+
This crate helps enable a third, which is UNIX domain socket, because it has the advantages that:
6
+
7
+
- The UDS can be attached to long-running process, like an HTTP server.
8
+
- The UDS can leverage UNIX file permissions to restrict access.
9
+
10
+
To that end, this crate provides an adapter between a UDS and stdio. The idea is that someone could start an MCP server that communicates over `/tmp/mcp.sock`. Then the user could specify this on the fly like so:
Unfortunately, the Rust standard library does not provide support for UNIX domain sockets on Windows today even though support was added in October 2018 in Windows 10:
0 commit comments