Skip to content

feat(shell): add --quiet/-q flag to suppress startup messages#86

Open
natsirtguy wants to merge 1 commit into
f:masterfrom
natsirtguy:feat/quiet
Open

feat(shell): add --quiet/-q flag to suppress startup messages#86
natsirtguy wants to merge 1 commit into
f:masterfrom
natsirtguy:feat/quiet

Conversation

@natsirtguy

Copy link
Copy Markdown
Contributor

Adds a --quiet / -q flag to the shell command to suppress startup messages.

Useful for scripting and automation where you don't want the banner/welcome text.

Changes

  • Added FlagQuiet/FlagQuietShort constants and QuietMode variable in root.go
  • Added flag parsing and conditional output in shell.go
  • Added unit tests

Usage

mcp shell --quiet npx -y @modelcontextprotocol/server-filesystem ~
mcp shell -q npx -y @modelcontextprotocol/server-filesystem ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant