You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending upon whether it is being invoked from the npm package @modelcontextprotocol/inspector or @modelcontextprotocol/inspector-cli the location of package.json will either be in ../ or ../../
* In cli/src/index.ts
- load package.json from the parent folder or parent's parent depending on file existence in parent.
- move the load of package.json into callMethod function, which is the only place it is used, and is closer to where it is referenced.
0 commit comments