Updated all documentation and configuration files: Documentation changes: - Updated README.md to describe LLMX as LiteLLM-powered fork - Updated CLAUDE.md with LiteLLM integration details - Updated 50+ markdown files across docs/, llmx-rs/, llmx-cli/, sdk/ - Changed all references: codex → llmx, Codex → LLMX - Updated package references: @openai/codex → @llmx/llmx - Updated repository URLs: github.com/openai/codex → github.com/valknar/llmx Configuration changes: - Updated .github/dependabot.yaml - Updated .github workflow files - Updated cliff.toml (changelog configuration) - Updated Cargo.toml comments Key branding updates: - Project description: "coding agent from OpenAI" → "coding agent powered by LiteLLM" - Added attribution to original OpenAI Codex project - Documented LiteLLM integration benefits Files changed: 51 files (559 insertions, 559 deletions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
974 B
Markdown
21 lines
974 B
Markdown
# llmx-stdio-to-uds
|
|
|
|
Traditionally, there are two transport mechanisms for an MCP server: stdio and HTTP.
|
|
|
|
This crate helps enable a third, which is UNIX domain socket, because it has the advantages that:
|
|
|
|
- The UDS can be attached to long-running process, like an HTTP server.
|
|
- The UDS can leverage UNIX file permissions to restrict access.
|
|
|
|
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:
|
|
|
|
```
|
|
llmx --config mcp_servers.example={command="llmx-stdio-to-uds",args=["/tmp/mcp.sock"]}
|
|
```
|
|
|
|
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:
|
|
|
|
https://github.com/rust-lang/rust/issues/56533
|
|
|
|
As a workaround, this crate leverages https://crates.io/crates/uds_windows as a dependency on Windows.
|