Run on host, access from sbx? #497
Replies: 1 comment
|
The host/guest architecture is possible, but XcodeBuildMCP does not currently expose an HTTP transport itself. The current server constructs The simplest bridge is usually stdio over SSH, which avoids adding an HTTP proxy. Configure the MCP command inside the sbx guest as the equivalent of: {
"command": "ssh",
"args": [
"-T",
"mac-builder",
"/absolute/path/to/xcodebuildmcp",
"mcp"
]
}The MCP client still sees a normal local stdio process ( A stdio-to-Streamable-HTTP proxy on the Mac is another option, but it is an extra component rather than a built-in XcodeBuildMCP feature. If you use one, bind it only to an interface reachable from the microVM, require authentication/TLS, and do not expose the raw endpoint publicly. sbx must also allow outbound access to that host address; guest Two operational details matter whichever bridge you choose:
So: yes, the split is viable, but today it needs SSH-stdio or a transport proxy; direct HTTP is not supported by XcodeBuildMCP itself. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I usually use sbx to safely run my agents in YOLO mode. Of course sbx spawns a Linux microVM, so it can't access my Mac applications (like Xcode).
I was wondering: Is it possible to run XcodeBuildMCP on the host (macOS), and then run my agent inside sbx and have it "call out" to the MCP server running on the host using HTTP? Has anyone tried that?
All reactions