Skip to content

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

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

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

Conversation

@natsirtguy
Copy link
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant