Skip to content

Commit 327243c

Browse files
fix: add missing hono peer dependency to @modelcontextprotocol/node (#1504)
Co-authored-by: Matt <[email protected]>
1 parent 8654c7f commit 327243c

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

.changeset/add-hono-peer-dep.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@modelcontextprotocol/node': patch
3+
---
4+
5+
Add missing `hono` peer dependency to `@modelcontextprotocol/node`. The package already depends on `@hono/node-server` which requires `hono` at runtime, but `hono` was only listed in the workspace root, not as a peer dependency of the package itself.

packages/middleware/node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"@hono/node-server": "catalog:runtimeServerOnly"
5050
},
5151
"peerDependencies": {
52-
"@modelcontextprotocol/server": "workspace:^"
52+
"@modelcontextprotocol/server": "workspace:^",
53+
"hono": "catalog:runtimeServerOnly"
5354
},
5455
"devDependencies": {
5556
"@modelcontextprotocol/server": "workspace:^",

pnpm-lock.yaml

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)