Logotipo de Supermcp

Supermcp

Comunidad
dhanababum

🚀 SuperMCP - Create multiple isolated MCP servers using a single connector. Build powerful Model Context Protocol integrations for databases (PostgreSQL, MSSQL) with FastAPI backend, React dashboard, and token-based auth. Perfect for multi-tenant apps and AI assistants.

Editordhanababum
Repositoriosupermcp
IdiomaPython
Forks
8
Estrellas
63
Herramientas disponibles
0
Tipo de transportestdio
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Supermcp ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    63 estrellas y 8 forks en el repositorio enlazado.

SuperMCP

A comprehensive platform for creating, deploying, and managing Model Context Protocol (MCP) connectors that bridge AI assistants with databases, APIs, and other data sources.

License: MIT Python 3.12+ FastAPI React

📹 Introduction Video

SuperMCP Introduction

SuperMCP new design

🎯 What is SuperMCP?

SuperMCP is a powerful platform that enables you to create multiple isolated MCP servers using a single standalone connector. This unique architecture allows you to:

  • Multi-Server from One Connector: Deploy one connector instance and create unlimited isolated MCP servers with different configurations
  • Isolated Configurations: Each MCP server has its own credentials, connection settings, and security tokens
  • Resource Efficient: Share connection pools and resources across servers while maintaining isolation
  • Simplified Management: Manage all your database connections from a single connector deployment

How It Works

Instead of deploying multiple connector instances for different databases, SuperMCP lets you:

  1. Deploy Once: Set up a single PostgreSQL or MSSQL connector
  2. Create Multiple Servers: Configure as many isolated MCP servers as needed
  3. Independent Access: Each server operates independently with its own tokens and credentials
  4. Centralized Control: Manage everything from one unified dashboard

This approach dramatically reduces infrastructure complexity while providing maximum flexibility for multi-tenant applications, development environments, and enterprise deployments.

🏗️ Architecture

SuperMCP consists of three main components working together:

┌─────────────────────────────────────────────────────────────────┐
│                     Frontend (React + Tailwind)                 │
│                      http://localhost:3000                      │
│  • Connector Management  • Server Configuration                │
│  • Visual Dashboard      • Real-time Monitoring                │
└──────────────────────┬──────────────────────────────────────────┘
                       │
                       │ REST API
                       ▼
┌─────────────────────────────────────────────────────────────────┐
│                    Backend (FastAPI + SQLModel)                 │
│                      http://localhost:9000                      │
│  • User Authentication    • Connector Registry                 │
│  • Configuration Storage  • API Endpoints                      │
│  • Server Management      • Token Management                   │
└──────────────────────┬──────────────────────────────────────────┘
                       │
                       │ MCP Protocol
                       ▼
┌─────────────────────────────────────────────────────────────────┐
│                    Connectors (Microservices)                   │
│  PostgreSQL (:8027) │ MSSQL (:8028) │ Custom Connectors        │
│  • Connection Pooling  • Async Operations                      │
│  • Schema Introspection • Query Execution                      │
│  • Transaction Support  • Tool Registration                    │
└─────────────────────────────────────────────────────────────────┘

🚀 Key Features

Database & Integration

  • Database Connectors: Production-ready connectors for PostgreSQL, MSSQL with connection pooling, async operations, and schema introspection
  • MCP Protocol: Full Model Context Protocol implementation for standardized tool registration and execution
  • API Integration: RESTful API for programmatic access with FastAPI-Users authentication
  • Multi-Server Support: Single connector managing multiple server instances with independent configurations

Security & Management

  • Secure Data Layer: Securely connect to your data sources with encrypted credential storage and protected token-based authentication
  • Authentication & Authorization: All servers are fully protected by token-based authentication with granular access control
  • Visual Management: Intuitive React-based dashboard for managing connectors, servers, tokens, and configurations
  • Schema Validation: Pydantic-based validation with auto-generated forms and type safety

Performance & Deployment

  • Docker Deployment: Fully containerized with Docker Compose, supporting development and production environments
  • Connection Pooling: Intelligent connection pooling with LRU eviction, TTL management, and per-server limits
  • Custom Tools: Create custom tools using templates defined by connectors for reusable workflows
  • Custom Connectors: Build custom connectors for any data source and share them with your teams

🎯 Use Cases

  • Multi-Tenant Applications: Create isolated database connections for each tenant with dynamic connector instances and secure credential management
  • Data Integration Hub: Integrate multiple heterogeneous data sources into a unified access layer with standardized tooling
  • API Gateway: Build a centralized gateway for database access with authentication, rate limiting, and monitoring
  • Developer Tools: Provide developers with easy access to database tools, query execution, and schema exploration
  • AI Data Access: Enable AI assistants to query and interact with databases through standardized MCP protocol
  • DataOps Platform: Create a comprehensive platform for database operations, migrations, and management

🛠️ Technology Stack

Backend

  • FastAPI 0.109+ - Modern Python web framework
  • SQLModel 0.0.14+ - SQL databases with Python type hints
  • PostgreSQL 12+ - Database with JSONB support
  • FastAPI-Users - Authentication and user management
  • Alembic - Database migrations
  • Pydantic 2.5+ - Data validation and settings

Frontend

  • React 19 - UI framework
  • Tailwind CSS 3 - Utility-first styling
  • react-jsonschema-form - Dynamic form generation
  • Fetch API - HTTP client for REST calls

Connectors

  • FastMCP - MCP server framework
  • AsyncPG - PostgreSQL async driver
  • aioodbc - MSSQL async driver
  • UV - Fast Python package installer

DevOps

  • Docker & Docker Compose - Containerization
  • Caddy - Reverse proxy and HTTPS
  • PostgreSQL - Primary database

📚 Core Concepts

Connectors

Standalone microservices that implement MCP protocol to interface with specific data sources. Each connector runs independently on its own port.

Servers

Instances of connectors with specific configurations (credentials, host, database). One connector can manage multiple servers.

Tools

Callable operations exposed by connectors (e.g., list_tables, execute_query, test_connection).

Templates

Pre-configured tool patterns with parameter validation for common workflows.

Connection Pools

Managed connection pools with automatic cleanup, LRU eviction, and configurable limits.

🔒 Security Features

Credential Management

  • Encrypted storage in PostgreSQL
  • Never logged or exposed in responses
  • Secure transmission to connectors
  • Support for environment variables

Authentication & Authorization

  • FastAPI-Users authentication
  • Cookie-based sessions
  • JWT token support
  • User role management

Connection Security

  • SSL/TLS for database connections
  • Certificate validation options
  • Encrypted data in transit
  • Secure connection strings

Query Safety

  • Parameterized queries prevent SQL injection
  • Input validation via Pydantic
  • Query timeout limits
  • Permission-based access control

🚦 Quick Start

Prerequisites

  • Python 3.12+
  • Docker & Docker Compose
  • UV package manager
  • Node.js 18+
  • PostgreSQL 12+

Installation

  1. Clone the repository
bash
git clone https://github.com/dhanababum/supermcp.git
cd supermcp
  1. Start the Backend
bash
cd app
uv sync
uv run python src/main.py
# Server runs on http://localhost:9000
  1. Start the Frontend
bash
cd web
npm install
npm start
# Opens http://localhost:3000
  1. Start Connectors
bash
# PostgreSQL Connector
cd connectors/postgres
uv run python main.py

# MSSQL Connector
cd connectors/mssql
uv run python main.py

📖 Documentation

For complete documentation, visit our documentation site or check the /docs directory.

  • Getting Started: Quick setup guide to get SuperMCP running in minutes
  • Architecture: Detailed system architecture and component interactions
  • Connectors Overview: Learn about MCP connectors and how to build your own
  • API Reference: Complete API documentation with examples
  • Development Guide: Local development setup and best practices
  • AI Tools Integration: Integrate SuperMCP with Cursor, Claude Code, and Windsurf

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🌟 Why SuperMCP?

  • Production Ready: Built with enterprise-grade tools like FastAPI, SQLModel, and PostgreSQL
  • Developer Friendly: Beautiful dashboard, comprehensive docs, and extensive examples
  • Extensible: Easy to add new connectors following provided patterns
  • Performant: Async operations, connection pooling, and optimized queries
  • Secure: Authentication, encryption, and query safety built-in
  • Modern Stack: Latest versions of React, FastAPI, and Python 3.12+

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Community & Support

👨‍💻 Author

Dhana Babu


Ready to get started? Follow our Quick Start Guide to have SuperMCP running in minutes!

Usa el MCP de Supermcp con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Supermcp, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Supermcp como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Supermcp.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "supermcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Supermcp y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Supermcp.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Supermcp para ayudarme con esta tarea?
Supermcp
Claro. Lo he leído.
Esto he encontrado usando Supermcp.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Supermcp?

Supermcp es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Supermcp con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Supermcp con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Supermcp con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Supermcp conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Supermcp a TypingMind?

Supermcp funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Supermcp en TypingMind?

Supermcp ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Supermcp?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Supermcp requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇