Multi-tenant MCP Server
@brianintegrationapp
Multi-tenant MCP Server について
Multi-tenant service that allows MCP Clients to connect to Integration App's MCP Server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcpservice": {
"command": "docker",
"args": [
"build",
"-t",
"mcp-service",
"."
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Multi-tenant MCP Server?
A multi-tenant Model Context Protocol (MCP) server that enables multiple tenants to connect to Integration App's MCP server with their own isolated credentials, acting as a proxy/router between MCP clients and Integration App.
How to use Multi-tenant MCP Server?
Clone the repository, install dependencies, set environment variables (DATABASE_URL, ADMIN_API_KEY), run database migrations, and start the server. Tenants are created via an admin API, then each tenant can list and execute tools using tenant-specific API keys and JWT tokens.
Key features of Multi-tenant MCP Server
- Multi-tenant support with isolated connections
- Database persistence for tenant information
- Live tool discovery from Integration App
- Audit logging and rate limiting per tenant
- Health check endpoint and graceful shutdown
- Token-based authentication with admin and tenant tokens
Use cases of Multi-tenant MCP Server
- A SaaS platform allowing each customer to connect their own Integration App account
- Securely exposing Integration App tools to multiple teams with separate credentials
- Centralized management of MCP tool access for different business units
- Auditing and rate-limiting tool usage across tenants
FAQ from Multi-tenant MCP Server
What are the prerequisites to run the server?
Node.js >= 18.0.0, a PostgreSQL database, and an Integration App account with credentials.
How do I create a new tenant?
Send a POST request to /api/tenants with an admin JWT token (obtained via /api/auth/token), providing a tenant name, integration key (e.g., hubspot), and the Integration App token.
How do I list tools available to a tenant?
Make a POST request to /api/tenant/:tenantId/tool with both the tenant API key (x-api-key header) and a tenant JWT token (Authorization header), and the JSON body {"method": "listTools"}.
What security features are included?
Rate limiting per tenant, CORS protection, Helmet security headers, request ID tracking, audit logging, and token-based authentication (admin and tenant tokens).
Can I deploy the server to Heroku or Docker?
Yes. For Heroku, create a Heroku app, add the PostgreSQL addon, set environment variables, and push. For Docker, build the image and run with environment variables for DATABASE_URL and ADMIN_API_KEY.
「その他」の他のコンテンツ
ICSS
chokcoco不止于 CSS
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser

EverArt
modelcontextprotocolModel Context Protocol Servers
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
コメント