Databases (read-only, switchable)
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
Open the source (opens github.com) https://github.com/shibbirweb/mcp-db-read-only
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: DB_PASSWORD, DB_PROFILES, MYSQL_PASSWORD. Use a key with the least access you can.
What it is
MCP servers from io.github.shibbirweb.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
@shibbirweb/mcp-db-read-only@1.1.0
From the server's entry in the official MCP Registry
oci package (stdio)
docker.io/shibbirweb/mcp-db-read-only:1.1.0
From the server's entry in the official MCP Registry
Settings it asks for
DB_URL· Connection URL to open at startup, e.g. postgres://user@host:5432/db, mongodb://user@host/db, redis://host:6379/0 or sqlite:///data/app.dbDB_PASSWORDsecret · Password for DB_URL, so it need not be percent-encoded inside the URLDB_PROFILESsecret · JSON object of named connections to switch between, each a URL or {"url", "password"}DB_DEFAULT_PROFILE· Which DB_PROFILES entry to start onDB_CONNECT_TIMEOUT_MS· Connection timeout in milliseconds. Defaults to 10000DB_QUERY_TIMEOUT_MS· Server-side query timeout in milliseconds. Defaults to 30000DB_LOG· true logs every tool call, its statements and full output to stderr. Off by defaultDB_LOG_FILE· Log every tool call to this file instead. Implies DB_LOGDB_LOG_DIR· Save every tool call as its own JSON file in this folder, permanently. Implies loggingDB_LOG_FORMAT· pretty (default) or json, one object per lineDB_LOG_PORT· Serve a live log viewer in the browser on this port. Needs DB_LOG_DIR, DB_LOG or DB_LOG_FILE. No access controlDB_LOG_HISTORY· Entries the viewer keeps in memory when DB_LOG_DIR is not set. Defaults to 500
Related
-
MySQL (read-only, switchable)
MCP serversRead-only MySQL access, with the database and server switchable mid-conversation.
@shibbirweb/mcp-mysql-read-only@1.1.6 -
bilance
MCP serversYour Bilance finances: spending, budgets, net worth. Optional edits, switchable. Never moves money.
-
DataNexa
MCP serversDataNexa is a local, read-only database MCP gateway for AI agents. It routes SQLite, MySQL, PostgreSQL, and any JDBC-compatible database through a single localhost endpoint, enforces read-only access via SQL AST validation with row, time, and connection limits, and keeps a local audit trail of every query.
git clone https://github.com/MingoZacwu/DataNexa.git -
cubrid-mcp-server
MCP serversA Model Context Protocol (MCP) server for CUBRID database — enabling LLMs to inspect schemas and execute read-only queries via pycubrid.
git clone https://github.com/cubrid-lab/cubrid-mcp-server.git -
database-mcp-sqlite
MCP serversMCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
@database-mcp/sqlite@0.5.0 -
AI for Database
MCP serversAsk your databases questions in plain English, run read-only SQL and set up data alerts.