Replies: 2 comments
-
|
@jlowin ++ |
Beta Was this translation helpful? Give feedback.
-
|
Hi @awsplato! Came here to say that we are also interested in a multi-tenant setup of FastMCP. Have you made any progress in your research since you posted here? For context, my team is building an MCP functionality for our product which has thousands of customers, each with their own Authorization Server. Deploying a set of single tenant MCP servers for that many customers is something we'd want to avoid, especially given how much traffic these web servers are able to handle. Instead, we'd like to at least make the Auth piece support dynamic tenant configuration, and ideally have session management implement multi-tenant best practices. We're happy to contribute to that effort as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi FastMCP Team & Community,
We're in the process of integrating FastMCP into a production-grade AI application for an enterprise client, and we're evaluating the best approach to do so securely and scalably in a multi-tenant environment.
Context
Our Use Case with FastMCP
We're considering using FastMCP to manage and invoke MCP servers (e.g., Microsoft-provided tools). However, we face a few architectural requirements and constraints:
❓ Key Questions & Needs
1. Secret Management Without Env Variables
Some MCP servers (like Microsoft’s) rely on environment variables for credentials and config.
In our setup:
Q: Can FastMCP be extended or configured to support secret retrieval dynamically (e.g., via a wrapper or plugin) before invoking the MCP server?
2. Custom Access Control per Tool
Before invoking any MCP tool, we need to validate:
Q: Is there a recommended way to introduce custom logic/hooks in FastMCP for access checks and request pre-processing before the MCP server is called?
3. Best Practices for Multi-Tenant Systems
Q: Has anyone in the community implemented FastMCP in a multi-tenant setup? Any best practices or architectural guidance?
What We're Considering
We may end up:
But we’d love to avoid duplicating logic if FastMCP supports (or could support) such extensibility natively.
🙏 Ask to the Community
We’d really appreciate any insights, advice, or examples from others who have used FastMCP in secure, multi-tenant environments.
We’re happy to contribute back anything we build if it’s useful to the broader community.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions