Databases (read-only, switchable)
io.github.shibbirweb/mcp-db-read-only ยท version 1.1.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
https://github.com/shibbirweb/mcp-db-read-onlyQuick facts
- Listing: Community
- Published Sep 24, 20:40 UTC
- Transport: stdio
- Package: npm
@shibbirweb/mcp-db-read-only1.1.0 - Listed by cosmic-mcp: Nov 9, 04:27 UTC
Details
- Repository: https://github.com/shibbirweb/mcp-db-read-only
- npm: https://www.npmjs.com/package/@shibbirweb/mcp-db-read-only
- Website: https://github.com/shibbirweb/mcp-db-read-only
- Needs settings:
DB_URLDB_PASSWORDDB_PROFILESDB_DEFAULT_PROFILEDB_CONNECT_TIMEOUT_MSDB_QUERY_TIMEOUT_MSDB_LOGDB_LOG_FILEDB_LOG_DIRDB_LOG_FORMATDB_LOG_PORTDB_LOG_HISTORYMYSQL_HOSTMYSQL_USERMYSQL_PASSWORDMYSQL_DATABASE
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (npm)
npx -y '@shibbirweb/[email protected]'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mcp-db-read-only": {
"args": [
"-y",
"@shibbirweb/[email protected]"
],
"command": "npx",
"env": {
"DB_CONNECT_TIMEOUT_MS": "<your db connect timeout ms>",
"DB_DEFAULT_PROFILE": "<your db default profile>",
"DB_LOG": "<your db log>",
"DB_LOG_DIR": "<your db log dir>",
"DB_LOG_FILE": "<your db log file>",
"DB_LOG_FORMAT": "<your db log format>",
"DB_LOG_HISTORY": "<your db log history>",
"DB_LOG_PORT": "<your db log port>",
"DB_PASSWORD": "<your db password>",
"DB_PROFILES": "<your db profiles>",
"DB_QUERY_TIMEOUT_MS": "<your db query timeout ms>",
"DB_URL": "<your db url>",
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
}
}
}
}Claude Code
claude mcp add 'mcp-db-read-only' -- npx -y '@shibbirweb/[email protected]'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"mcp-db-read-only": {
"args": [
"-y",
"@shibbirweb/[email protected]"
],
"command": "npx",
"env": {
"DB_CONNECT_TIMEOUT_MS": "<your db connect timeout ms>",
"DB_DEFAULT_PROFILE": "<your db default profile>",
"DB_LOG": "<your db log>",
"DB_LOG_DIR": "<your db log dir>",
"DB_LOG_FILE": "<your db log file>",
"DB_LOG_FORMAT": "<your db log format>",
"DB_LOG_HISTORY": "<your db log history>",
"DB_LOG_PORT": "<your db log port>",
"DB_PASSWORD": "<your db password>",
"DB_PROFILES": "<your db profiles>",
"DB_QUERY_TIMEOUT_MS": "<your db query timeout ms>",
"DB_URL": "<your db url>",
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"mcp-db-read-only": {
"args": [
"-y",
"@shibbirweb/[email protected]"
],
"command": "npx",
"env": {
"DB_CONNECT_TIMEOUT_MS": "<your db connect timeout ms>",
"DB_DEFAULT_PROFILE": "<your db default profile>",
"DB_LOG": "<your db log>",
"DB_LOG_DIR": "<your db log dir>",
"DB_LOG_FILE": "<your db log file>",
"DB_LOG_FORMAT": "<your db log format>",
"DB_LOG_HISTORY": "<your db log history>",
"DB_LOG_PORT": "<your db log port>",
"DB_PASSWORD": "<your db password>",
"DB_PROFILES": "<your db profiles>",
"DB_QUERY_TIMEOUT_MS": "<your db query timeout ms>",
"DB_URL": "<your db url>",
"MYSQL_DATABASE": "<your mysql database>",
"MYSQL_HOST": "<your mysql host>",
"MYSQL_PASSWORD": "<your mysql password>",
"MYSQL_USER": "<your mysql user>"
},
"type": "stdio"
}
}
}Related servers
- spotdb Verified domain
Ephemeral data sandbox for AI workflows with guardrails and security - Reasonbook Verified domain
Reasonbook: decisions that survive the session, in a local record AI agents keep. - AI for Database Verified domain
Ask your databases questions in plain English, run read-only SQL and set up data alerts. - AI2SQL Verified domain
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema - AICasePredict Verified domain
Search a large legal database of 325M+ US court records: cases, attorneys, judges and courts. - APC Security Reference Server
Reference MCP server for synthetic APC action-security evaluation and local SQLite sandbox testin...