Skip to content

Support dynamic server registration without restart #109

@arjavdongaonkar

Description

@arjavdongaonkar

I might be completely wrong, but currently, the Docker MCP Gateway requires specifying servers using the --servers flag at startup. This means whenever we need to introduce a new MCP server, we must restart the gateway with updated flags.

Problem:

  • In dynamic environments (e.g., Kubernetes, Compose setups), new MCP servers may be introduced frequently.
  • Restarting the gateway each time a new server is added is disruptive and complicates orchestration.

Feature Request:

  • Allow the gateway to load servers from a configuration file (e.g., catalog.yaml) or a mounted volume and watch for changes.
  • Alternatively, provide an API or CLI to register/unregister servers dynamically while the gateway is running.

Benefits:

  • Simplifies dynamic discovery and scaling of MCP servers.
  • Eliminates downtime or restarts when new servers are introduced.
  • Makes the gateway more flexible in multi-server/multi-agent environments.

Also, I am open to contributing. Please let me know if I can be of any help
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions