Skip to content

Commit a0e727b

Browse files
Remove DANGEROUSLY_OMIT_AUTH=true from MCP Inspector commands in Taskfile (#123)
Signed-off-by: Jonathan Leitschuh <[email protected]> Co-authored-by: Manabu McCloskey <[email protected]>
1 parent 781d744 commit a0e727b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Taskfile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ tasks:
199199
cmds:
200200
- echo "Starting MCP Inspector at http://localhost:6274"
201201
- echo "Press Ctrl+C to stop the inspector"
202-
- DANGEROUSLY_OMIT_AUTH=true npx --yes @modelcontextprotocol/inspector
202+
- npx --yes @modelcontextprotocol/inspector
203203

204204
start-inspector-bg:
205205
desc: Start MCP Inspector in background
206206
cmds:
207207
- |
208208
echo "Starting MCP Inspector in background..."
209-
nohup sh -c 'DANGEROUSLY_OMIT_AUTH=true npx --yes @modelcontextprotocol/inspector' > inspector.log 2>&1 &
210-
sleep 3
209+
nohup npx --yes @modelcontextprotocol/inspector 2>&1 | tee inspector.log &
210+
sleep 5
211211
echo "✅ MCP Inspector started at http://localhost:6274"
212212
213213
dev-all:

0 commit comments

Comments
 (0)