Skip to content

Commit f98d0be

Browse files
committed
Add design proposal for K8s-aware vMCP with dynamic backend discovery
The vMCP implementation currently has duplicated logic between the operator and vMCP server. The operator discovers backends, resolves ExternalAuthConfigs, and embeds backend configuration into a ConfigMap. Meanwhile, the vMCP server has its own discovery code but only loads config statically from the ConfigMap at startup. This duplication creates inconsistency risk, requires pod restarts for backend changes to take effect, and has grown the operator complex with auth resolution logic scattered across components. This proposal flips responsibilities: the operator becomes a "dumb" infrastructure manager handling only Deployment/Service/RBAC, while vMCP becomes "smart" by running controller-runtime with informers to watch MCPServer/ExternalAuthConfig/Secret resources directly. Relates-to: #2855
1 parent 892043f commit f98d0be

File tree

1 file changed

+540
-0
lines changed

1 file changed

+540
-0
lines changed

0 commit comments

Comments
 (0)