Databases (read-only, switchable)
Rank #22,306io.github.shibbirweb/mcp-db-read-only
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
What you can do with Databases (read-only, switchable)
Databases (read-only, switchable) is a Model Context Protocol (MCP) server published by shibbirweb. It ranks #22,306 of 176,402 active servers on MCP Toplist. Databases (read-only, switchable) is listed across 2 registries — Official MCP and Glama, with 4 tracked versions. It was first listed on Sep 24, 2026 and most recently updated on Sep 24, 2026.
Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.
What Databases (read-only, switchable) can and cannot do
Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.
What you need before using Databases (read-only, switchable)
The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.
Declared by Glama, last synced Nov 14, 2026. Not independently verified by MCP Toplist.
- DB_URL · optional
- DB_PASSWORD · optional
- DB_PROFILES · optional
- DB_DEFAULT_PROFILE · optional
- DB_CONNECT_TIMEOUT_MS · optional
- DB_QUERY_TIMEOUT_MS · optional
- DB_LOG · optional
- DB_LOG_FILE · optional
- DB_LOG_DIR · optional
- DB_LOG_FORMAT · optional
- DB_LOG_PORT · optional
- DB_LOG_HISTORY · optional
- MYSQL_HOST · optional
- MYSQL_USER · optional
- MYSQL_PASSWORD · optional
- MYSQL_DATABASE · optional
Connect Databases (read-only, switchable) and confirm it works
claude mcp add mcp-db-read-only -e "DB_URL=<your DB_URL>" -e "DB_PASSWORD=<your DB_PASSWORD>" -e "DB_PROFILES=<your DB_PROFILES>" -e "DB_DEFAULT_PROFILE=<your DB_DEFAULT_PROFILE>" -e "DB_CONNECT_TIMEOUT_MS=<your DB_CONNECT_TIMEOUT_MS>" -e "DB_QUERY_TIMEOUT_MS=<your DB_QUERY_TIMEOUT_MS>" -e "DB_LOG=<your DB_LOG>" -e "DB_LOG_FILE=<your DB_LOG_FILE>" -e "DB_LOG_DIR=<your DB_LOG_DIR>" -e "DB_LOG_FORMAT=<your DB_LOG_FORMAT>" -e "DB_LOG_PORT=<your DB_LOG_PORT>" -e "DB_LOG_HISTORY=<your DB_LOG_HISTORY>" -e "MYSQL_HOST=<your MYSQL_HOST>" -e "MYSQL_USER=<your MYSQL_USER>" -e "MYSQL_PASSWORD=<your MYSQL_PASSWORD>" -e "MYSQL_DATABASE=<your MYSQL_DATABASE>" -- npx -y @shibbirweb/mcp-db-read-onlyReplace each placeholder with your own value before saving.
claude mcp add mcp-db-read-only -e "DB_URL=<your DB_URL>" -e "DB_PASSWORD=<your DB_PASSWORD>" -e "DB_PROFILES=<your DB_PROFILES>" -e "DB_DEFAULT_PROFILE=<your DB_DEFAULT_PROFILE>" -e "DB_CONNECT_TIMEOUT_MS=<your DB_CONNECT_TIMEOUT_MS>" -e "DB_QUERY_TIMEOUT_MS=<your DB_QUERY_TIMEOUT_MS>" -e "DB_LOG=<your DB_LOG>" -e "DB_LOG_FILE=<your DB_LOG_FILE>" -e "DB_LOG_DIR=<your DB_LOG_DIR>" -e "DB_LOG_FORMAT=<your DB_LOG_FORMAT>" -e "DB_LOG_PORT=<your DB_LOG_PORT>" -e "DB_LOG_HISTORY=<your DB_LOG_HISTORY>" -e "MYSQL_HOST=<your MYSQL_HOST>" -e "MYSQL_USER=<your MYSQL_USER>" -e "MYSQL_PASSWORD=<your MYSQL_PASSWORD>" -e "MYSQL_DATABASE=<your MYSQL_DATABASE>" -- docker run -i --rm docker.io/shibbirweb/mcp-db-read-only:1.1.0Replace each placeholder with your own value before saving.
[mcp_servers.mcp-db-read-only]
command = "npx"
args = ["-y", "@shibbirweb/mcp-db-read-only"]
[mcp_servers.mcp-db-read-only.env]
DB_URL = "<your DB_URL>"
DB_PASSWORD = "<your DB_PASSWORD>"
DB_PROFILES = "<your DB_PROFILES>"
DB_DEFAULT_PROFILE = "<your DB_DEFAULT_PROFILE>"
DB_CONNECT_TIMEOUT_MS = "<your DB_CONNECT_TIMEOUT_MS>"
DB_QUERY_TIMEOUT_MS = "<your DB_QUERY_TIMEOUT_MS>"
DB_LOG = "<your DB_LOG>"
DB_LOG_FILE = "<your DB_LOG_FILE>"
DB_LOG_DIR = "<your DB_LOG_DIR>"
DB_LOG_FORMAT = "<your DB_LOG_FORMAT>"
DB_LOG_PORT = "<your DB_LOG_PORT>"
DB_LOG_HISTORY = "<your DB_LOG_HISTORY>"
MYSQL_HOST = "<your MYSQL_HOST>"
MYSQL_USER = "<your MYSQL_USER>"
MYSQL_PASSWORD = "<your MYSQL_PASSWORD>"
MYSQL_DATABASE = "<your MYSQL_DATABASE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.mcp-db-read-only]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/shibbirweb/mcp-db-read-only:1.1.0"]
[mcp_servers.mcp-db-read-only.env]
DB_URL = "<your DB_URL>"
DB_PASSWORD = "<your DB_PASSWORD>"
DB_PROFILES = "<your DB_PROFILES>"
DB_DEFAULT_PROFILE = "<your DB_DEFAULT_PROFILE>"
DB_CONNECT_TIMEOUT_MS = "<your DB_CONNECT_TIMEOUT_MS>"
DB_QUERY_TIMEOUT_MS = "<your DB_QUERY_TIMEOUT_MS>"
DB_LOG = "<your DB_LOG>"
DB_LOG_FILE = "<your DB_LOG_FILE>"
DB_LOG_DIR = "<your DB_LOG_DIR>"
DB_LOG_FORMAT = "<your DB_LOG_FORMAT>"
DB_LOG_PORT = "<your DB_LOG_PORT>"
DB_LOG_HISTORY = "<your DB_LOG_HISTORY>"
MYSQL_HOST = "<your MYSQL_HOST>"
MYSQL_USER = "<your MYSQL_USER>"
MYSQL_PASSWORD = "<your MYSQL_PASSWORD>"
MYSQL_DATABASE = "<your MYSQL_DATABASE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-db-read-only:1.1.0"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-db-read-only:1.1.0"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-db-read-only": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"mcp-db-read-only": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-db-read-only:1.1.0"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-db-read-only:1.1.0"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"mcp-db-read-only": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-db-read-only:1.1.0"
],
"env": {
"DB_URL": "<your DB_URL>",
"DB_PASSWORD": "<your DB_PASSWORD>",
"DB_PROFILES": "<your DB_PROFILES>",
"DB_DEFAULT_PROFILE": "<your DB_DEFAULT_PROFILE>",
"DB_CONNECT_TIMEOUT_MS": "<your DB_CONNECT_TIMEOUT_MS>",
"DB_QUERY_TIMEOUT_MS": "<your DB_QUERY_TIMEOUT_MS>",
"DB_LOG": "<your DB_LOG>",
"DB_LOG_FILE": "<your DB_LOG_FILE>",
"DB_LOG_DIR": "<your DB_LOG_DIR>",
"DB_LOG_FORMAT": "<your DB_LOG_FORMAT>",
"DB_LOG_PORT": "<your DB_LOG_PORT>",
"DB_LOG_HISTORY": "<your DB_LOG_HISTORY>",
"MYSQL_HOST": "<your MYSQL_HOST>",
"MYSQL_USER": "<your MYSQL_USER>",
"MYSQL_PASSWORD": "<your MYSQL_PASSWORD>",
"MYSQL_DATABASE": "<your MYSQL_DATABASE>"
}
}
}
}Replace each placeholder with your own value before saving.
After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.
When to choose another server
No task-specific alternatives are catalogued for Databases (read-only, switchable)yet; the list above is its publisher's other servers.
What changed, and when this was checked
- First listed
- Sep 24, 2026
- Latest version published
- Sep 24, 2026
- Version history
- 4 versions tracked (below)
- Requirements evidence
- Declared by Glama, last synced Nov 14, 2026. Not independently verified by MCP Toplist.
- Profile checked
- Not yet — purpose, capabilities and requirements above come from registry data only
- Ranking data as of
- Nov 14, 2026
- Official MCP ↗listed since Sep 25, 2026 · still listed
- Glama ↗listed since Sep 25, 2026 · still listed
Do you maintain Databases (read-only, switchable)? to show as its verified maintainer and add your own summary, sign-in details and links. The rest of this page is read from the registry listings and from MCP Toplist's own connection check.
Available versions (4)
| Version | Published |
|---|---|
| 1.1.0 | Sep 24, 2026 |
| 1.0.0 | Sep 24, 2026 |
| 0.2.0 | Sep 24, 2026 |
| 0.1.0 | Sep 24, 2026 |
Ranks ahead of 154,096 of 176,402 servers on MCP Toplist.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.shibbirweb%2Fmcp-db-read-only)<a href="https://mcptoplist.com/server/io.github.shibbirweb%2Fmcp-db-read-only"><img src="https://mcptoplist.com/badge/io.github.shibbirweb%2Fmcp-db-read-only.svg" alt="MCP Toplist: Top 25% of 176,402" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Frequently asked questions
- Who maintains Databases (read-only, switchable)?
- Databases (read-only, switchable) is maintained by shibbirweb, which publishes 2 MCP servers (7 total versions) tracked on MCP Toplist.
- Is Databases (read-only, switchable) listed on the Official MCP Registry?
- Yes — Databases (read-only, switchable) is listed on the Official MCP Registry, alongside Glama.
- How many versions does Databases (read-only, switchable) have?
- MCP Toplist tracks 4 versions of Databases (read-only, switchable), most recently published on Sep 24, 2026.
- Where can I find the source code for Databases (read-only, switchable)?
- The source code for Databases (read-only, switchable) is hosted at github.com/shibbirweb/mcp-db-read-only.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.