Seiro MCP spatial computing server and visionOS build tools
seiro-mcp from Codex CLI / Inspector and exercise the visionOS tools (inspect_xcode_schemes / validate_sandbox_policy / inspect_xcode_sdks / build_visionos_app / inspect_build_diagnostics / fetch_build_output) within ~30 minutes.cargo, bash/zsh.cargo run -p xtask -- preflight
seiro-mcp config mcp
Paste the output into ~/.codex/config.toml.
seiro-mcp config project
This creates seiro-mcp.toml.
MCP_CONFIG_PATH: absolute path to a non-default seiro-mcp.toml. Omit this for the normal Codex project-root workflow.These are intended for local development and tests; do not rely on them for production.
VISIONOS_TEST_TIME_SCALE: time multiplier for mocked visionOS build steps (default: 1).VISIONOS_SANDBOX_PROBE: sandbox probe backend (env for deterministic tests; otherwise uses OS commands).VISIONOS_SANDBOX_SDKS: comma-separated SDK list to simulate xcodebuild -showsdks.VISIONOS_SANDBOX_DEVTOOLS: simulate DevToolsSecurity status (enabled/disabled).VISIONOS_SANDBOX_LICENSE: simulate Xcode license status (accepted/unlicensed).VISIONOS_SANDBOX_DISK_BYTES: simulate available disk space in bytes.VISIONOS_BUILD_ARTIFACT_DIR: internal env set by the server when invoking xcodebuild (used by the mock script).seiro-mcp.toml in the process current directory.--config or MCP_CONFIG_PATH: explicit config path for non-default layouts.stdio only for the supported workflow.npx @modelcontextprotocol/inspector seiro-mcp
If you are developing from source, replace seiro-mcp with target/release/seiro-mcp.
[mcp_servers.seiro_mcp]
command = "/Users/<user>/.cargo/bin/seiro-mcp"
Use seiro-mcp config mcp to print this snippet with the actual binary path.
TCP is not part of the currently supported local workflow. If TCP is reintroduced later, it should be designed as a separate remote/server mode with localhost defaults, connection-level authentication, exposure guidance, and Inspector-specific validation steps.
Ctrl+C (SIGINT) ends with exit code 0.MCP_CLIENT_REQUIRED (stdin/stdout is a TTY)| Symptom / code | Resolution |
|---|---|
| Config file missing | Run seiro-mcp config project in the project root, or set MCP_CONFIG_PATH to an absolute seiro-mcp.toml path. |
MCP_CLIENT_REQUIRED (44) |
You ran cargo run directly. Launch via Inspector / Codex as a child process. |
seiro-mcp: command not found |
Confirm cargo install seiro-mcp --locked completed, then run seiro-mcp config mcp. |
sdk_missing |
Check details.diagnostics from validate_sandbox_policy, optionally run inspect_xcode_sdks, then install/fix SDK settings and retry. |
build_failed and manual root-cause analysis is slow |
Call inspect_build_diagnostics with the returned job_id to get typecheck-based file/line diagnostics before retrying. |
destination_ambiguous |
Re-run build_visionos_app with the returned details.suggested_destination or choose one entry from details.available_destinations. |
Missing project_path / unknown scheme |
Run inspect_xcode_schemes first. If request omits project_path, it resolves via current-directory .xcodeproj discovery, then seiro-mcp.toml visionos.default_project_path. |
artifact_expired |
Call fetch_build_output within TTL; raise visionos.artifact_ttl_secs if needed and document the retrieval flow. |
seiro-mcp --help or skill install --dry-run hangs only in an integrated terminal |
Retry from Terminal.app first. On macOS we observed integrated-terminal launches blocked in AppleSystemPolicy evaluation before Rust main, while the same binary completed normally from Terminal.app. |
RUST_LOG=rmcp_sample=info (or higher) emits runtime telemetry with transport, config path, pending jobs, instructions, and launch args.rmcp_sample::visionos target. Enable JSON logs with RUST_TRACING_FORMAT=json.mcp list shows the visionOS tools.mcp describe seiro_mcp shows the visionOS tools, including inspect_xcode_sdks.inspect_xcode_schemes (optional preflight) -> validate_sandbox_policy -> inspect_xcode_sdks (optional) -> build_visionos_app -> inspect_build_diagnostics (on failure) -> fetch_build_output (on success, optionally set MOCK_XCODEBUILD_BEHAVIOR).When the bundled skill in this repository is updated, refresh local installed copies:
seiro-mcp skill remove seiro-mcp-visionos-build-operator
seiro-mcp skill install
The canonical public skill source is .agents/skills/seiro-mcp-visionos-build-operator/.
seiro-mcp skill install defaults to seiro-mcp-visionos-build-operator; explicit skill-name installation remains supported for compatibility.
If you prefer Codex skill-installer, use the GitHub path that maps to that directory:
--repo karad/seiro-mcp--path .agents/skills/seiro-mcp-visionos-build-operatorThis GitHub install path only adds the Codex skill. It does not install the Seiro MCP server binary and it does not configure the MCP client connection.