-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
The @modelcontextprotocol/sdk
package wants you to import stuff from "@modelcontextprotocol/sdk/server/mcp.js"
like so:
import { McpServer, ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
This import resolves to node_modules/@modelcontextprotocol/dist/esm/sdk/server/mcp.js
.
I cannot find a way to provide a module definition to new Hook()
that will actually wrap the module.
It seems like we are always ending up in this branch
Line 147 in 53a33a9
if (!baseDir.endsWith(specifiers.get(filename))) continue |
Metadata
Metadata
Assignees
Labels
No labels