MCP.so
Sign In

Multi-tenant MCP Server

@brianintegrationapp

About Multi-tenant MCP Server

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

Basic information

Category

Other

Runtime

node

Transports

stdio

Publisher

brianintegrationapp

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Other MCP servers