Building hub-and-spoke topology #1986
Unanswered
kornicameister
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I am playing around with the idea of having a proxy mcp server (later referenced as proxy_ over another mcp server ( referenced as business ). My idea is getting my proxy augmenting tools from business server by adding argument to each tool called client_id. Proxy, knowing client id, must perform credentials resolution that business server expects. I can add client_id just fine with the help of middleware but having heated discussion with myself how to push credentials into business server so that:
it has access them via env variables (cant modify business mcp server, it just uses those creds via environ)
but it is written in python, same as my code, so I can import FastMCP instance from their code and push it into FastMcp.as_proxy
there's a code that loads the client in business mcp server, tried patching, but I think we're too late to the party to patch the client instance and even if I figure that one out I will still be having problems with the fact that I should actually have business mcp server per client ID and have proxy mcp server route to appropriate business mcp server based on said clientId + do the credentials resolution and push-em into environ !!!
Has anyone done something like that yet??
Beta Was this translation helpful? Give feedback.
All reactions