4 ms·
Very interesting! Does this support dynamic bindings like Cloudflare Workers or what would be the mechanism to inject dependencies?
by randomoctopus 11mo ago
Very interesting! Does this support dynamic bindings like Cloudflare Workers or what would be the mechanism to inject dependencies?
- pmkelly4444 11mo agono dependency injection at the moment... this is something we are exploring. adding dependencies would require rebuilding the execution runtime, which is something we want to open up in the framework soon
- randomoctopus 11mo agoI'm asking because of multi-user scenarios where each MCP tool call requires authentication to 3rd-party APIs. Having a quick way to spin up the MCP "Server" with the correct credentials is not something I've seen a good solution to.
- pmkelly4444 11mo agogot it, yes so currently this is built just for one user - one set of credentials, but passing user credentials through is something we want to add. thinking a native connection to cloud auth managers is the best way to do this (clerk, auth0, etc.)