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.
其他 分类下的更多 MCP 服务器
Awesome Mlops
visengerA curated list of references for MLOps
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
评论