Db
Expose any JDBC database to an MCP client with fine-grained, per-operation permissions.
dbMCP acts as a secure bridge, enabling MCP clients like Claude to effortlessly connect with any relational database via JDBC. It simplifies database interaction for AI agents by allowing them to browse schema, execute `SELECT` queries, and, if explicitly permitted, perform `INSERT`, `UPDATE`, `DELETE`, or even DDL operations directly. This self-contained server requires no coding to set up, providing fine-grained control over database access through configurable permissions, ensuring data integrity and security while expanding the capabilities of your AI tools.
主要功能
01Offers fine-grained, per-operation access control (SELECT, INSERT, UPDATE, DELETE, DDL).
020 GitHub stars
03Connects to any JDBC-compatible database (drivers for PostgreSQL, MySQL, SQL Server, H2, SQLite bundled).
04Ensures safety by classifying and checking every SQL statement, rejecting bundled statements.
05Zero-install beyond Java, delivered as a single self-contained JAR.
使用案例
01Allowing AI agents (e.g., Claude) to intelligently browse and understand database schemas.
02Enabling secure, permission-controlled `SELECT` query execution from MCP clients.
03Providing functionality for AI tools to perform data manipulation (`INSERT`, `UPDATE`, `DELETE`) or structural changes (`DDL`) under strict authorization.