MCP.so
ログイン

Multi-tenant MCP Server

@brianintegrationapp

基本情報

カテゴリ

その他

トランスポート

stdio

作者

brianintegrationapp

Multi-tenant MCP Server について

Multi-tenant service that allows MCP Clients to connect to Integration App's MCP Server

Multi-tenant MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcpservice": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-service",
        "."
      ]
    }
  }
}

Multi-tenant MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What are the prerequisites to run the server?

Node.js >= 18.0.0, a PostgreSQL database, and an Integration App account with credentials.

2

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.

3

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"}`.

4

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

5

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.

コメント

「その他」の他のコンテンツ