Yaoxiaolinglong MCP Mongodb Mysql Server
This is a database operation server that supports MySQL and MongoDB, providing a standardized database interaction interface for AI models, including various database management tools and secure connection functions.
rating : 2 points
downloads : 11
What is MCP-MongoDB-MySQL-Server?
This is a Model Context Protocol server that provides MySQL and MongoDB database operation functions. The server enables AI models to interact with MySQL and MongoDB databases through a standardized interface.How to use MCP-MongoDB-MySQL-Server?
You can install the server through simple commands and then configure it for use in the Cursor IDE. It supports multiple connection methods, including environment variable configuration and direct parameter connection.Use cases
Suitable for various scenarios where AI models need to interact with databases, such as data query, content management, user information storage, etc. Particularly suitable for projects that require the simultaneous use of relational and non-relational databases.Main features
Dual database supportSupports both MySQL and MongoDB databases simultaneously to meet different data storage needs
Multiple connection methodsSupports connecting to the database through URL, workspace path, or direct parameters
Secure connectionUses prepared statements to prevent SQL injection and supports storing sensitive information in environment variables
Schema managementProvides management functions such as table/collection creation and modification
Advantages and limitations
Advantages
Solve the operation needs of MySQL and MongoDB in one stop
A simple and easy-to-use standardized interface
Automatically handle connection and resource release
Comprehensive error handling and verification mechanism
Limitations
Currently only supports basic CRUD operations
Advanced database functions may require direct database operations
Performance optimization is not as good as native database drivers
How to use
Install the server
Install through npm or clone the project from GitHub
Configure the database connection
Configure the database connection information in the.env file or directly provide the connection parameters
Add the server in the Cursor IDE
Add the MCP server configuration through the command panel
Start using the tool
Use the use_mcp_tool in the code to call various database operation functions
Usage examples
Query user dataQuery specific user information from the MySQL database
Store log dataStore application logs in MongoDB
Create a new tableCreate a new table in MySQL to store product information
Frequently Asked Questions
How to connect to multiple databases simultaneously?
Which MySQL versions are supported?
Is MongoDB transaction support available?
How to ensure connection security?
Related resources
GitHub repository
Project source code and latest version
Original MySQL MCP project
The basic version of this project
Smithery installation page
One-click installation service
MySQL official documentation
MySQL reference documentation
MongoDB official documentation
MongoDB reference documentation
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
87
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points