aws / aws/amazon-q-developer-cli

Feature Request: Support for JSON string input and dynamic MCP server configuration

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

Description

Use Case:
• Allow passing MCP configuration as a JSON string via command line
• Enable integration with password managers (like 1Password CLI)
• Support dynamic selection of MCP servers at startup

Benefits:
1. Improved security: Allows fetching secrets at runtime from tools like 1Password using op item get ... or aws ssm get-parameter ... rather than storing them in config files
2. Modular configuration: Allows keeping individual MCP server configs in a mcp-server.d/ directory for better organization
3. Better workflow: Allows using tools like fzf --multi to interactively select which MCP servers to load at startup
4. Scripting flexibility: Enable shell scripts to dynamically generate and pass MCP configurations

Implementation Suggestion:

Add a command line flag (e.g., mcp json) that accepts a JSON string containing MCP server configurations, which would take precedence over file-based configurations.

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.