db-read

JSON →
library 0.1.1 ·javascript
verified Jun 5, 2026

db-read is a read-only MCP server (Model Context Protocol) for coding agents to safely access PostgreSQL, MySQL, and MongoDB databases. Version 0.1.1 is the first stable release, offering unified configuration via .db-read.yml, CLI tools for validation and serving, and strict read-only guards: SQL queries are filtered for multi-statement and non-read commands, MongoDB aggregation blocks $out and $merge, and limits on rows/documents and timeouts are enforced. It supports environments (dev, staging, prod) and local or hosted connections. Compared to other MCP database tools, db-read uniquely supports three database kinds in one server with a focus on read-only safety for AI agents.