mcpproxy-go icon indicating copy to clipboard operation
mcpproxy-go copied to clipboard

[Feature]: Configuration as code

Open felipecrs opened this issue 3 weeks ago • 0 comments

Problem / motivation

MCPProxy is awesome, but bootstrapping it into new computers is cumbersome. Requires lots of manual steps.

Scripting through its CLI is possible, but making it work nicely would be a huge amount of work for every user.

There is no easy way to backup or ship my MCPProxy configuration via a dotfiles repository.

Proposed solution

Implement a proper "Configuration as code" mechanism, where MCPProxy would allow users to configure more things through YAML/JSON files like other tools do (VS Code is one example).

When some configuration is changed from UI, write that back to the configuration file.

When the configuration file is changed (users bringing or syncing their own dotfiles for example), re-load it.

I also think this can be done in steps:

  1. Support for a single MCP Servers configuration file (almost done, thanks to mcpproxy upstream import)
  2. Support for loading tool approvals via config file.
  3. Everything else?

It's implied but that would also mean implementing a file system watcher on ~/.mcpproxy.

Speaking of which, it may be a good time to reconsider it to be ~/.config/mcpproxy instead (and perhaps ~/.local/share/mcpproxy).

Alternatives considered

Scripting around CLI commands. Example:

  1. mcpproxy upstream import
  2. Check remaining ones, find which ones are not in config file
  3. mcpproxy upstream remove them

Which edition?

Both / not sure

Pre-submission checklist

  • [x] I searched existing issues and discussions for a similar request

felipecrs avatar Nov 12 '26 14:11 felipecrs