Skip to content

Commit 6ef714f

Browse files
committed
fix: README
1 parent 5b663f0 commit 6ef714f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,25 @@ mcphawk web --no-sniffer
130130

131131
# Custom web server configuration
132132
mcphawk web --port 3000 --host 0.0.0.0 --web-port 9000
133+
134+
# Enable debug output for troubleshooting
135+
mcphawk sniff --port 3000 --debug
136+
mcphawk web --port 3000 --debug
133137
```
134138

139+
### CLI Options
140+
141+
#### Common Options (both commands)
142+
- `--port` / `-p`: TCP port to monitor
143+
- `--filter` / `-f`: Custom BPF filter expression
144+
- `--auto-detect` / `-a`: Auto-detect MCP traffic on any port
145+
- `--debug` / `-d`: Enable debug output for troubleshooting
146+
147+
#### Web Command Only
148+
- `--no-sniffer`: Disable sniffer (view historical logs only)
149+
- `--host`: Web server host (default: 127.0.0.1)
150+
- `--web-port`: Web server port (default: 8000)
151+
135152
### Development Mode
136153

137154
```bash

0 commit comments

Comments
 (0)