需要哪些环境变量?
MYSQL_HOST、MYSQL_USER、MYSQL_PASSWORD、MYSQL_DATABASE是必需的,MYSQL_PORT可选(默认3306)。
@Malove86
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-mysql-server-malove86": {
"command": "npx",
"args": [
"@malove86/mcp-mysql-server"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
一个基于Model Context Protocol的MySQL数据库操作服务器,使AI模型能够通过标准化接口与MySQL数据库进行交互。适合需要让AI助手直接执行数据库查询和管理操作的开发者。
可通过npx直接运行,支持本地运行模式和远程URL模式。本地模式需在MCP设置中配置环境变量(MYSQL_HOST、MYSQL_USER、MYSQL_PASSWORD、MYSQL_DATABASE、可选MYSQL_PORT);远程模式需在服务器上设置相同环境变量后启动MCP服务器,客户端通过URL指向远程服务器。
MYSQL_HOST、MYSQL_USER、MYSQL_PASSWORD、MYSQL_DATABASE是必需的,MYSQL_PORT可选(默认3306)。
服务器使用预处理语句参数执行查询,在执行前进行验证,并自动关闭连接,以防止SQL注入。
支持本地运行模式(通过npx命令运行)和远程URL模式(v0.2.2+,客户端通过URL连接远程服务器)。
v0.2.4+支持多用户并发,使用改进的连接池管理最多50个并发连接,并实现请求级别隔离。
是的,敏感数据库凭据仅存在于服务器端,不会暴露在客户端对话中,提高了安全性。

Model Context Protocol Servers
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
An official Qdrant Model Context Protocol (MCP) server implementation
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

Fund Momentum MCP Server — VC intelligence for AI assistants. 1000+ active VC funds, live investor signals, AI-powered startup matching.
Comments