69
/ 100
15 days ago
glama

Database Assistant MCP Server

Enables read-only exploration and querying of PostgreSQL or MySQL databases via MCP, with schema discovery, safe SQL validation, natural language to SQL conversion, and CSV export.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 2 credentials: DB_PASSWORD, OPENAI_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configDB_HOSTYes — Database hostname or RDS endpoint
configDB_PORTNo 5432 Database port
configDB_NAMEYes — Database name
configDB_USERYes — Database user (use a read-only user)
🔐 secretDB_PASSWORDYes — Database password
configDB_TYPENo postgresql postgresql or mysql
configALLOWED_SCHEMASNo (all) Comma-separated schema allowlist
configQUERY_TIMEOUTNo 10 Max query execution time (seconds)
configMAX_ROWSNo 1000 Maximum rows returned per query
configCSV_EXPORT_DIRNo /tmp/db_exports Directory for CSV exports
configOPENAI_BASE_URLNo — LLM API endpoint (for generate_sql)
🔐 secretOPENAI_API_KEYNo — LLM API key (for generate_sql)
configMODELNo bedrock.claude-sonnet-4-6 LLM model ID
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/vinycoolguy2015-database-mcp-server-17vvv0)](https://m8ven.ai/mcp/vinycoolguy2015-database-mcp-server-17vvv0)
commit: 042ecc38a59078d37cd1afcda980a431f4056cf7
code hash: b04f5f4538ee17ef97398f5b04ce381730e2a69fbc0eb0d363d0addd014824bb
verified: 7/16/2026, 8:40:17 AM
view raw JSON →