Skip to content

Commit 6de14a3

Browse files
committed
Update docker launch command
1 parent 8ea530c commit 6de14a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ The server will start up and the UI will be accessible at `http://localhost:6274
3434
You can also start it in a Docker container with the following command:
3535

3636
```bash
37-
docker run --rm --network host -p 6274:6274 -p 6277:6277 ghcr.io/modelcontextprotocol/inspector:latest
37+
docker run --rm \
38+
-p 127.0.0.1:6274:6274 \
39+
-p 127.0.0.1:6277:6277 \
40+
-e HOST=0.0.0.0 \
41+
-e MCP_AUTO_OPEN_ENABLED=false \
42+
ghcr.io/modelcontextprotocol/inspector:latest
3843
```
3944

4045
### From an MCP server repository

0 commit comments

Comments
 (0)