← Back to context

Comment by randomoctopus

3 months ago

Very interesting! Does this support dynamic bindings like Cloudflare Workers or what would be the mechanism to inject dependencies?

no 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

  • I'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.

    • got 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.)