Skip to content

Conversation

@ochafik
Copy link
Contributor

@ochafik ochafik commented Jan 26, 2026

Summary

  • Replace local path '../..' with '^1.0.0' npm reference in all example packages
  • Update transcript-server to use zod ^4.1.13 for compatibility with example-remote-server
  • Fix update-lock:docker script to properly clean workspace node_modules

Problem

The published @modelcontextprotocol/server-*@1.0.0 packages contain:

"dependencies": {
  "@modelcontextprotocol/ext-apps": "../.."
}

This is a local file path that was accidentally included when publishing from the monorepo. npm gets stuck trying to resolve this non-existent path when users try to install these packages.

Additionally, transcript-server was using zod ^3.23.0 while all other examples use ^4.1.13.

This issue was discovered when trying to update modelcontextprotocol/example-remote-server#35

Fix

  1. Replace '../..' with '^1.0.0' in all example packages
  2. Bump versions to 1.0.1 for all public packages
  3. Update transcript-server to use zod ^4.1.13
  4. Fix update-lock:docker script to properly clean workspace node_modules and use isolated HOME in docker

Testing

  • Verified npm install works in the monorepo
  • npm workspaces automatically resolves the dependency to the local package during development

Next Steps

After merge, republish all affected packages to npm at v1.0.1.

Replace local path '../..' with '^1.0.0' npm reference in all example
packages. The local path was accidentally published to npm, causing
npm install to hang when installing server-* packages.

Bump versions to 1.0.1 for all public packages to fix the published
versions.

Fixes npm install hanging issue in dependent projects like
example-remote-server.

Note: npm workspaces automatically resolves the dependency to the
local package during development, so no overrides are needed.
…r script

- Update transcript-server to use zod ^4.1.13 for compatibility
- Fix update-lock:docker script to properly clean workspace node_modules
- Regenerate package-lock.json with clean npmjs.org URLs
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 26, 2026

Open in StackBlitz

@modelcontextprotocol/ext-apps

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/ext-apps@368

@modelcontextprotocol/server-basic-react

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-basic-react@368

@modelcontextprotocol/server-basic-vanillajs

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-basic-vanillajs@368

@modelcontextprotocol/server-budget-allocator

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-budget-allocator@368

@modelcontextprotocol/server-cohort-heatmap

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-cohort-heatmap@368

@modelcontextprotocol/server-customer-segmentation

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-customer-segmentation@368

@modelcontextprotocol/server-map

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-map@368

@modelcontextprotocol/server-pdf

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-pdf@368

@modelcontextprotocol/server-scenario-modeler

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-scenario-modeler@368

@modelcontextprotocol/server-shadertoy

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-shadertoy@368

@modelcontextprotocol/server-sheet-music

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-sheet-music@368

@modelcontextprotocol/server-system-monitor

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-system-monitor@368

@modelcontextprotocol/server-threejs

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-threejs@368

@modelcontextprotocol/server-transcript

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-transcript@368

@modelcontextprotocol/server-video-resource

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-video-resource@368

@modelcontextprotocol/server-wiki-explorer

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/server-wiki-explorer@368

commit: 738f7e9

@ochafik ochafik changed the title fix(examples): use npm reference for ext-apps dependency fix(examples): use npm reference for ext-apps dependency and update zod to 4.x Jan 26, 2026
@ochafik ochafik changed the title fix(examples): use npm reference for ext-apps dependency and update zod to 4.x chore: bump to 1.0.1 - fix npm reference for ext-apps dependency in examples + update zod to 4.x Jan 26, 2026
@ochafik ochafik merged commit ae9b96e into main Jan 26, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants