Skip to content

Commit d7a7ce8

Browse files
authored
update mcp sdk deps (#6)
# Why fixed `Error creating MCP tunnel: Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@modelcontextprotocol/sdk' imported from /path/to/app/node_modules/@expo/mcp-tunnel/dist/StdioMcpServerProxy.js +99` # How - the access code for `@modelcontextprotocol/sdk` is from mcp-tunnel. this pr updates the deps
1 parent 968a524 commit d7a7ce8

File tree

3 files changed

+2
-18
lines changed

3 files changed

+2
-18
lines changed

bun.lock

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
},
1818
"dependencies": {
1919
"@expo/mcp-tunnel": "workspace:~",
20-
"@modelcontextprotocol/sdk": "catalog:",
2120
"debug": "^4.4.3",
2221
"glob": "^11.0.3",
2322
"jimp-compact": "0.16.1",
@@ -43,24 +42,18 @@
4342
"name": "@expo/mcp-tunnel",
4443
"version": "0.2.1",
4544
"dependencies": {
45+
"@modelcontextprotocol/sdk": "catalog:",
4646
"ws": "catalog:",
4747
"zod": "catalog:",
4848
"zod-to-json-schema": "^3.24.6",
4949
},
5050
"devDependencies": {
51-
"@modelcontextprotocol/sdk": "catalog:",
5251
"@types/bun": "catalog:",
5352
"@types/node": "catalog:",
5453
"@types/ws": "catalog:",
5554
"prettier": "catalog:",
5655
"typescript": "catalog:",
5756
},
58-
"peerDependencies": {
59-
"@modelcontextprotocol/sdk": "^1.13.2",
60-
},
61-
"optionalPeers": [
62-
"@modelcontextprotocol/sdk",
63-
],
6457
},
6558
},
6659
"catalog": {

packages/expo-mcp/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"license": "MIT",
3434
"dependencies": {
3535
"@expo/mcp-tunnel": "workspace:~",
36-
"@modelcontextprotocol/sdk": "catalog:",
3736
"debug": "^4.4.3",
3837
"glob": "^11.0.3",
3938
"jimp-compact": "0.16.1",

packages/mcp-tunnel/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,16 @@
2121
"author": "650 Industries, Inc.",
2222
"license": "MIT",
2323
"dependencies": {
24+
"@modelcontextprotocol/sdk": "catalog:",
2425
"ws": "catalog:",
2526
"zod-to-json-schema": "^3.24.6",
2627
"zod": "catalog:"
2728
},
2829
"devDependencies": {
29-
"@modelcontextprotocol/sdk": "catalog:",
3030
"@types/bun": "catalog:",
3131
"@types/node": "catalog:",
3232
"@types/ws": "catalog:",
3333
"prettier": "catalog:",
3434
"typescript": "catalog:"
35-
},
36-
"peerDependencies": {
37-
"@modelcontextprotocol/sdk": "^1.13.2"
38-
},
39-
"peerDependenciesMeta": {
40-
"@modelcontextprotocol/sdk": {
41-
"optional": true
42-
}
4335
}
4436
}

0 commit comments

Comments
 (0)