mobile-debug-mcp 0.32.2 → 0.33.0

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.
Files changed (127) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/{skills → .agents/skills}/mcp-builder/SKILL.md +1 -2
  3. package/{skills → .agents/skills}/spec-review/SKILL.md +1 -1
  4. package/{skills → .agents/skills}/test-authoring/SKILL.md +1 -1
  5. package/.claude-plugin/marketplace.json +14 -0
  6. package/.cursor-plugin/marketplace.json +16 -0
  7. package/.github/copilot-instructions.md +7 -0
  8. package/AGENTS.md +21 -10
  9. package/README.md +67 -5
  10. package/agent-plugin/.claude-plugin/plugin.json +20 -0
  11. package/agent-plugin/.codex-plugin/plugin.json +34 -0
  12. package/agent-plugin/.cursor-plugin/plugin.json +23 -0
  13. package/agent-plugin/.mcp.json +14 -0
  14. package/agent-plugin/LICENSE +201 -0
  15. package/agent-plugin/README.md +29 -0
  16. package/agent-plugin/assets/mobile-debug-tools.svg +28 -0
  17. package/agent-plugin/mcp.json +11 -0
  18. package/agent-plugin/plugin.json +29 -0
  19. package/agent-plugin/skills/mobile-debug-mcp/SKILL.md +124 -0
  20. package/dist/interact/android.js +10 -4
  21. package/dist/interact/conditional-action.js +68 -0
  22. package/dist/interact/index.js +54 -14
  23. package/dist/interact/ios.js +14 -8
  24. package/dist/manage/android.js +4 -3
  25. package/dist/manage/ios.js +3 -2
  26. package/dist/observe/android.js +27 -22
  27. package/dist/observe/evidence.js +273 -0
  28. package/dist/observe/index.js +33 -6
  29. package/dist/observe/ios.js +25 -6
  30. package/dist/observe/readiness-service.js +115 -0
  31. package/dist/observe/readiness.js +81 -0
  32. package/dist/observe/recording.js +165 -0
  33. package/dist/observe/snapshot-metadata.js +10 -2
  34. package/dist/server/common.js +9 -0
  35. package/dist/server/condition-schema.js +32 -0
  36. package/dist/server/journey-schema.js +3 -2
  37. package/dist/server/readiness-schema.js +12 -0
  38. package/dist/server/tool-definitions.js +46 -0
  39. package/dist/server/tool-handlers.js +99 -17
  40. package/dist/server-core.js +1 -1
  41. package/dist/utils/ios/utils.js +4 -4
  42. package/dist/utils/operation-budget.js +24 -2
  43. package/dist/utils/resolve-device.js +7 -0
  44. package/docs/CHANGELOG.md +16 -2
  45. package/docs/benchmarks/ui-tree-performance/README.md +4 -3
  46. package/docs/specs/020-conditional-actions/intent.md +62 -0
  47. package/docs/specs/020-conditional-actions/plan.md +214 -0
  48. package/docs/specs/020-conditional-actions/spec.md +301 -0
  49. package/docs/specs/021-app-readiness-signals/intent.md +40 -0
  50. package/docs/specs/021-app-readiness-signals/plan.md +102 -0
  51. package/docs/specs/021-app-readiness-signals/spec.md +144 -0
  52. package/docs/specs/022-correlated-evidence/device-evidence.json +60 -0
  53. package/docs/specs/022-correlated-evidence/intent.md +37 -0
  54. package/docs/specs/022-correlated-evidence/modul8-evidence.json +1062 -0
  55. package/docs/specs/022-correlated-evidence/modul8-selector-fix-evidence.json +336 -0
  56. package/docs/specs/022-correlated-evidence/plan.md +171 -0
  57. package/docs/specs/022-correlated-evidence/spec.md +123 -0
  58. package/docs/specs/process.md +213 -0
  59. package/docs/tools/TOOLS.md +3 -0
  60. package/docs/tools/evidence.md +79 -0
  61. package/docs/tools/interact.md +125 -2
  62. package/docs/tools/observe.md +64 -2
  63. package/package.json +4 -2
  64. package/scripts/agent-plugin.mjs +98 -0
  65. package/src/interact/android.ts +10 -4
  66. package/src/interact/conditional-action.ts +75 -0
  67. package/src/interact/index.ts +42 -14
  68. package/src/interact/ios.ts +14 -8
  69. package/src/manage/android.ts +4 -3
  70. package/src/manage/ios.ts +3 -2
  71. package/src/observe/android.ts +35 -21
  72. package/src/observe/evidence.ts +255 -0
  73. package/src/observe/index.ts +32 -8
  74. package/src/observe/ios.ts +32 -8
  75. package/src/observe/readiness-service.ts +89 -0
  76. package/src/observe/readiness.ts +78 -0
  77. package/src/observe/snapshot-metadata.ts +12 -1
  78. package/src/server/common.ts +7 -0
  79. package/src/server/condition-schema.ts +32 -0
  80. package/src/server/journey-schema.ts +3 -2
  81. package/src/server/readiness-schema.ts +12 -0
  82. package/src/server/tool-definitions.ts +44 -0
  83. package/src/server/tool-handlers.ts +93 -17
  84. package/src/server-core.ts +1 -1
  85. package/src/types.ts +30 -1
  86. package/src/utils/ios/utils.ts +4 -4
  87. package/src/utils/operation-budget.ts +22 -2
  88. package/src/utils/resolve-device.ts +8 -0
  89. package/test/device/automated/observe/correlated-evidence.smoke.ts +70 -0
  90. package/test/device/manual/interact/conditional_actions.manual.ts +95 -0
  91. package/test/device/manual/interact/modul8_selector_tap.manual.ts +63 -0
  92. package/test/device/manual/interact/readiness.manual.ts +99 -0
  93. package/test/fixtures/readiness-app/MainActivity.java +23 -0
  94. package/test/fixtures/readiness-app/README.md +12 -0
  95. package/test/fixtures/readiness-app/build.ts +37 -0
  96. package/test/fixtures/readiness-app/main.m +27 -0
  97. package/test/unit/observe/android_tree_acquisition.test.ts +6 -0
  98. package/test/unit/observe/capture_debug_snapshot.test.ts +42 -32
  99. package/test/unit/observe/compact_tree_error.test.ts +24 -0
  100. package/test/unit/observe/conditional_snapshots.test.ts +33 -0
  101. package/test/unit/observe/correlated-evidence.test.ts +128 -0
  102. package/test/unit/observe/ios-getlogs.test.ts +3 -3
  103. package/test/unit/observe/ios_tree_acquisition.test.ts +2 -0
  104. package/test/unit/observe/readiness.test.ts +39 -0
  105. package/test/unit/observe/readiness_native.test.ts +68 -0
  106. package/test/unit/server/conditional_actions.test.ts +299 -0
  107. package/test/unit/server/conditional_schema.test.ts +59 -0
  108. package/test/unit/server/correlated-evidence.test.ts +194 -0
  109. package/test/unit/server/readiness.test.ts +170 -0
  110. package/test/unit/server/selector_tap_target.test.ts +79 -0
  111. package/test/unit/server/tap_selector.test.ts +2 -0
  112. package/skills/mobile-debug-tools-usage/SKILL.md +0 -74
  113. package/src/observe/android-tree-bridge.ts +0 -178
  114. package/test/device/automated/ui-tree-performance/bridge-probe.ts +0 -197
  115. package/test/fixtures/ui-tree-bridge/AndroidManifest.xml +0 -6
  116. package/test/fixtures/ui-tree-bridge/build.ts +0 -34
  117. package/test/fixtures/ui-tree-bridge/src/TreeInstrumentation.java +0 -126
  118. package/test/unit/observe/android_tree_bridge_cleanup.test.ts +0 -95
  119. /package/{skills → .agents/skills}/README.md +0 -0
  120. /package/{skills → .agents/skills}/mcp-builder/references/build-flags.md +0 -0
  121. /package/{skills → .agents/skills}/mcp-builder/references/diagnostics-schema.md +0 -0
  122. /package/{skills → .agents/skills}/mcp-builder/references/toolchain-details.md +0 -0
  123. /package/{skills → .agents/skills}/spec-review/references/spec-review-checklist.md +0 -0
  124. /package/{skills → .agents/skills}/spec-review/references/spec-review-template.md +0 -0
  125. /package/{skills → .agents/skills}/test-authoring/references/repo-test-layout.md +0 -0
  126. /package/{skills → .agents/skills}/test-authoring/references/test-authoring-workflow.md +0 -0
  127. /package/{skills → .agents/skills}/test-authoring/references/test-quality-checklist.md +0 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "interface": {
4
+ "displayName": "Mobile Debug Tools"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "mobile-debug-tools",
9
+ "source": {
10
+ "source": "local",
11
+ "path": "./agent-plugin"
12
+ },
13
+ "policy": {
14
+ "installation": "AVAILABLE",
15
+ "authentication": "ON_INSTALL"
16
+ },
17
+ "category": "Developer Tools"
18
+ }
19
+ ]
20
+ }
@@ -64,5 +64,4 @@ Activate when an agent needs to:
64
64
  4. if install fails -> call collect-diagnostics({reason:'install failure', platform:'android'})
65
65
 
66
66
  # License
67
- Same as repository (MIT).
68
-
67
+ Same as repository (Apache-2.0).
@@ -49,4 +49,4 @@ Activate when an agent needs to:
49
49
  - `references/spec-review-checklist.md` — questions to apply while reviewing a spec
50
50
 
51
51
  # License
52
- Same as repository (MIT).
52
+ Same as repository (Apache-2.0).
@@ -54,4 +54,4 @@ Activate when an agent needs to:
54
54
  - `references/test-quality-checklist.md` — what a good test in this repo should prove before it is considered done
55
55
 
56
56
  # License
57
- Same as repository (MIT).
57
+ Same as repository (Apache-2.0).
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "description": "Mobile debugging tools for Android and iOS agents.",
4
+ "owner": {
5
+ "name": "mobile-debug-tools contributors"
6
+ },
7
+ "plugins": [
8
+ {
9
+ "name": "mobile-debug-tools",
10
+ "source": "./agent-plugin",
11
+ "description": "Inspect and debug Android and iOS apps with the mobile-debug-mcp server."
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "owner": {
4
+ "name": "mobile-debug-tools contributors"
5
+ },
6
+ "metadata": {
7
+ "description": "Mobile debugging tools for Android and iOS agents."
8
+ },
9
+ "plugins": [
10
+ {
11
+ "name": "mobile-debug-tools",
12
+ "source": "./agent-plugin",
13
+ "description": "Inspect and debug Android and iOS apps with the mobile-debug-mcp server."
14
+ }
15
+ ]
16
+ }
@@ -1,5 +1,12 @@
1
1
  # Copilot Instructions for mobile-debug-mcp
2
2
 
3
+ ## Required workflow
4
+
5
+ Read and follow [AGENTS.md](../AGENTS.md) and the shared
6
+ [development process](../docs/specs/process.md) before planning, editing, or
7
+ reviewing changes. These are the authoritative repository instructions, including
8
+ for delegated work; the notes below supplement them.
9
+
3
10
  ## Build and Run
4
11
  - **Build**: `npm run build` (runs `tsc` to compile TypeScript to `dist/`)
5
12
  - **Start**: `npm start` (runs the compiled server at `dist/server.js`)
package/AGENTS.md CHANGED
@@ -4,6 +4,16 @@ This file is the **cold-start entrypoint for autonomous agents** that arrive in
4
4
 
5
5
  It is intentionally vendor-neutral and should be useful to Copilot, Codex, Claude, or custom agent systems.
6
6
 
7
+ ## Required development process
8
+
9
+ Before planning, editing, or reviewing repository changes, every agent must read
10
+ and follow [docs/specs/process.md](docs/specs/process.md). It defines the full and
11
+ lightweight workflows, approval gates, verification, and reporting requirements.
12
+ Apply it to delegated work too: pass this entrypoint and the relevant task scope
13
+ to any delegated agent, and check its results against the same process.
14
+ Tool-specific instructions must defer to this shared process. Explicit user
15
+ instructions take precedence.
16
+
7
17
  ## What this repository is
8
18
 
9
19
  `mobile-debug-mcp` is an MCP server for mobile app debugging on Android and iOS. The codebase is TypeScript and the built server entrypoint is `dist/server.js`.
@@ -36,22 +46,23 @@ Primary areas:
36
46
 
37
47
  ### Skills
38
48
 
39
- Portable agent skills live under `skills/`.
49
+ Portable agent skills live under `.agents/skills/`.
40
50
 
41
- - `skills/README.md` — repo-wide skill convention
42
- - `skills/mcp-builder/` — build/install/toolchain guidance
43
- - `skills/test-authoring/` — test creation and placement guidance
44
- - `skills/rfc-review/` — RFC review rubric and response template
51
+ - `.agents/skills/README.md` — repo-wide skill convention
52
+ - `.agents/skills/mcp-builder/` — build/install/toolchain guidance
53
+ - `.agents/skills/test-authoring/` — test creation and placement guidance
54
+ - `.agents/skills/spec-review/` — RFC review rubric and response template
45
55
 
46
- If the task is about **creating or updating tests**, load `skills/test-authoring/SKILL.md` first.
56
+ If the task is about **creating or updating tests**, load `.agents/skills/test-authoring/SKILL.md` first.
47
57
 
48
- If the task is about **building, installing, or diagnosing native tooling**, load `skills/mcp-builder/SKILL.md` first.
58
+ If the task is about **building, installing, or diagnosing native tooling**, load `.agents/skills/mcp-builder/SKILL.md` first.
49
59
 
50
- If the task is about **reviewing an RFC or spec draft**, load `skills/rfc-review/SKILL.md` first.
60
+ If the task is about **reviewing an RFC or spec draft**, load `.agents/skills/spec-review/SKILL.md` first.
51
61
 
52
62
  ### Repository docs
53
63
 
54
64
  - `README.md` — high-level repo overview and commands
65
+ - `docs/specs/process.md` — required development workflow for all agents
55
66
  - `docs/tools/TOOLS.md` — tool documentation and contracts
56
67
  - `docs/CHANGELOG.md` — recent behavioral changes
57
68
 
@@ -74,13 +85,13 @@ For test authoring details, rely on the `test-authoring` skill package rather th
74
85
 
75
86
  ## Notes for maintainers
76
87
 
77
- This file is intentionally short. Keep task-specific guidance in `skills/...` so multiple agent systems can reuse the same instructions.
88
+ This file is intentionally short. Keep task-specific guidance in `.agents/skills/...` so multiple agent systems can reuse the same instructions.
78
89
 
79
90
  ## Testing
80
91
 
81
92
  - `npm run test:unit` runs every automated unit test under `test/unit/...`
82
93
  - `npm run test:device` runs the automated device smoke checks under `test/device/automated/...`
83
- - `npm run verify` runs the default maintainer verification sequence: lint, build, and unit tests
94
+ - `npm run verify` runs the default maintainer verification sequence: lint, build, unit tests, and agent-plugin consistency checks
84
95
  - Manual and debug-oriented device scripts live under `test/device/manual/...` and are not part of the default test commands
85
96
 
86
97
  ## Utility Scripts
package/README.md CHANGED
@@ -10,6 +10,9 @@ A minimal, secure MCP server for AI-assisted mobile development. Build, install,
10
10
  > * Flutter - not tested
11
11
  > * React native - not tested
12
12
 
13
+ Actions, screenshots, trees, and logs expose [correlated evidence](docs/tools/evidence.md)
14
+ with explicit action references, phase timestamps, and conservative freshness.
15
+
13
16
  ## Requirements
14
17
 
15
18
  - Node.js >= 18
@@ -40,7 +43,7 @@ Common environment variables:
40
43
 
41
44
  For normal use, call `get_system_status` first. It reports the detected host, Android, and iOS toolchain state so the client can decide whether automatic discovery is sufficient or whether explicit overrides are needed.
42
45
 
43
- ## Configuration
46
+ ## MCP Configuration
44
47
 
45
48
  <details>
46
49
 
@@ -119,9 +122,56 @@ If you are unsure whether the environment is configured correctly, run `get_syst
119
122
 
120
123
  </details>
121
124
 
122
- ## Usage
125
+ ## Agent Plugin
126
+
127
+ For clients that support Agent Plugins, the [agent-plugin](agent-plugin/README.md)
128
+ package installs the MCP server configuration together with the existing usage
129
+ skill. Direct npm/MCP configuration above remains supported.
130
+
131
+ <details>
132
+
133
+ <summary>Codex plugin</summary>
134
+
135
+ Install the plugin from this repository's marketplace:
136
+
137
+ ```bash
138
+ codex plugin marketplace add clivejefferies/mobile-debug-tools
139
+ codex plugin add mobile-debug-tools@mobile-debug-tools
140
+ ```
141
+
142
+ </details>
143
+
144
+ <details>
145
+
146
+ <summary>Claude Code plugin</summary>
123
147
 
124
- Examples:
148
+ Install the plugin from this repository's marketplace:
149
+
150
+ ```bash
151
+ claude plugin marketplace add clivejefferies/mobile-debug-tools
152
+ claude plugin install mobile-debug-tools@mobile-debug-tools
153
+ ```
154
+
155
+ </details>
156
+
157
+ <details>
158
+
159
+ <summary>Cursor plugin</summary>
160
+
161
+ The repository includes a [Cursor marketplace](.cursor-plugin/marketplace.json).
162
+ Teams and Enterprise admins can import the repository in Dashboard → Plugins & MCPs → Team
163
+ Marketplaces. To test it locally, copy [agent-plugin](agent-plugin/) into
164
+ `~/.cursor/plugins/local/mobile-debug-tools`, then reload Cursor.
165
+
166
+ </details>
167
+
168
+ Start a new chat or session after installation so the client loads the skill
169
+ and MCP tools. Each plugin launches the published npm package locally and needs
170
+ Node.js 18 or newer and the platform toolchains for your device. If you also
171
+ registered the MCP server directly, disable that registration to avoid
172
+ duplicate tools.
173
+
174
+ ## Usage
125
175
 
126
176
  Crash fixing:
127
177
  > I have a crash on the app, can you diagnose it, fix and validate using the mcp tools available
@@ -129,13 +179,25 @@ Crash fixing:
129
179
  Feature building:
130
180
  > Add a button, hook into the repository and confirm API request successful
131
181
 
182
+ For actions that depend on a previously observed UI, use an optional
183
+ `expectedState` from `get_ui_tree` on the same explicit device. The server checks
184
+ a fresh snapshot immediately before input and returns `PRECONDITION_FAILED`
185
+ with current UI evidence if the state changed. See
186
+ [conditional actions](docs/tools/interact.md#conditional-actions) for supported
187
+ tools, examples, and the limits of the check.
188
+
132
189
  ## Docs
133
190
 
191
+ Use `get_app_readiness` to observe loading, transitioning, settled, or unknown UI
192
+ state, and `wait_for_app_ready` for a bounded wait. Existing UI waits can opt into
193
+ `requireReady: true`. Results include evidence and uncertainty; see
194
+ [app readiness](docs/tools/observe.md#app-readiness) for limits and examples.
195
+
134
196
  - Tools: [Tools](docs/tools/TOOLS.md) — full input/response examples
135
197
  - Changelog: [Changelog](docs/CHANGELOG.md)
136
198
  - Agents: [AGENTS.md](AGENTS.md) — cold-start guidance for autonomous agents entering the public repo
137
- - Skills: [skills/README.md](skills/README.md) — portable Markdown skill packages for agents such as Copilot, Codex, Claude, or custom systems
199
+ - Skills: [.agents/skills/README.md](.agents/skills/README.md) — portable Markdown skill packages for agents such as Copilot, Codex, Claude, or custom systems
138
200
 
139
201
  ## License
140
202
 
141
- MIT
203
+ Apache-2.0
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "version": "0.0.1",
4
+ "description": "Mobile app debugging tools and usage guidance for Android and iOS agents.",
5
+ "author": {
6
+ "name": "mobile-debug-tools contributors"
7
+ },
8
+ "repository": "https://github.com/clivejefferies/mobile-debug-tools",
9
+ "license": "Apache-2.0",
10
+ "mcpServers": {
11
+ "mobile-debug-mcp": {
12
+ "command": "npx",
13
+ "args": [
14
+ "--yes",
15
+ "mobile-debug-mcp@0.33.0",
16
+ "server"
17
+ ]
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "version": "0.0.1",
4
+ "description": "Mobile app debugging tools and usage guidance for Android and iOS agents.",
5
+ "repository": "https://github.com/clivejefferies/mobile-debug-tools",
6
+ "license": "Apache-2.0",
7
+ "keywords": [
8
+ "mobile",
9
+ "android",
10
+ "ios",
11
+ "debugging",
12
+ "mcp"
13
+ ],
14
+ "author": {
15
+ "name": "mobile-debug-tools contributors"
16
+ },
17
+ "skills": "./skills/",
18
+ "mcpServers": "./.mcp.json",
19
+ "interface": {
20
+ "displayName": "Mobile Debug Tools",
21
+ "shortDescription": "Inspect and debug Android and iOS apps",
22
+ "longDescription": "Inspect mobile apps, interact with their screens, collect debugging evidence, and verify observed behaviour on Android and iOS devices and emulators. Requires local Node.js and the relevant platform toolchains.",
23
+ "developerName": "mobile-debug-tools contributors",
24
+ "category": "Developer Tools",
25
+ "capabilities": [
26
+ "Interactive"
27
+ ],
28
+ "defaultPrompt": [
29
+ "Check my mobile debugging environment and connected devices.",
30
+ "Inspect the current screen of my mobile app.",
31
+ "Help me reproduce and diagnose a bug in my mobile app."
32
+ ]
33
+ }
34
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "mobile-debug-tools",
3
+ "version": "0.0.1",
4
+ "description": "Mobile app debugging tools and usage guidance for Android and iOS agents.",
5
+ "author": {
6
+ "name": "mobile-debug-tools contributors"
7
+ },
8
+ "repository": "https://github.com/clivejefferies/mobile-debug-tools",
9
+ "license": "Apache-2.0",
10
+ "skills": "./skills/",
11
+ "mcpServers": {
12
+ "mobile-debug-mcp": {
13
+ "type": "stdio",
14
+ "command": "npx",
15
+ "args": [
16
+ "--yes",
17
+ "mobile-debug-mcp@0.33.0",
18
+ "server"
19
+ ],
20
+ "cwd": "${CURSOR_PLUGIN_ROOT}"
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "mcpServers": {
3
+ "mobile-debug-mcp": {
4
+ "type": "stdio",
5
+ "command": "npx",
6
+ "args": [
7
+ "--yes",
8
+ "mobile-debug-mcp@0.33.0",
9
+ "server"
10
+ ],
11
+ "cwd": "${PLUGIN_DATA}"
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,29 @@
1
+ # Mobile Debug MCP agent plugin
2
+
3
+ Install this directory as an Agent Plugins package in a client that supports
4
+ both skills and stdio MCP servers. It provides the existing mobile-debug MCP
5
+ usage skill and launches the published `mobile-debug-mcp` npm package. The
6
+ plugin requires Node.js 18 or newer, `npx`, and the platform toolchains needed
7
+ for the devices you want to use. The first launch may need npm registry access.
8
+ The MCP process starts in the client-managed plugin data directory so npm does
9
+ not resolve the source checkout as a local package when installed from this repo.
10
+
11
+ The server is pinned to the published npm version in `mcp.json`. The plugin's
12
+ `plugin.json` version advances independently for guidance-only releases; do not
13
+ change the server pin to an unpublished npm version. The skill in
14
+ `skills/mobile-debug-mcp/SKILL.md` is shared by all three clients. Run
15
+ `npm run sync:agent-plugin` after updating the plugin metadata or server pin to
16
+ refresh the thin Codex, Claude Code, and Cursor manifests in this directory.
17
+ The three marketplaces all point here and share one skill.
18
+ The packaged directory uses the skill's declared name, `mobile-debug-mcp`, as
19
+ required by Agent Skills. `npm run check:agent-plugin` checks the packaged
20
+ copies and configuration.
21
+
22
+ The usage skill prefers screenshots for routine visual checks and reserves
23
+ hierarchy reads for semantic selection and structured assertions. Assertion
24
+ timeouts must cover a fresh tree read as well as the expected app transition.
25
+
26
+ If you already configured the MCP server directly in your agent client, disable
27
+ that separate registration when enabling this plugin to avoid duplicate tools.
28
+ The direct npm installation remains available without this plugin. See the
29
+ repository README for platform toolchain setup and `get_system_status` guidance.
@@ -0,0 +1,28 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512" role="img" aria-label="Mobile Debug Tools" xmlns:c2pa="http://c2pa.org/manifest"><metadata><c2pa:manifest>AAAWgmp1bWIAAAAeanVtZGMycGEAEQAQgAAAqgA4m3EDYzJwYQAAABZcanVtYgAAAEdqdW1kYzJtYQARABCAAACqADibcQN1cm46YzJwYTphZDAxY2U1Zi03OGYzLTQ0ZGUtOTE2ZS1hNTNkOTk5MjI3ZGMAAAADl2p1bWIAAAApanVtZGMyYXMAEQAQgAAAqgA4m3EDYzJwYS5hc3NlcnRpb25zAAAAALxqdW1iAAAARGp1bWRjYm9yABEAEIAAAKoAOJtxE2MycGEuaW5ncmVkaWVudC52MwAAAAAYYzJzaEsCtIvtVyJCKHJj53JuBK8AAABwY2JvcqNpZGM6Zm9ybWF0bWltYWdlL3N2Zyt4bWxqaW5zdGFuY2VJRHgseG1wOmlpZDo0MmI5N2RiNi0xN2IyLTRiY2MtYTk5NS04MmVjMmUyMGFjM2FscmVsYXRpb25zaGlwaHBhcmVudE9mAAAB4mp1bWIAAABBanVtZGNib3IAEQAQgAAAqgA4m3ETYzJwYS5hY3Rpb25zLnYyAAAAABhjMnNof8Em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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPZYQG9wI+3BL/REerp3nP/gAPco4jeweBIPSbrZDzRr+KzP4zlpvROMvR9iPd7gBuokdiSbW+dHgYwpSztkoviaCQM=</c2pa:manifest></metadata>
2
+ <title>Mobile Debug Tools</title>
3
+ <defs>
4
+ <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
5
+ <stop offset="0" stop-color="#1E3A8A"/>
6
+ <stop offset="1" stop-color="#0F766E"/>
7
+ </linearGradient>
8
+ </defs>
9
+ <rect width="512" height="512" rx="112" fill="url(#bg)"/>
10
+ <!-- phone -->
11
+ <rect x="156" y="76" width="200" height="360" rx="36" fill="#0B1220" stroke="#FFFFFF" stroke-width="12"/>
12
+ <rect x="228" y="96" width="56" height="10" rx="5" fill="#FFFFFF" opacity="0.5"/>
13
+ <rect x="226" y="410" width="60" height="8" rx="4" fill="#FFFFFF" opacity="0.5"/>
14
+ <!-- bug -->
15
+ <g stroke="#5EEAD4" stroke-width="10" stroke-linecap="round" fill="none">
16
+ <path d="M244 190 L232 168"/>
17
+ <path d="M268 190 L280 168"/>
18
+ <path d="M216 240 L186 224"/>
19
+ <path d="M214 268 L182 268"/>
20
+ <path d="M216 296 L186 314"/>
21
+ <path d="M296 240 L326 224"/>
22
+ <path d="M298 268 L330 268"/>
23
+ <path d="M296 296 L326 314"/>
24
+ </g>
25
+ <ellipse cx="256" cy="268" rx="44" ry="58" fill="#5EEAD4"/>
26
+ <circle cx="256" cy="204" r="22" fill="#5EEAD4"/>
27
+ <path d="M256 224 L256 322" stroke="#0B1220" stroke-width="6" stroke-linecap="round"/>
28
+ </svg>
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "mobile-debug-mcp": {
5
+ "type": "stdio",
6
+ "command": "npx",
7
+ "args": ["--yes", "mobile-debug-mcp@0.33.0", "server"],
8
+ "cwd": "${PLUGIN_DATA}"
9
+ }
10
+ }
11
+ }