Логотип Supermcp

Supermcp

Сообщество
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.

Издательdhanababum
Репозиторийsupermcp
ЯзыкPython
Форки
8
Звёзды
63
Доступные инструменты
0
Тип транспортаstdio
ЛицензияMIT
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Supermcp предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 63, форки: 8 — в связанном репозитории.

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!

Используйте MCP Supermcp с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Supermcp вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Supermcp как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Supermcp.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "supermcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Supermcp, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Supermcp.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Supermcp?
Supermcp
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Supermcp.

Часто задаваемые вопросы

Для чего используется сервер MCP Supermcp?

Supermcp — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Supermcp с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Supermcp с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Supermcp с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Supermcp, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Supermcp к TypingMind?

Supermcp работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP Supermcp в TypingMind?

Supermcp предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Supermcp?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Supermcp требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇