react-native-mcp-kit 2.3.1 → 3.0.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/README.md +12 -7
- package/dist/babel/stripPlugin.d.ts.map +1 -1
- package/dist/babel/stripPlugin.js +18 -3
- package/dist/babel/stripPlugin.js.map +1 -1
- package/dist/babel/testIdPlugin.d.ts.map +1 -1
- package/dist/babel/testIdPlugin.js +466 -7
- package/dist/babel/testIdPlugin.js.map +1 -1
- package/dist/bin/ios-hid +0 -0
- package/dist/client/contexts/McpContext/McpProvider.d.ts.map +1 -1
- package/dist/client/contexts/McpContext/McpProvider.js +0 -6
- package/dist/client/contexts/McpContext/McpProvider.js.map +1 -1
- package/dist/client/contexts/McpContext/types.d.ts +0 -2
- package/dist/client/contexts/McpContext/types.d.ts.map +1 -1
- package/dist/client/core/McpClient.d.ts +0 -2
- package/dist/client/core/McpClient.d.ts.map +1 -1
- package/dist/client/core/McpClient.js +1 -17
- package/dist/client/core/McpClient.js.map +1 -1
- package/dist/client/index.d.ts +0 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -3
- package/dist/client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/modules/fiberTree/fiberTree.d.ts +17 -0
- package/dist/modules/fiberTree/fiberTree.d.ts.map +1 -1
- package/dist/modules/fiberTree/fiberTree.js +554 -2
- package/dist/modules/fiberTree/fiberTree.js.map +1 -1
- package/dist/modules/fiberTree/utils.d.ts +1 -0
- package/dist/modules/fiberTree/utils.d.ts.map +1 -1
- package/dist/modules/fiberTree/utils.js +7 -6
- package/dist/modules/fiberTree/utils.js.map +1 -1
- package/dist/server/bridge.d.ts +0 -1
- package/dist/server/bridge.d.ts.map +1 -1
- package/dist/server/bridge.js +0 -15
- package/dist/server/bridge.js.map +1 -1
- package/dist/server/canonicalize.d.ts +8 -0
- package/dist/server/canonicalize.d.ts.map +1 -0
- package/dist/server/canonicalize.js +23 -0
- package/dist/server/canonicalize.js.map +1 -0
- package/dist/server/host/tools/connectionStatus.d.ts +9 -0
- package/dist/server/host/tools/connectionStatus.d.ts.map +1 -0
- package/dist/server/host/tools/connectionStatus.js +39 -0
- package/dist/server/host/tools/connectionStatus.js.map +1 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +35 -2
- package/dist/server/index.js.map +1 -1
- package/dist/server/inputSchemaToZod.d.ts +19 -0
- package/dist/server/inputSchemaToZod.d.ts.map +1 -0
- package/dist/server/inputSchemaToZod.js +89 -0
- package/dist/server/inputSchemaToZod.js.map +1 -0
- package/dist/server/mcpServer.d.ts.map +1 -1
- package/dist/server/mcpServer.js +3 -86
- package/dist/server/mcpServer.js.map +1 -1
- package/dist/shared/protocol.d.ts +9 -10
- package/dist/shared/protocol.d.ts.map +1 -1
- package/dist/shared/protocol.js +9 -1
- package/dist/shared/protocol.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,9 +80,14 @@ If the dependency lives deeper in the tree (e.g. the `QueryClient` is created in
|
|
|
80
80
|
|
|
81
81
|
Two plugins ship under `react-native-mcp-kit/babel`. You want both.
|
|
82
82
|
|
|
83
|
-
**`test-id-plugin`** —
|
|
83
|
+
**`test-id-plugin`** — two transforms, one pass:
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
- Stamps every capitalized JSX element with a stable `data-mcp-id="ComponentName:path/to/file:line"` attribute. `fiber_tree` uses this to identify a component across renders, minification, and refactors. Without it you can still find components by `name` or `testID`, but mcpId is what makes "find the nth `ProductCard` on a specific line" reliable across a large codebase.
|
|
86
|
+
- Attaches `__mcp_hooks` metadata to each component function and each custom-hook function (`/^use[A-Z]/` with hook calls in body). This is how `fiber_tree__query` with `select: ["hooks"]` recovers hook names (`count`, `scrollRef`, …) instead of `State[0]` / `Ref[2]`. The plugin runs on `node_modules` too, so library hooks from react-redux / react-query get annotated automatically.
|
|
87
|
+
|
|
88
|
+
Run in **development**.
|
|
89
|
+
|
|
90
|
+
**`strip-plugin`** — strips every trace of mcp-kit from a bundle: imports from `react-native-mcp-kit`, calls to `McpClient.*` / `useMcpTool` / `useMcpModule`, the `<McpProvider>` JSX wrapper (its children are preserved), `data-mcp-id` attributes, and `__mcp_hooks = [...]` metadata assignments. Run this in **production** and none of the library code reaches your users.
|
|
86
91
|
|
|
87
92
|
```js
|
|
88
93
|
// babel.config.js
|
|
@@ -100,7 +105,7 @@ module.exports = (api) => {
|
|
|
100
105
|
|
|
101
106
|
Both plugins accept options (attribute name, include/exclude lists, extra import sources, extra function names to strip) when you need to customize — pass them as the 2nd array element in the usual babel style. Defaults cover the common case.
|
|
102
107
|
|
|
103
|
-
After editing `babel.config.js
|
|
108
|
+
After editing `babel.config.js` — or after installing / upgrading `react-native-mcp-kit` — clear Metro's cache once: `yarn start --reset-cache`. Metro aggressively caches transformed files, and until it re-runs the plugin on `node_modules`, `__mcp_hooks` annotations for library hooks will be missing and `fiber_tree__query` with `select: ["hooks"]` will return `null`.
|
|
104
109
|
|
|
105
110
|
### 3. Configure the MCP server
|
|
106
111
|
|
|
@@ -169,7 +174,6 @@ Wrap your whole app in it — every optional prop opts a module in when supplied
|
|
|
169
174
|
The Node server exposes a small set of entry-point tools agents use directly — you don't register or configure them:
|
|
170
175
|
|
|
171
176
|
- **Discovery & dispatch** — `connection_status`, `list_tools`, `describe_tool`, `call`.
|
|
172
|
-
- **Reactive state** — `state_get`, `state_list` (read values exposed via `useMcpState`).
|
|
173
177
|
- **Test automation** — `wait_until` (poll any tool until a predicate holds, replacing screenshot-in-a-loop + sleep) and `assert` (single-shot checkpoint with a standardized diff on failure).
|
|
174
178
|
- **UI-level waits** — `fiber_tree__query` has a built-in `waitFor: { until: "appear" | "disappear", stable? }` option; see the [fiber_tree section](#fiber_tree).
|
|
175
179
|
|
|
@@ -203,7 +207,6 @@ Separate module talking HTTP / WebSocket to the Metro instance the app was bundl
|
|
|
203
207
|
For when the thing you want to expose lives deeper than `McpProvider`:
|
|
204
208
|
|
|
205
209
|
```ts
|
|
206
|
-
useMcpState(key, factory, deps); // expose reactive state to the agent
|
|
207
210
|
useMcpTool(name, factory, deps); // register an ad-hoc tool tied to the component lifecycle
|
|
208
211
|
useMcpModule(factory, deps); // register a whole module from inside a component
|
|
209
212
|
```
|
|
@@ -214,8 +217,6 @@ Each follows `useMemo` / `useEffect` semantics — the factory re-runs on dep ch
|
|
|
214
217
|
const UserProvider = ({ children }) => {
|
|
215
218
|
const [user, setUser] = useState(null);
|
|
216
219
|
|
|
217
|
-
useMcpState('user', () => ({ id: user?.id, loggedIn: user !== null }), [user]);
|
|
218
|
-
|
|
219
220
|
useMcpTool(
|
|
220
221
|
'logout',
|
|
221
222
|
() => ({
|
|
@@ -232,6 +233,8 @@ const UserProvider = ({ children }) => {
|
|
|
232
233
|
};
|
|
233
234
|
```
|
|
234
235
|
|
|
236
|
+
Reading state is unified through `fiber_tree__query` with `select: ["hooks"]` — no manual exposure step needed. See the [fiber_tree section](#fiber_tree) below.
|
|
237
|
+
|
|
235
238
|
## Modules
|
|
236
239
|
|
|
237
240
|
| Module | Factory | Requires |
|
|
@@ -285,6 +288,8 @@ Wrapper cascades (`PressableView → Pressable → View → RCTView`) collapse t
|
|
|
285
288
|
|
|
286
289
|
Pass `waitFor: { until: 'appear' | 'disappear', timeout?, interval?, stable? }` to poll the same query until the target state is reached — e.g. `waitFor: { until: 'appear', stable: 300 }` waits for a screen to mount and hold stable for 300ms. Response carries `{ waited, attempts, elapsedMs, timedOut, stableFor? }` alongside the usual matches.
|
|
287
290
|
|
|
291
|
+
Pass `select: ["hooks"]` to read a component's hooks with variable names recovered from source — `useState` / `useMemo` / `useCallback` / `useRef` / `useEffect` / custom hooks all visible. Filter with `hooksInclude: { kinds, names }`, opt into current values with `withValues: true`, cap recursion with `expansionDepth`, switch shape with `format: "flat" | "tree"`. Sensitive names (password, token, jwt, secret, credential, apiKey, authorization, *Pin) are auto-redacted — override via `fiberTreeModule({ redactHookNames, additionalRedactHookNames })`. Works against any HOC chain (`memo`, `forwardRef`, custom HOCs, `as` casts) and library hooks from react-query, react-redux, reanimated, react-navigation.
|
|
292
|
+
|
|
288
293
|
### i18n
|
|
289
294
|
|
|
290
295
|
Inspect and manipulate an `i18next` instance: list keys, dump a whole translation resource, run a substring search, translate with interpolation, switch language at runtime.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripPlugin.d.ts","sourceRoot":"","sources":["../../src/babel/stripPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,KAAK,IAAI,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"stripPlugin.d.ts","sourceRoot":"","sources":["../../src/babel/stripPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,KAAK,IAAI,UAAU,EAAE,MAAM,aAAa,CAAC;AAevE,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,OAAO,UAAU,CAAA;CAAE,GAAG,SAAS,CAsKzF"}
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = stripPlugin;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const protocol_1 = require("../shared/protocol");
|
|
5
|
+
const DEFAULT_SOURCES = [protocol_1.PACKAGE_NAME];
|
|
6
|
+
const DEFAULT_FUNCTIONS = ['useMcpTool', 'useMcpModule', 'initMcp'];
|
|
6
7
|
function stripPlugin({ types: t }) {
|
|
7
8
|
return {
|
|
8
9
|
name: 'react-native-mcp-kit-strip',
|
|
9
10
|
visitor: {
|
|
11
|
+
// Remove `X.__mcp_hooks = [...]` metadata assignments emitted by the
|
|
12
|
+
// companion test-id-plugin (X is either a component or a custom-hook
|
|
13
|
+
// function name).
|
|
14
|
+
AssignmentExpression(path) {
|
|
15
|
+
const { left } = path.node;
|
|
16
|
+
if (!t.isMemberExpression(left))
|
|
17
|
+
return;
|
|
18
|
+
if (!t.isIdentifier(left.property, { name: '__mcp_hooks' }))
|
|
19
|
+
return;
|
|
20
|
+
const parent = path.parentPath;
|
|
21
|
+
if (parent.isExpressionStatement()) {
|
|
22
|
+
parent.remove();
|
|
23
|
+
}
|
|
24
|
+
},
|
|
10
25
|
// Remove require('react-native-mcp-kit')
|
|
11
26
|
CallExpression(path, state) {
|
|
12
27
|
const opts = (state.opts ?? {});
|
|
@@ -35,7 +50,7 @@ function stripPlugin({ types: t }) {
|
|
|
35
50
|
}
|
|
36
51
|
}
|
|
37
52
|
}
|
|
38
|
-
// Strip function calls:
|
|
53
|
+
// Strip function calls: useMcpTool(...), useMcpModule(...), etc.
|
|
39
54
|
if (t.isIdentifier(path.node.callee) && functions.includes(path.node.callee.name)) {
|
|
40
55
|
const parent = path.parentPath;
|
|
41
56
|
if (parent.isExpressionStatement()) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripPlugin.js","sourceRoot":"","sources":["../../src/babel/stripPlugin.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"stripPlugin.js","sourceRoot":"","sources":["../../src/babel/stripPlugin.ts"],"names":[],"mappings":";;AAeA,8BAsKC;AAnLD,gDAAiD;AASjD,MAAM,eAAe,GAAG,CAAC,uBAAY,CAAC,CAAC;AAEvC,MAAM,iBAAiB,GAAG,CAAC,YAAY,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC;AAEpE,SAAwB,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC,EAAgC;IAC5E,OAAO;QACL,IAAI,EAAE,4BAA4B;QAClC,OAAO,EAAE;YACP,qEAAqE;YACrE,qEAAqE;YACrE,kBAAkB;YAClB,oBAAoB,CAAC,IAAI;gBACvB,MAAM,EAAE,I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BACvC,OAAO;gBACT,CAAC;gBAED,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC9B,MAAM,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC;oBAC5B,IAAI,CAAC,IAAI;wBAAE,OAAO;oBAClB,4DAA4D;oBAC5D,gEAAgE;oBAChE,IAAI,CAAC,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC;wBACrC,IAAI,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;4BAC5C,IAAI,CAAC,MAAM,EAAE,CAAC;wBAChB,CAAC;6BAAM,CAAC;4BACN,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;wBACpC,CAAC;wBACD,OAAO;oBACT,CAAC;oBACD,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;oBACvB,OAAO;gBACT,CAAC;gBAED,IAAI,CAAC,WAAW,CACd,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,kBAAkB,EAAE,EAAE,YAAY,CAAC,CAC5E,CAAC;YACJ,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testIdPlugin.d.ts","sourceRoot":"","sources":["../../src/babel/testIdPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"testIdPlugin.d.ts","sourceRoot":"","sources":["../../src/babel/testIdPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAEd,KAAK,KAAK,IAAI,UAAU,EACzB,MAAM,aAAa,CAAC;AAycrB,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAAE,KAAK,EAAE,OAAO,UAAU,CAAA;CAAE,GAAG,SAAS,CA2M1F"}
|