Custom Database MCP server
io.github.renanlido/custom-mcp-database·v0.6.2·3 starsRun alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.
3 stars28 downloads/wk
Reviews
Write oneNobody has reviewed Custom Database yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Custom Database tools (4, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
db_execute_querywrite actionRun a query against a configured database.
db_list_aliasesList every configured database alias and its type.
db_list_collectionsList all collections for a configured MongoDB alias.
db_security_statusReport the active security policy.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 57 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Custom Database compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 802 Databases servers
- Tools
- 4
- the typical Databases server has 8
- Tools that change things
- 25%
- typical: 10%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 65% of 601 Databases servers
- Downloads a week
- 28
- more than 15% of 324 Databases servers with a package
What its tools let an agent do: 3 read · 1 change
Install Custom Database in Claude Code, Cursor or VS Code
claude mcp add custom-mcp-database -- uvx custom-mcp-database
What the publisher says
From the Custom Database repository's README, as published. We do not edit it. Read it on GitHub
Custom MCP Database
<!-- MCP Registry ownership proof — required to publish to registry.modelcontextprotocol.io --> mcp-name: io.github.renanlido/custom-mcp-database
An MCP server that lets AI agents run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle — without ever exposing credentials to the model. Connections are configured once and stored locally; the agent only ever references them by alias.
Works with Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI, and any other MCP client (all use the same stdio launch command).
Quickstart
There are two roles, on purpose. Keeping them separate is what stops your DB password from ever reaching the model.
You (once, in your terminal) — install the credentials
The agent never installs credentials. You do, with the CLI. The secret stays on your machine and is never sent to the model.
Easiest way — the guided wizard (asks type, host, user, and how to supply the secret; optionally tests the connection):
uvx custom-mcp-database setupOr do it in one line (you'll be prompted for the password — hidden input):
uvx custom-mcp-database add-db --alias prod_ro --type postgres \
--host db.internal --port 5432 --user reporting --dbname app
uvx custom-mcp-database list-aliases # confirm it's thereThe agent (always) — uses it by alias
Point your MCP client at the server (see Install), then just ask:
"Using prodro, run SELECT count() FROM orders."
The agent calls dbexecutequery with the alias prod_ro — never a host, user, or password. It physically cannot see the credentials; they live in your local config, resolved only inside the server process at query time.
Why the agent can't add the DB: an MCP tool's arguments are produced and read by the LLM. If the agent typed your password into an add tool, that password would land in the model's context, the provider, and the logs. So credential setup is a human/CLI step by design. (Need an agent to wire connections in an automated pipeline? See MCPDBALLOWADMINTOOLS in SECURITY.md — even then it only accepts a reference to a secret, e.g. an env-var name, never the secret itself.)
Writes are off by default (read-only). To allow them for a task: export MCPDBREADONLY=0 MCPDBALLOW_WRITES=1.
Install
The server runs over stdio. The universal launch command is uvx custom-mcp-database run (requires uv; the package is fetched from PyPI on first run).
Claude Code
# Direct (published package)
claude mcp add custom-mcp-database -- uvx custom-mcp-database run
# Or install the full plugin from this repo's marketplace
/plugin marketplace add renanlido/custom-mcp-database
/plugin install custom-mcp-database@renanlido-mcpClaude Desktop
Two options:
- One-click bundle — build the .mcpb (mcpb pack) and open it in Claude Desktop. See Distribution.
- Manual config — add the snippet from examples/mcp-clients/claude-desktop.json to claudedesktopconfig.json.
Other clients
Copy the matching snippet — all use the same command/args, only the file and key differ:
Full client matrix and a local-checkout variant: examples/mcp-clients/README.md.
Configure connections
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Custom Database: common questions
- Is Custom Database MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Custom Database safety report
- How do I install Custom Database?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Custom Database need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Custom Database maintained?
- The last commit was 93 days ago (2026-08-01). The latest release is v0.6.2.
- What can I use instead of Custom Database?
- Servers from other publishers that do the same job: DBHub MCP server, Faucet MCP server and NeoSQL MCP server.
- How does Custom Database compare with other Databases MCP servers?
- safety score 88/100 (higher than 75% of 802 Databases servers); tools 4 (the typical Databases server has 8); tools that change things 25% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Custom Database
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
NeoSQL MCPSchemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.not reviewedGrowingA- Neo4j CypherA simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.not reviewedEstablishedA
- AppwriteBuild and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDNnot reviewedEstablishedA