zhaoweizll/mcp_database_server
3.1
If you are the rightful owner of mcp_database_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL/MariaDB/TiDB/AWS OceanBase/RDS/Aurora MySQL databases.
MCP Database Server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL/MariaDB/TiDB/AWS OceanBase/RDS/Aurora MySQL databases.
Features
- Universal SQL Execution: Execute any type of SQL statement
- Connection Pool Management: Efficient database connection pooling
- Multiple Database Support: MySQL, MariaDB, TiDB, OceanBase, RDS, Aurora MySQL
- MCP Integration: Full Model Context Protocol support
- TypeScript: Written in TypeScript with full type definitions
Installation
npm install @zhaoweizll/mysql-mcp-server
Quick Start
-
Clone the repository:
git clone https://github.com/zhaoweizll/mcp_database_server.git cd mcp_database_server/mysql_mcp_server
-
Install dependencies:
npm install
-
Configure database:
cp dbconfig.example.json dbconfig.json # Edit dbconfig.json with your database credentials
-
Build and run:
npm run build npm start