yaoxiaolinglong_mcp-mongodb-mysql-server

yaoxiaolinglong_mcp-mongodb-mysql-server

0

MCP-MongoDB-MySQL-Server is an enhanced Model Context Protocol server allowing AI models to interact with MySQL and MongoDB databases using a standardized interface. It supports secure connection management and offers comprehensive schema tools and error handling.

MCP-MongoDB-MySQL-Server

A fork of the MCP-MySQL-Server project, enhanced with MongoDB support to provide database operations for both MySQL and MongoDB. It facilitates AI models' interaction with these databases via a standardized interface.

Features

  • Supports both MySQL and MongoDB databases.
  • Secure connection handling and automatic cleanup.
  • Prepared statement support for MySQL.
  • Schema management tools.
  • Error handling and validation.
  • TypeScript support.

Installation & Setup

  • Install via Smithery or manually.
  • Configuration options for MySQL and MongoDB via environment variables or direct tool connections.

Security

  • Uses prepared statements in MySQL to prevent SQL injection.
  • Secure password handling with environment variables.
  • Automatic connection closure.