appium-mcp 1.87.10 → 1.88.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.88.1](https://github.com/appium/appium-mcp/compare/v1.88.0...v1.88.1) (2026-07-25)
|
|
2
|
+
|
|
3
|
+
## [1.88.0](https://github.com/appium/appium-mcp/compare/v1.87.10...v1.88.0) (2026-07-25)
|
|
4
|
+
|
|
1
5
|
## [1.87.10](https://github.com/appium/appium-mcp/compare/v1.87.9...v1.87.10) (2026-07-25)
|
|
2
6
|
|
|
3
7
|
## [1.87.9](https://github.com/appium/appium-mcp/compare/v1.87.8...v1.87.9) (2026-07-23)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-info.d.ts","sourceRoot":"","sources":["../../../src/tools/session/device-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,OAAO,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"device-info.d.ts","sourceRoot":"","sources":["../../../src/tools/session/device-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,OAAO,EAAE,MAAM,SAAS,CAAC;AA6BtD,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CA6ExD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { getPlatformName, PLATFORM } from '../../session-store.js';
|
|
3
3
|
import { execute } from '../../command.js';
|
|
4
|
-
import { BatteryState } from 'appium-xcuitest-driver/build/lib/commands/enum.js';
|
|
5
4
|
import { resolveDriver, textResult, errorResult, toolErrorMessage, } from '../tool-response.js';
|
|
6
5
|
// iOS: maps UIDeviceBatteryState values to human-readable strings
|
|
7
|
-
// @see https://
|
|
6
|
+
// @see https://developer.apple.com/documentation/uikit/uidevice/batterystate
|
|
8
7
|
const IOS_BATTERY_STATES = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
0: 'unknown',
|
|
9
|
+
1: 'unplugged',
|
|
10
|
+
2: 'charging',
|
|
11
|
+
3: 'full',
|
|
13
12
|
};
|
|
14
13
|
// Android: state matches BatteryManager constants
|
|
15
14
|
const ANDROID_BATTERY_STATES = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-info.js","sourceRoot":"","sources":["../../../src/tools/session/device-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"device-info.js","sourceRoot":"","sources":["../../../src/tools/session/device-info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,UAAU,EACV,WAAW,EACX,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAE7B,kEAAkE;AAClE,6EAA6E;AAC7E,MAAM,kBAAkB,GAA2B;IACjD,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,WAAW;IACd,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,kDAAkD;AAClD,MAAM,sBAAsB,GAA2B;IACrD,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,MAAM;CACV,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,MAAe;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AG,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;IACxD,MAAM,MAAM,GACV,QAAQ,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,sBAAsB,CAAC;IAC1E,OAAO;QACL,QAAQ,EAAE,QAAQ,KAAK,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;QACvD,KAAK,EAAE,GAAG,YAAY,GAAG;QACzB,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,SAAS;KAC5C,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-mcp",
|
|
3
3
|
"mcpName": "io.github.appium/appium-mcp",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.88.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"@appium/support": "^7.0.2",
|
|
61
61
|
"@modelcontextprotocol/sdk": "^1.22.0",
|
|
62
62
|
"@xmldom/xmldom": "^0.9.8",
|
|
63
|
-
"appium-adb": "^
|
|
63
|
+
"appium-adb": "^16.0.0",
|
|
64
64
|
"appium-ios-device": "^3.1.0",
|
|
65
65
|
"appium-uiautomator2-driver": "^8.0.0",
|
|
66
|
-
"appium-webdriveragent": "^
|
|
67
|
-
"appium-xcuitest-driver": "^
|
|
66
|
+
"appium-webdriveragent": "^16.0.0",
|
|
67
|
+
"appium-xcuitest-driver": "^12.1.0",
|
|
68
68
|
"fastmcp": "^4.0.0",
|
|
69
69
|
"ios-mobileprovision-finder": "^1.2.1",
|
|
70
70
|
"lru-cache": "^11.5.0",
|
|
71
71
|
"node-simctl": "^8.0.4",
|
|
72
|
-
"webdriver": "^9.
|
|
72
|
+
"webdriver": "^9.30.0",
|
|
73
73
|
"xpath": "^0.0.34",
|
|
74
74
|
"zod": "^4.3.6"
|
|
75
75
|
},
|
|
@@ -126,6 +126,6 @@
|
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
128
|
"engines": {
|
|
129
|
-
"node": ">=22
|
|
129
|
+
"node": ">=22"
|
|
130
130
|
}
|
|
131
131
|
}
|
package/server.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"name": "io.github.appium/appium-mcp",
|
|
4
4
|
"title": "MCP Appium - Mobile Development and Automation Server",
|
|
5
5
|
"description": "MCP server for Appium mobile automation on iOS and Android devices with test creation tools.",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.88.1",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"identifier": "appium-mcp",
|
|
11
|
-
"version": "1.
|
|
11
|
+
"version": "1.88.1",
|
|
12
12
|
"transport": {
|
|
13
13
|
"type": "stdio"
|
|
14
14
|
}
|
|
@@ -2,7 +2,6 @@ import type { ContentResult, FastMCP } from 'fastmcp';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { getPlatformName, PLATFORM } from '../../session-store.js';
|
|
4
4
|
import { execute } from '../../command.js';
|
|
5
|
-
import { BatteryState } from 'appium-xcuitest-driver/build/lib/commands/enum.js';
|
|
6
5
|
import {
|
|
7
6
|
resolveDriver,
|
|
8
7
|
textResult,
|
|
@@ -11,12 +10,12 @@ import {
|
|
|
11
10
|
} from '../tool-response.js';
|
|
12
11
|
|
|
13
12
|
// iOS: maps UIDeviceBatteryState values to human-readable strings
|
|
14
|
-
// @see https://
|
|
13
|
+
// @see https://developer.apple.com/documentation/uikit/uidevice/batterystate
|
|
15
14
|
const IOS_BATTERY_STATES: Record<number, string> = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
0: 'unknown',
|
|
16
|
+
1: 'unplugged',
|
|
17
|
+
2: 'charging',
|
|
18
|
+
3: 'full',
|
|
20
19
|
};
|
|
21
20
|
|
|
22
21
|
// Android: state matches BatteryManager constants
|