SkillTide Submit
Official description3 sourcesMCP servers3d ago
haymon-ai/database

haymon-ai/database

๐Ÿฆ€ ๐Ÿ  - Single-binary MCP server for MySQL, MariaDB, PostgreSQL & SQLite with zero runtime dependencies
View on GitHub โ†—Direct link ยท no redirect page
Source
collected from the rohitg00/awesome-devops-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-14 ยท last seen 2026-10-16 ยท seen 4ร— ยท listed by 3 sources
Score
score 303 ยท 3 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆœๅŠก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-10-14๏ผ›last seen 2026-10-16ใ€‚There is no official certification or quality rating here โ€” we record sources and dates only.
Third-party quality signals

Database MCP

ไปฅไธ‹ๆ‘˜ๅฝ•่‡ช่ฏฅไป“ๅบ“็š„ README๏ผˆ็‰‡ๆฎต๏ผ‰ ยท ๅœจ GitHub ่ฏปๅฎŒๆ•ด README โ†’

A single-binary MCP server for SQL databases. Connect your AI assistant to MySQL/MariaDB, PostgreSQL, or SQLite with zero runtime dependencies.
**Website** ยท **Documentation** ยท **Releases**
Features โœจ
- **Multi-database** โ€” MySQL/MariaDB, PostgreSQL, and SQLite from one binary
- **MCP tools** โ€” schema discovery (listDatabases, listTables, listViews, listTriggers, listFunctions, listProcedures, listMaterializedViews), data access (readQuery, writeQuery), DDL (createDatabase, dropDatabase, dropTable), and explainQuery. Read-only mode hides the write tools (writeQuery, createDatabase, dropDatabase, dropTable). See MCP Tools for per-backend availability.
- **Single binary** โ€” ~7 MB, no Python/Node/Docker needed
- **Multiple transports** โ€” stdio (for Claude Desktop, Cursor) and HTTP (for remote/multi-client)
- **Two-layer config** โ€” CLI flags > environment variables, with sensible defaults per backend
Install ๐Ÿ“ฆ
**macOS, Linux, WSL**:
**Windows PowerShell**:
**Windows CMD**:
See the installation docs for Docker, Cargo, and other methods.
Quick Start ๐Ÿš€
Using .mcp.json (recommended)
Add a .mcp.json file to your project root. MCP clients read this file and configure the server automatically.
**Stdio transport** โ€” the client starts and manages the server process:
**HTTP transport** โ€” you start the server yourself, the client connects to it:
> **Note:** The "type": "http" field is required for HTTP transport. Without it, clients like Claude Code will reject the config.
To require a bearer token, start the server with HTTP_AUTH_TOKEN and send it from the client:
Using CLI flags
> **Warning:** Binding a non-loopback address (e.g. --host 0.0.0.0) exposes the database to anyone who can reach the port. dbmcp refuses to start in that case unless HTTP_AUTH_TOKEN is set. The Host/Origin allowlists protect against browser DNS rebinding only โ€” they are **not** authentication.
Using environment variables
Configuration โš™๏ธ
Configuration is loaded with clear precedence:
**CLI flags > environment variables > defaults**
Environment variables are typically set by your MCP client (via env or envFile in the server config).
Subcommands
| Subcommand | Description |
|------------|-------------|
| stdio | Run in stdio mode |
| http | Run in HTTP/SSE mode |
| version | Print version information and exit |
A subcommand is required โ€” running dbmcp with no subcommand prints usage help and exits with a non-zero status.
Database Options (shared across subcommands)
| Flag | Env Variable | Default | Description |
|------|-------------|---------|-------------|
| --db-backend | DB_BACKEND | *(required)* | mysql, mariadb, postgres, or sqlite |
| --db-host | DB_HOST | localhost | Database host |
| --db-port | DB_PORT | backend default | 3306 (MySQL/MariaDB), 5432 (PostgreSQL) |
| --db-user | DB_USER | backend default | root (MySQL/MariaDB), postgres (PostgreSQL) |
| --db-password | DB_PASSWORD | *(empty)* | Database password |
| --db-name | DB_NAME | *(empty)* | Database name or SQLite file path |
| --db-charset | DB_CHARSET | | Character set (MySQL/MariaDB only) |
SSL/TLS Options
| Flag | Env Variable | Default | Description |
|------|-------------|---------|-------------|
| --db-ssl | DB_SSL | false | Enable SSL |
| --db-ssl-ca | DB_SSL_CA | | CA certificate path |
| --db-ssl-cert | DB_SSL_CERT | | Client certificate path |
| --db-ssl-key | DB_SSL_KEY | | Client key path |
| --db-ssl-verify-cert | DB_SSL_VERIFY_CERT | true | Verify server certificate |
Server Options
| Flag | Env Variable | Default | Description |
|------|-------------|---------|-------------|
| --db-read-only | DB_READ_ONLY | true | Block write queries |
| --db-max-pool-size | DB_MAX_POOL_SIZE | 5 | Max connection pool size (min: 1) |
| --db-connection-timeout | DB_CONNECTION_TIMEOUT | *(unset)* | Connection timeout in seconds (min: 1) |
| --db-query-timeout | DB_QUERY_TIMEOUT | 30 | Query execution timeout in seconds |
| --db-page-size | DB_PAGE_SIZE | 100 | Max items per paginated tool response (range 1โ€“500) |
Logging Options
| Flag | Env Variable | Default | Description |
|------|-------------|---------|-------------|
| --log-level | LOG_LEVEL | info | Log level (trace/debug/info/warn/error) |
HTTP-only Options (only available with http subcommand)
Source
awesome ยท https://github.com/haymon-ai/database
Browse by field
MCP servers
added
yesterday

More in MCP servers

All 5,525 in MCP servers โ†’

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields โ†’

โ† Back to index