Back to Home
dhanababum icon

supermcp

by dhanababum

Overview

A multi-tenant SQL database connector for the MCP platform, enabling AI assistants to interact with various SQL databases like PostgreSQL, MySQL, MSSQL, Oracle, Snowflake, and SQLite through a unified interface.

Installation

Run Command
cd connectors/tenants_sqldb && uv run uvicorn main:app --host 0.0.0.0 --port 8026 --workers 4

Environment Variables

  • CONNECTOR_ID
  • CONNECTOR_SECRET
  • APP_BASE_URL
  • ORIGIN_URLS
  • WORKERS
  • PORT

Security Notes

The `app/src/users.py` file, which is part of the core SuperMCP backend that manages connectors, contains a hardcoded `SECRET = "SECRET"` used for password reset and email verification tokens. This is a critical vulnerability that makes user account management insecure. Docker Compose files for development (`docker-compose.dev.yml`, `docker-connectors-compose.yml`) include default placeholder secrets (`mysecretpassword`, `your-super-secret-jwt-key-change-in-production`, `CONNECTOR_SECRET` UUIDs) which must be replaced with strong, unique values in production environments. Good security practices observed include the use of parameterized queries to prevent SQL injection, Pydantic for input validation, bcrypt for hashing connector secrets, and FastAPI-Users for authentication.

Similar Servers

Stats

Interest Score59
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars31
Forks5
Last Update2026-01-18

Tags

Multi-tenantSQL DatabaseConnectorMCP ProtocolAI IntegrationData AccessSQLAlchemy