Multi-tenant MCP Server

by brianintegrationapp

436 downloads
Not rated
GitHub

About

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

Details

Author
brianintegrationapp
Downloads
436
Categories
Other, API

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Multi-tenant MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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

Features

- Multi-tenant support with isolated connections
- Database persistence for tenant information
- Live tool discovery from Integration App
- Audit logging
- Rate limiting and security middleware
- Health check endpoint
- Graceful shutdown handling

Prerequisites

- Node.js >= 18.0.0
- PostgreSQL database
- Integration App account and credentials

Environment Variables

Create a .env file with the following variables:

```env

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.