Back to Home
dhanababum icon

supermcp

by dhanababum

Overview

A multi-tenant platform enabling AI assistants to connect with and manage various SQL databases through standardized connectors and a web-based interface.

Installation

Run Command
cd connectors/tenants_sqldb && pip install -e ".[all]" && uv run python main.py

Environment Variables

  • CONNECTOR_SALT
  • ASYNC_DATABASE_URL
  • JWT_SECRET
  • JWT_ALGO
  • APP_STORAGE_PATH
  • LOGO_STORAGE_TYPE
  • SUPERUSER_EMAIL
  • SUPERUSER_PASSWORD
  • WEB_URL
  • CONNECTOR_ID
  • CONNECTOR_SECRET
  • APP_BASE_URL
  • ORIGIN_URLS
  • WORKERS
  • PORT

Security Notes

Critical vulnerability: The `fastapi-users` library, used for user authentication (login, registration, password reset), is configured with a hardcoded JWT secret (`SECRET = "SECRET"` in `app/src/users.py`). This allows any attacker to easily forge valid user authentication tokens (both JWT bearer and cookie-based), thereby bypassing authentication for regular users and potentially superusers. While the internal communication between the backend and connectors uses a separate, environment-variable-controlled `JWT_SECRET`, the user-facing authentication system is severely compromised. Additionally, logo storage path handling needs careful sanitization to prevent path traversal vulnerabilities, though `os.path.join` provides some protection.

Similar Servers

Stats

Interest Score81
Security Score2
Cost ClassLow
Avg Tokens150
Stars2
Forks0
Last Update2025-12-11

Tags

Multi-tenantSQL DatabaseAI IntegrationConnectorFastAPIReactMicroservicesConnection PoolingDataOps