aws / aws/amazon-q-developer-cli

Remote MCP help page for the add command

Open
#2,932 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

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')
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.