How do I configure database connections?
You can configure via `.env` file using `DATABASE_URL` for MySQL and `MONGODB_URI` with `MONGODB_DATABASE` for MongoDB, or pass credentials directly to the `connect_db` and `connect_mongodb` tools.
@MCP-Mirror
基本信息
Mirror of
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"yaoxiaolinglong_mcp-mongodb-mysql-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@yaoxiaolinglong/mcp-mongodb-mysql-server",
"--client",
"claude"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
MCP-MongoDB-MySQL-Server is a Model Context Protocol server that provides MySQL and MongoDB database operations. It enables AI models to interact with both MySQL and MongoDB databases through a standardized interface. This is a fork of enemyrr/mcp-mysql-server with added MongoDB support for applications requiring both relational and document databases.
Install via Smithery (npx -y @smithery/cli install @yaoxiaolinglong/mcp-mongodb-mysql-server --client claude) or clone and build manually (git clone, npm install, npm run build). For Cursor IDE, add a server with type command and command node /absolute/path/to/mcp-mongodb-mysql-server/build/index.js. Configure databases via .env files (e.g., DATABASE_URL, MONGODB_URI) or by passing credentials directly to the connect_db or connect_mongodb tools.
You can configure via `.env` file using `DATABASE_URL` for MySQL and `MONGODB_URI` with `MONGODB_DATABASE` for MongoDB, or pass credentials directly to the `connect_db` and `connect_mongodb` tools.
The server provides `connect_db`, `query`, `execute`, `list_tables`, `describe_table`, `create_table`, and `add_column` tools for MySQL interaction.
The server provides `connect_mongodb`, `mongodb_list_collections`, `mongodb_find`, `mongodb_insert`, `mongodb_update`, `mongodb_delete`, and `mongodb_create_collection` tools.
Use the Smithery command: `npx -y @smithery/cli install @yaoxiaolinglong/mcp-mongodb-mysql-server --client claude`. This automates installation for Claude Desktop.
It uses prepared statements for MySQL queries to prevent SQL injection, supports secure password handling through environment variables, validates queries and operations before execution, and automatically closes connections when done.
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Connect ClickHouse to your AI assistants.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
评论