Db is a robust and secure Model Context Protocol (MCP) server designed to provide strictly read-only access to a wide array of database systems. It acts as a protective layer, supporting multiple database types including MySQL, PostgreSQL, SQLite, and more, while strictly enforcing read-only operations like SELECT, SHOW, DESCRIBE, EXPLAIN, and USE. With features like dual transport modes (stdio and HTTP), comprehensive SQL safety protections against injection and dangerous functions, and configurable query limits, Db ensures that applications, particularly AI-driven development environments, can interact with databases safely without the risk of unintended data modification or malicious queries. Its design makes it ideal for integrating controlled data access into developer workflows.
