The MySQL_MCP Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and 这是一个功能强大且易用的MySQL数据库MCP(Model Context Protocol)服务器,让你的AI助手可以安全地进行完整的数据库操作,支持多数据库连接管理、增删改查、事务管理和智能回滚功能。. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Database domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mysql_mcp": {
"command": "npx",
"args": [
"-y",
"guangxiangdebizi/MySQL_MCP"
]
}
}
}