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.

fix(ios): drop trailing slash from WebDriverAgent /source URL (#496)

Gil Megidish54cd7876fa8f
diff --git a/src/webdriver-agent.ts b/src/webdriver-agent.ts
index a46a0c3..c0c395b 100644
--- a/src/webdriver-agent.ts
+++ b/src/webdriver-agent.ts
@@ -272,7 +272,7 @@ export class WebDriverAgent {
}
public async getPageSource(): Promise<SourceTree> {
- const url = `http://${this.host}:${this.port}/source/?format=json`;
+ const url = `http://${this.host}:${this.port}/source?format=json`;
const response = await fetch(url);
const json = await response.json();
return json as SourceTree;