-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bugSomething isn't workingSomething isn't workingp1-highHigh priority - should be addressed soonHigh priority - should be addressed soon
Description
Describe the bug
npx @modelcontextprotocol/inspector is not using PATH from current environment.
To Reproduce
When I run:
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
npx @modelcontextprotocol/inspector /bin/true
I see:
Query parameters: [Object: null prototype] {
command: 'cargo',
args: 'run',
env: '{"HOME":"/Users/mbolin","LOGNAME":"mbolin","PATH":"/Users/mbolin/.npm/_npx...
i.e., there is extra stuff. This is a problem because I can't make a screen recording without leaking sensitive info.
Expected behavior
I should see the value that corresponds to export PATH
Logs
sorry, nope
Additional context
Not sure if npx is to blame here?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp1-highHigh priority - should be addressed soonHigh priority - should be addressed soon