Skip to content

Version publishing lag between components to NPM #725

Closed as not planned
Closed as not planned

Description

@tferro5915

Describe the bug
For several hours after a new version is released, in this case after 0.16.4, NPM will have the core app but not the CLI portion so the dependencies will fail. Not clear if this is due to a CICD pipeline order, NPM processing delay, CICD fail that required an updated push, or something else. I suspect it is part of the pipeline order, and maybe needing to ensure all dependencies are also available before the core is marked as "latest".
NOTE: the Error was resolved a few hours after experiencing it, once NPM caught up. The Bug is in reference to the process, to ensure it can be prevented in the future.

To Reproduce
Steps to reproduce the behavior:

  1. Within several hours of a new release
  2. Run: npm install modelcontextprotocol/inspector
  3. Receive error: npm error notarget No matching version found for @modelcontextprotocol/inspector-cli@^0.16.4

Expected behavior
Expect the install to either work, or default to the previous version if not all dependency versions are also available. I think for example the CLI portion needs to be pushed to NPM first and checked for availability, before the core app is also pushed and marked as a stable latest build. For example, when v0.16.3 was released, but not yet marked as latest stable for a few hours after its release, an install would pull v0.16.2, unless I explicitly called for v0.16.3. This delay either intentional or a product of pipeline checks worked as expected. Not sure if something changed, or the delay for v0.16.4 was just not long enough for some background reason.

Activity

  1. self-assigned this
    on Sep 6, 2025
  2. cliffhall commented on Sep 6, 2025

    @cliffhall
    Member

    I don't know how the npm system makes things available, but the entire process runs in a single go, and all the dependencies are published before the inspector itself. I don't know of any way that we can control the rollout of things on the npm side.

    Here is the output of the publish-all step for the last release (0.16.5
    https://github.com/modelcontextprotocol/inspector/actions/runs/17443177960/job/49531087989

    Run npm run publish-all
    
    > @modelcontextprotocol/inspector@0.16.6 publish-all
    > npm publish --workspaces --access public && npm publish --access public
    
    npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
    npm warn publish errors corrected:
    npm warn publish "bin[mcp-inspector-client]" script name was cleaned
    npm notice
    npm notice 📦  @modelcontextprotocol/inspector-client@0.16.6
    npm notice Tarball Contents
    npm notice 1.6kB README.md
    npm notice 1.7kB bin/client.js
    npm notice 7.9kB bin/start.js
    npm notice 1.5MB dist/assets/index-B_qh-Btq.js
    npm notice 53.2kB dist/assets/index-C217Ot8c.css
    npm notice 2.2kB dist/assets/OAuthCallback-Cmffn8om.js
    npm notice 3.0kB dist/assets/OAuthDebugCallback-BhzcPtuF.js
    npm notice 474B dist/index.html
    npm notice 973B dist/mcp.svg
    npm notice 2.5kB package.json
    npm notice Tarball Details
    npm notice name: @modelcontextprotocol/inspector-client
    npm notice version: 0.16.6
    npm notice filename: modelcontextprotocol-inspector-client-0.16.6.tgz
    npm notice package size: 304.7 kB
    npm notice unpacked size: 1.5 MB
    npm notice shasum: 42326f515e8647e9afbae214fbfbf8ee5e417f23
    npm notice integrity: sha512-2dwB0OXI02PTT[...]ddrPTsuzgabvg==
    npm notice total files: 10
    npm notice
    npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
    + @modelcontextprotocol/inspector-client@0.16.6
    npm notice
    npm notice 📦  @modelcontextprotocol/inspector-server@0.16.6
    npm notice Tarball Contents
    npm notice 19.1kB build/index.js
    npm notice 2.4kB build/mcpProxy.js
    npm notice 1.0kB package.json
    npm notice Tarball Details
    npm notice name: @modelcontextprotocol/inspector-server
    npm notice version: 0.16.6
    npm notice filename: modelcontextprotocol-inspector-server-0.16.6.tgz
    npm notice package size: 5.2 kB
    
    > @modelcontextprotocol/inspector@0.16.6 build-client
    > cd client && npm run build
    
    
    > @modelcontextprotocol/inspector-client@0.16.6 build
    > tsc -b && vite build
    
    vite v6.3.5 building for production...
    transforming...
    ✓ 1864 modules transformed.
    rendering chunks...
    computing gzip size...
    dist/index.html                                 0.47 kB │ gzip:   0.31 kB
    dist/assets/index-C217Ot8c.css                 53.24 kB │ gzip:  10.41 kB
    dist/assets/OAuthCallback-Cmffn8om.js           2.18 kB │ gzip:   0.91 kB
    dist/assets/OAuthDebugCallback-BhzcPtuF.js      2.96 kB │ gzip:   1.04 kB
    dist/assets/index-B_qh-Btq.js               1,461.19 kB │ gzip: 289.55 kB
    ✓ built in 3.93s
    
    > @modelcontextprotocol/inspector@0.16.6 build-cli
    > cd cli && npm run build
    
    
    > @modelcontextprotocol/inspector-cli@0.16.6 build
    > tsc
    
    
    > @modelcontextprotocol/inspector-cli@0.16.6 postbuild
    > node scripts/make-executable.js
    
    Made file executable with chmod
    npm notice
    npm notice 📦  @modelcontextprotocol/inspector@0.16.6
    npm notice Tarball Contents
    npm notice 1.1kB LICENSE
    npm notice 18.7kB README.md
    npm notice 10.3kB cli/build/cli.js
    npm notice 1.2kB cli/build/client/connection.js
    npm notice 199B cli/build/client/index.js
    npm notice 1.2kB cli/build/client/prompts.js
    npm notice 961B cli/build/client/resources.js
    npm notice 2.4kB cli/build/client/tools.js
    npm notice 11B cli/build/client/types.js
    npm notice 405B cli/build/error-handler.js
    npm notice 8.7kB cli/build/index.js
    npm notice 2.3kB cli/build/transport.js
    npm notice 171B cli/build/utils/awaitable-log.js
    npm notice 1.7kB client/bin/client.js
    npm notice 7.9kB client/bin/start.js
    npm notice 1.5MB client/dist/assets/index-B_qh-Btq.js
    npm notice 53.2kB client/dist/assets/index-C217Ot8c.css
    npm notice 2.2kB client/dist/assets/OAuthCallback-Cmffn8om.js
    npm notice 3.0kB client/dist/assets/OAuthDebugCallback-BhzcPtuF.js
    npm notice 474B client/dist/index.html
    npm notice 973B client/dist/mcp.svg
    npm notice 3.0kB package.json
    npm notice 19.1kB server/build/index.js
    npm notice 2.4kB server/build/mcpProxy.js
    npm notice Tarball Details
    npm notice name: @modelcontextprotocol/inspector
    npm notice version: 0.16.6
    npm notice filename: modelcontextprotocol-inspector-0.16.6.tgz
    npm notice package size: 321.7 kB
    npm notice unpacked size: 1.6 MB
    npm notice shasum: 28c3fb3e1b9934893b19c100ee0df89b2863de57
    npm notice integrity: sha512-6x6dzTf8MV6z/[...]16Vv6S7sj/24Q==
    npm notice total files: 24
    npm notice
    npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
    + @modelcontextprotocol/inspector@0.16.6
    
  3. olaservo commented on Sep 16, 2025

    @olaservo
    Member

    Going to close as not planned since I don't think we have a way to influence this timing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions