Skip to content
Agentmart
Submit a tool

Custom MCP Database

Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.

Connector by renanlido · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 3
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/renanlido-custom-mcp-database

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run alias-based queries against PostgreSQL, MySQL, MongoDB and Oracle without exposing credentials.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
3 read · 1 write · 2 delete
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 6

Read from the source code; the running server may list different tools.

Read 3 · Look things up without changing anything.

  • db_list_aliases
  • db_list_collections
  • db_security_status

Write 1 · Create, change, send or run things.

  • db_add_database

Delete 2 · Delete, drop, revoke or wipe things.

  • db_execute_query
  • db_remove_database

Tools (6)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • db_add_databaseAdd database connection (by reference)

    Add (or replace) a database connection by *reference* (no plaintext secrets). Pass secrets by reference only: ``password_env``/``password_file`` for SQL, ``uri_env``/``uri_file`` for MongoDB. The actual secret is resolved from the named environment variable or file at connection time and is never sent through the agent.

  • db_execute_queryExecute database querycan change or delete data

    Run a query against a configured database. SQL (postgres/mysql/oracle): pass the SQL string in ``query`` and optional bind values in ``params`` (use the driver's placeholder style; Oracle uses ``:name``). Add your own LIMIT/WHERE to keep results small. MongoDB: pass a JSON filter object in ``query`` and the ``collection`` name. 24-char hex strings are coerced to ObjectId; empty filters are rejected; results are capped at ``limit`` documents (default 10). Returns: {"data": [...], "row_count": int} (plus "error" on a rejected empty Mongo filter)

  • db_list_aliasesList database aliasesread-only

    List every configured database alias and its type. Returns: {"aliases": [{"alias": str, "type": "postgres|mysql|mongo|oracle"}, ...]}

  • db_list_collectionsList MongoDB collectionsread-only

    List all collections for a configured MongoDB alias. Returns: {"collections": [str, ...]}

  • db_remove_databaseRemove database connectioncan change or delete data

    Remove a configured database connection by alias.

  • db_security_statusShow security policyread-only

    Report the active security policy. Returns: {"readonly": bool, "allow_writes": bool, "allow_ddl": bool, "max_rows": int, "mongo_javascript_blocked": bool}

Signals

Stars
3
Forks
0
Open issues
0
Weekly downloads
71
Last commit
Jun 20, 2026 (4 months ago)
Last release
Jun 20, 2026 (4 months ago)
Last package publish
Jun 20, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.renanlido/custom-mcp-database
Version
0.6.2
Auth
No auth
Packages
pypi custom-mcp-database
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from renanlido

Cite this page

Custom MCP Database. Agent Mart. https://agentmart.dev/connectors/renanlido-custom-mcp-database (last updated 2026-10-24)