db-mcp-server

db-mcp-server

3.3

If you are the rightful owner of db-mcp-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.

This project is a Model Context Protocol (MCP) Stdio server compatible with Cursor IDE, designed to return the table structure and relationships of MySQL or MariaDB databases.

The MCP Stdio Server for MySQL/MariaDB is a robust solution for integrating with Cursor IDE, allowing users to interact with their database structures and relationships seamlessly. It leverages the official MCP Python SDK and operates in 'stdio' mode to facilitate this integration. The server is capable of returning comprehensive information about database tables, columns, and foreign key relationships. Additionally, it offers features for data retrieval, analysis, query execution, optimization, and database monitoring. Users can configure their database settings through a .env file, ensuring a secure and customizable setup. The server also provides performance analysis and optimization suggestions, making it a valuable tool for database administrators and developers looking to enhance their database operations.

Features

  • MCP official Python SDK based
  • Integration with Cursor IDE in 'stdio' mode
  • Database settings configured via .env file
  • Returns table lists, columns, and foreign key relationships
  • Offers data retrieval, analysis, and query optimization features