aws / aws/amazon-q-developer-cli
Remote MCP help page for the add command
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Update CLI man page to support streamable-http transport type for remote MCP servers.
```bash
$ q --version
q 1.16.1
$ q doctor
Everything looks good!
$ q mcp add --name "aws-knowledge" --type "http" --url "https://knowledge-mcp.global.api.aws" --scope global
error: unexpected argument '--type' found
Usage: qchat mcp add --name --command
$ q mcp add --help
Add or replace a configured server
Usage: qchat mcp add [OPTIONS] --name --command
Options:
--name
Name for the server
--scope
Scope. This parameter is only meaningful in the absence of agent name
[possible values: default, workspace, global]
--command
The command used to launch the server
--args
Arguments to pass to the command. Can be provided as:
1. Multiple --args flags: --args arg1 --args arg2 --args "arg,with,commas"
2. Comma-separated with escaping: --args "arg1,arg2,arg,with,commas"
3. JSON array format: --args '["arg1", "arg2", "arg,with,commas"]'
--agent
Where to add the server to. If an agent name is not supplied, the changes shall be made to the global mcp.json
--env
Environment variables to use when launching the server
--timeout
Server launch timeout, in milliseconds
--disabled
Whether the server should be disabled (not loaded)
--force
Overwrite an existing server with the same name
-v, --verbose...
Increase logging verbosity
-h, --help
Print help (see a summary with '-h')
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Ausgabe von `q mcp add --help` und den im Issue gezeigten Befehl für den Remote-Server zu reproduzieren. Verfolge den CLI-Einstiegspunkt für `q mcp add` und ermittle, wie der angeforderte streamable-http-Transport dargestellt werden sollte. Erledigt ist die Aufgabe, wenn der Befehl die Optionen des Remote-Servers akzeptiert und die Hilfeseite sie korrekt dokumentiert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100