Describe the bug
The published npm packages @modelcontextprotocol/server-memory and @modelcontextprotocol/server-sequential-thinking fail immediately on startup because they import zod, but zod is not listed in their published dependencies.
This reproduces outside of Continue and appears to be a package publishing/dependency issue.
To Reproduce
- Install Node.js 22
- Run:
pnpm dlx @modelcontextprotocol/server-memory
or
pnpm dlx @modelcontextprotocol/server-sequential-thinking
- Observe that the process exits immediately with a module resolution error.
Expected behavior
The MCP server should start successfully and wait for stdio connections.
Logs
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'zod' imported from .../dist/index.js
Did you mean to import "zod/index.cjs"?
Environment:
Node.js v22.22.3
pnpm v11.3.0
Arch Linux
Additional context
The published package contains imports from zod:
grep -R 'from "zod"' node_modules/@modelcontextprotocol/server-memory
Output:
node_modules/@modelcontextprotocol/server-memory/dist/index.js:import { z } from "zod";
However, the published dependencies do not include zod:
pnpm view @modelcontextprotocol/server-memory dependencies
Output:
{
"@modelcontextprotocol/sdk": "^1.25.2"
}
I observed the same behavior with @modelcontextprotocol/server-sequential-thinking.
Describe the bug
The published npm packages
@modelcontextprotocol/server-memoryand@modelcontextprotocol/server-sequential-thinkingfail immediately on startup because they importzod, butzodis not listed in their published dependencies.This reproduces outside of Continue and appears to be a package publishing/dependency issue.
To Reproduce
or
Expected behavior
The MCP server should start successfully and wait for stdio connections.
Logs
Environment:
Additional context
The published package contains imports from
zod:grep -R 'from "zod"' node_modules/@modelcontextprotocol/server-memoryOutput:
However, the published dependencies do not include
zod:Output:
{ "@modelcontextprotocol/sdk": "^1.25.2" }I observed the same behavior with
@modelcontextprotocol/server-sequential-thinking.