Database

•
9
•

Provides a single-binary MCP server to connect AI assistants with MySQL, MariaDB, PostgreSQL, and SQLite databases.

The Database tool is a lightweight, single-binary server designed to bridge AI assistants with various SQL databases, including MySQL, MariaDB, PostgreSQL, and SQLite, requiring zero runtime dependencies. It implements the Model Context Protocol (MCP) to offer a suite of six essential tools, enabling AI agents to interact with databases for tasks such as listing databases and tables, retrieving schema information, executing read and write queries, and creating new databases. With flexible configuration via CLI flags, environment variables, and `.mcp.json` files, and support for both stdio and HTTP transports, it provides a secure and efficient way to integrate database capabilities into AI-powered applications.

主要功能

01Supports multiple SQL databases: MySQL/MariaDB, PostgreSQL, and SQLite.
02Offers 6 core MCP tools for comprehensive database interaction.
03Provided as a single, lightweight binary (~7 MB) with no runtime dependencies.
04Supports multiple transports including stdio (for local clients) and HTTP (for remote/multi-client access).
05Includes robust security features such as default read-only mode, SQL validation, and credential redaction.
064 GitHub stars

使用案例

01Connecting AI assistants and agents to SQL databases for data retrieval and manipulation.
02Integrating database access into AI-powered development environments like Claude Desktop or Cursor.
03Automating database operations through AI agents in a secure and controlled manner.