mcp-server-db
A universal MCP server enabling AI assistants to query and manage six database engines (Postgres, Redis, Elasticsearch, MySQL, MongoDB, LDAP) through 113+ tools with read-only safety and fault tolerance.
Install
npx -y mcp-server-db
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"mcp-db-server": {
"command": "npx",
"args": [
"-y",
"mcp-server-db"
],
"env": {
"LDAP_URL": "<LDAP_URL>",
"MYSQL_URL": "<MYSQL_URL>",
"REDIS_URL": "<REDIS_URL>",
"MONGODB_URL": "<MONGODB_URL>",
"LDAP_BIND_DN": "<LDAP_BIND_DN>",
"POSTGRES_URL": "<POSTGRES_URL>",
"LDAP_READ_ONLY": "<LDAP_READ_ONLY>",
"MYSQL_READ_ONLY": "<MYSQL_READ_ONLY>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.