Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 14, 2026·2 min de lecture

SmartDB_MCP — Universal Database MCP Gateway

Universal database MCP gateway (MySQL/Postgres/Oracle/SQL Server) with role-based SQL permissions + health checks; verified 79★, pushed 2025-09-14.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Pip|Docker
Confiance
Confiance : Established
Point d'entrée
pip install SmartDB-MCP
Commande CLI universelle
npx tokrepo install 087455c7-adbc-56c8-8156-f035cb58b33b
Introduction

Universal database MCP gateway (MySQL/Postgres/Oracle/SQL Server) with role-based SQL permissions + health checks; verified 79★, pushed 2025-09-14.

Best for: Teams who want a single MCP gateway for multiple databases with explicit role permissions (readonly/writer/admin)

Works with: Multiple DBs (README list includes MySQL/PostgreSQL/Oracle/SQL Server) and MCP clients (stdio/sse/streamableHTTP)

Setup time: 20-40 minutes

Key facts (verified)

  • GitHub: 79 stars · 18 forks · pushed 2025-09-14.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: pip install SmartDB-MCP.

Main

  • Start with a readonly role: README’s permission examples list SELECT/SHOW/DESCRIBE/EXPLAIN as the safe baseline for agent DB access.

  • Promote to writer/admin only for scoped tasks: keep agent workflows narrow and require human approval for schema changes.

  • Use it as a gateway, not a superuser: store DB creds in an envfile and mount config as read-only where possible.

  • Pair it with query review: use EXPLAIN + index/health tools (as listed in README tool list) before running heavy statements.

Source-backed notes

  • README lists supported databases and includes a tool list (execute_sql, health checks, schema/index tools, SQL optimize, etc.).
  • README shows pip install: pip install SmartDB-MCP and a start command example using smartdb --envfile=... --oauth=true.
  • README shows role permission control examples for readonly/writer/admin SQL command sets.

FAQ

  • Can I force read-only access?: Yes — README includes a readonly permission set limited to SELECT/SHOW/DESCRIBE/EXPLAIN.
  • Which transport modes are supported?: README mentions stdio, sse, and streamableHTTP modes.
  • How do I deploy quickly?: README provides docker-compose steps (up/ps/logs) and a manual docker build/run example.
🙏

Source et remerciements

Source: https://github.com/wenb1n-dev/smartdb_mcp > License: MIT > GitHub stars: 79 · forks: 18

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires