Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add custom-database -- uvx custom-mcp-database~/.codex/config.toml
[mcp_servers.custom-database]
command = "uvx"
args = ["custom-mcp-database"]
# codex mcp add custom-database -- uvx custom-mcp-database~/.cursor/mcp.json
{
"mcpServers": {
"custom-database": {
"command": "uvx",
"args": [
"custom-mcp-database"
]
}
}
}.vscode/mcp.json
{
"servers": {
"custom-database": {
"type": "stdio",
"command": "uvx",
"args": [
"custom-mcp-database"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"custom-database": {
"command": "uvx",
"args": [
"custom-mcp-database"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"custom-database": {
"command": "uvx",
"args": [
"custom-mcp-database"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"custom-database": {
"command": "uvx",
"args": [
"custom-mcp-database"
]
}
}
}