Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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