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
{{ message }}
Repository navigation
upstream add/remove/etc. ignore -c/--config and load the default config #1396
area/cliCommand-line interface (mcpproxy CLI commands)kind/bugSomething isn't workingpriority/highShould be addressed in the current or next releasetriage/acceptedTriaged and accepted for the backlog
mcpproxy upstream add (and every other upstream subcommand except list and logs) silently ignores -c/--config.
Cause:loadUpstreamConfig() (cmd/mcpproxy/upstream_cmd.go, ~line 916) reads the package variable upstreamConfigPath, which is only bound to -c on the list and logs subcommands (~lines 339/347). All other subcommands fall back to config.Load(), i.e. ~/.mcpproxy/mcp_config.json, while still honouring --data-dir for where the result is written.
Impact (observed during live QA):mcpproxy upstream add --config <scratch>/mcp_config.json --data-dir <scratch> ... loaded the user's real 26-server production config, wrote all of it plus the new server into the scratch location, and a test instance using that scratch config started connecting to the real upstream servers with their configured credentials. The real config file itself was not modified.
Fix: bind -c/--config on every upstream subcommand (or read the global configFile the way loadActivityConfig/loadCredentialConfig do), and add a test that upstream add --config X never reads the default config.
area/cliCommand-line interface (mcpproxy CLI commands)kind/bugSomething isn't workingpriority/highShould be addressed in the current or next releasetriage/acceptedTriaged and accepted for the backlog
Activity
fix(catalog,cli): MCP secret_like parity + upstream add --config flag (…
fix(cli): redact doctor credentials, honour global -c/-d, print error…