universal db mcp for Claude Desktop
io.github.fashad-ahmed/universal-db-mcp
Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.
client:Claude Desktop
transport:stdio
runtime:pypi
Install universal db mcp in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"universal-db-mcp": {
"command": "uvx",
"args": [
"universal-db-mcp"
],
"env": {
"POSTGRES_URI": "<POSTGRES_URI>",
"SQLITE_PATH": "<SQLITE_PATH>",
"MYSQL_URI": "<MYSQL_URI>",
"DUCKDB_PATH": "<DUCKDB_PATH>",
"ALLOW_DESTRUCTIVE": "<ALLOW_DESTRUCTIVE>",
"MAX_RESULT_ROWS": "<MAX_RESULT_ROWS>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs