Databases (read-only, switchable)
io.github.shibbirweb/mcp-db-read-only
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only@1.1.0"
],
"env": {
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>"
}
}
}
}- DB_PASSWORDsecretPassword for DB_URL, so it need not be percent-encoded inside the URL
- DB_PROFILESsecretJSON object of named connections to switch between, each a URL or {"url", "password"}
- MYSQL_PASSWORDsecretLegacy MySQL-only form. Prefer DB_URL with DB_PASSWORD
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Databases
- Version
- 1.1.0
- Registry
- active
- Published
- 9/24/2026
More Databases servers
Browse all Databases →MySQL (read-only, switchable)
shibbirweb
Read-only MySQL access, with the database and server switchable mid-conversation.
io.github.sijunkim/db-gateway
sijunkim
145+ tools across 8 databases: MySQL, PostgreSQL, Redshift, MongoDB, Redis, Kafka, and more
DBeast PostgreSQL MCP
snss10
PostgreSQL MCP server for schema, query, health, security, and performance analysis.
MCP Database Server
Souhar-dya
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
DB MCP Server
stucchi
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
Local Memory
studiomeyer-io
Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.
Add the badge to your site
Show visitors that Databases (read-only, switchable) is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-shibbirweb-mcp-db-read-only?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Databases (read-only, switchable) — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-shibbirweb-mcp-db-read-only?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.