You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. **JSON in Interactive Shell vs Command Line**: In the interactive shell, use JSON directly without surrounding quotes. On the command line, you may need single quotes to protect from shell parsing.
498
514
3. **Multiple Connections**: You can connect to multiple servers and switch between them using the `switch` command.
499
-
4. **Direct Commands**: Use command line options like `--call-tool` to execute operations without entering the interactive shell.
515
+
4. **Direct Commands**: Pass commands as arguments to execute operations without entering the interactive shell.
500
516
5. **Empty Arguments**: When calling tools with no arguments, you can omit the empty `{}`in the interactive shell
501
517
502
518
### Command Line Options
503
-
- `--connect NAME CONNECTION` - Connect to a server on startup
504
-
- `--json` - Output only JSON (machine-readable)
519
+
- `commands` - Commands to execute (positional arguments)
520
+
- `--json` / `-j` - Output only JSON (machine-readable)
521
+
- `--no-rich` - Disable Rich formatting
522
+
- `--indent N` - Set JSON indent level (0 for compact, default: 2)
523
+
- `--verbose` / `-v` - Enable verbose output (can be used multiple times)
505
524
- `--no-enhanced` - Disable enhanced features (shell-style args, multiline, etc.)
506
-
- `--indent N` - Set JSON indent level (0 for compact)
507
-
- `--verbose` / `-v` - Enable verbose output
508
-
- `--list-tools` - List available tools
509
-
- `--list-resources` - List available resources
510
-
- `--list-prompts` - List available prompts
511
-
- `--call-tool TOOL [ARGS]` - Call a tool directly (use quotes for JSON args on command line)
512
-
- `--get-resource URI` - Get a resource directly
513
-
- `--get-prompt NAME [ARGS]` - Get a prompt directly
514
-
- `--search TERM` - Search tools, resources, and prompts
515
-
- `--info TYPE NAME` - Show info about tool/resource/prompt
525
+
- `--repl` - Drop into REPL mode on startup
526
+
- `-n` / `--no-interactive` - Don't drop into interactive mode after commands
527
+
- `-x SCRIPT` / `--execute-script SCRIPT` - Execute script file (can be used multiple times)
0 commit comments