Unified Multi-Tenant MCP
Provides multi-tenant access to Odoo backend systems, routing authenticated users to their tenant-specific Odoo instance via configurable URL, database, and API key credentials.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unified Multi-Tenant MCPshow my tenant, role, and permissions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unified Multi-Tenant MCP
This project implements the architecture where all tenants use one public MCP endpoint:
https://mycompany.com/mcpThere is no public tenant-specific MCP URL such as:
/mycompany.com/peltierpro/mcp
/mycompany.com/zenbiz/mcpInstead, the authenticated user/session resolves:
user -> tenant -> role -> permissions -> tenant integrationExisting tenants
PeltierPro
ZenBiz
Related MCP server: mcp-tenant-pair
Why the per-project public URLs were removed
The previous PELTIERPRO_PUBLIC_URL and ZENBIZ_PUBLIC_URL values are redundant in a single-gateway architecture.
Only one global public MCP endpoint is required:
MCP_PUBLIC_BASE_URL=https://mycompany.com
MCP_PUBLIC_PATH=/mcpHowever, these are not redundant and remain tenant-specific:
PELTIERPRO_ODOO_URL=...
PELTIERPRO_ODOO_DATABASE=...
PELTIERPRO_ODOO_API_KEY=...
ZENBIZ_ODOO_URL=...
ZENBIZ_ODOO_DATABASE=...
ZENBIZ_ODOO_API_KEY=...Those values point to different backend systems/credentials.
Identity modes
The project is prepared for:
shared
individual
hybridhybrid is recommended while migrating from one shared AI account to individual Business/Enterprise seats.
Shared account
Shared Claude/ChatGPT account
|
v
Your internal employee login
|
v
Internal user
|
v
Tenant + role + permissionsIndividual seat
Employee's Claude/ChatGPT seat
|
v
OAuth / SSO identity
|
v
Internal user mapping
|
v
Tenant + role + permissionsCurrent bootstrap mode
OAuth is disabled in the provided .env.
For development only, the project contains:
system_bootstrap_as_tenantso you can select peltierpro or zenbiz and test tenant routing.
Remove/disable this tool when real OAuth/SSO middleware is implemented.
Next production step
Replace bootstrap context with validated OAuth/SSO claims such as:
{
"sub": "user_123",
"tenant_id": "peltierpro",
"role": "sales_manager",
"identity_mode": "individual"
}For a shared AI account, your own internal login can issue equivalent claims after the employee signs in.
Security note
The generated .env contains credentials supplied for this project and is excluded by .gitignore.
Do not commit .env to a Git repository.
mcp-zenbizsolutions
Railway runtime compatibility
This project is pinned to MCP Python SDK 1.x with mcp>=1.12.0,<2.
FastMCP 1.x requires host and port to be assigned through mcp.settings before calling run(). Railway's injected PORT variable is preferred automatically, with MCP_PORT as the local fallback. MCP_PUBLIC_BASE_URL is also normalized to HTTPS when entered without a scheme.
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
Remote MCP for A2A caller identity, scope policy, verdict receipts, and audit history.
Give AI agents identity, permissions, and reusable proof through one MCP.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceAggregates multiple MCP servers behind a single, secure endpoint with unified tool/resource discovery, OAuth authentication, and resilient request routing. Enables users to manage and interact with multiple MCP backends through one centralized interface with load balancing and circuit breakers.2-
- AlicenseNot gradedqualityAmaintenanceManages multi-user tenancy for consumer MCP servers, enabling pair creation, invite flows, identity-separated state, and conflict resolution.MIT
- AlicenseNot gradedqualityBmaintenanceEnables dynamic aggregation of multiple MCP servers into a unified endpoint with middleware, orchestration, and gateway capabilities.MIT
- AlicenseNot gradedqualityCmaintenanceEnables clients to access multiple backend MCP servers through a single endpoint, with OAuth 2.1 authorization, namespaced tools, and secure credential management.MIT