Skip to content
Discussion options

You must be logged in to vote

Your reading is correct: XcodeBuildMCP currently exposes its MCP server over stdio only, not an HTTP/SSE port. The server imports StdioServerTransport and connects it directly (source, startup path). That is why there is no port for the Linux container to reach.

The process also needs to run on macOS because its tools invoke Xcode, simulators, and other host resources. So the workable layouts are:

  1. Simplest: run the agent/MCP client on the Mac and configure it to spawn xcodebuildmcp mcp.
  2. Keep the agent in Docker: run XcodeBuildMCP on the Mac behind a small stdio-to-Streamable-HTTP bridge, then point the container's MCP client at that bridge using host.docker.internal:<port>.
  3. SSH approach:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cameroncooke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants