Commit 5ad2548
Show security warning only when --no-auth is used
- Only display "Anyone with the URL can access your server" when authentication is disabled
- When auth is enabled, show API key and authentication instructions instead
- Apply this logic to both 'mcpm share' and 'mcpm profile share' commands
- Improve user awareness of security implications based on auth settings
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 2a2c773 commit 5ad2548
File tree
2 files changed
+4
-1
lines changed- src/mcpm/commands
- profile
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments