Skip to content

Commit 7b39caf

Browse files
committed
fix(agent-toolkit): Move @modelcontextprotocol/sdk to dependencies
We need it so that `npx @clerk/agent-toolkit` finds the correct dependencies, as peer deps are not installed by default. We might want to vendor it in the future, once the pkg name is finalized.
1 parent 367e0db commit 7b39caf

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.changeset/brown-trees-film.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/agent-toolkit': patch
3+
---
4+
5+
Fix npx @clerk/agent-toolkit by moving `@modelcontextprotocol/sdk` in `dependencies`

packages/agent-toolkit/package.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,21 @@
4848
"@clerk/backend": "workspace:^",
4949
"@clerk/shared": "workspace:^",
5050
"@clerk/types": "workspace:^",
51-
"yargs": "^17.7.2",
51+
"@modelcontextprotocol/sdk": "1.7.0",
52+
"yargs": "17.7.2",
5253
"zod": "3.24.2"
5354
},
5455
"devDependencies": {
5556
"@types/yargs": "^17.0.33"
5657
},
5758
"peerDependencies": {
5859
"@langchain/core": "^0.3.6",
59-
"@modelcontextprotocol/sdk": "^1.4.1",
6060
"ai": "^3.4.7 || ^4.0.0"
6161
},
6262
"peerDependenciesMeta": {
6363
"@langchain/core": {
6464
"optional": true
6565
},
66-
"@modelcontextprotocol/sdk": {
67-
"optional": true
68-
},
6966
"ai": {
7067
"optional": true
7168
}

pnpm-lock.yaml

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)