Skip to content

Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.

feat: go-ios can be installed anywhere and path provided as env (#25)

Gil Megidishff42b83e6242
diff --git a/src/ios.ts b/src/ios.ts
index 5e3d8ff..67537a0 100644
--- a/src/ios.ts
+++ b/src/ios.ts
@@ -20,6 +20,11 @@ interface VersionCommandOutput {
}
const getGoIosPath = (): string => {
+ if (process.env.GO_IOS_PATH) {
+ return process.env.GO_IOS_PATH;
+ }
+
+ // fallback to go-ios in PATH via `npm install -g go-ios`
return "ios";
};