feat(mcp): add --mcp-config-paths CLI argument#222
Conversation
* Add --mcp-config-paths argument to specify additional MCP configuration files * Support OS-specific path separators (: on Unix/Mac, ; on Windows) * Implement configuration precedence: global < workspace < additional paths * Add comprehensive tests for path parsing, precedence, and error handling * Support tilde expansion and relative paths in additional config paths * Provide clear warnings for configuration conflicts and missing files
|
Note that we are currently making some changes w/ how MCP configuration will be handled, so not sure if we want to include this as a new feature if it'll be immediately replaced with another modality. @chaynabors @mschrage what do you think? |
|
Hi! We have moved the development of q chat back to our original repo: https://github.com/aws/amazon-q-developer-cli. Please rebase your branch onto our original repo. You can do so via the following: With github cli: And run the following: Or if you would like to do this without install the github cli:
Thank you for your contribution! |
|
In addition to the moving message, we have also just recently overhauled the chat config with agent: aws/amazon-q-developer-cli#2222, which overlaps with the goal of this PR. |
Summary
Add support for specifying additional MCP configuration files via the --mcp-config-paths CLI argument, enabling users to organize and share MCP server configurations across multiple projects and environments.
Description of changes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.