- MySQL
MySQL
零负担、开箱即用的模型上下文协议(MCP)服务器,用于与 MySQL 交互和自动化操作。无需 Node.js 或 Python 环境。该服务器提供对 MySQL 数据库和表进行 CRUD 操作的工具,以及只读模式以防止意外的写入操作。您还可以通过添加 --with-explain-check 标志让 MCP 服务器在执行查询前使用 EXPLAIN 语句检查查询计划。
Content
模式工具 list_database
列出 MySQL 服务器中的所有数据库。 参数:无 返回:匹配的数据库名称列表。 list_table
列出 MySQL 服务器中的所有表。 参数: name:如果提供,列出具有指定名称的表,与 SQL SHOW TABLES LIKE '%name%' 相同。否则,列出所有表。 返回:匹配的表名称列表。 create_table
在 MySQL 服务器中创建新表。 参数: query:创建表的 SQL 查询。 返回:受影响的行数。 alter_table
修改 MySQL 服务器中的现有表。LLM 被告知不要删除现有表或列。 参数: query:修改表的 SQL 查询。 返回:受影响的行数。 desc_table
描述表的结构。 参数: name:要描述的表名。 返回:表的结构。 数据工具 read_query
执行只读 SQL 查询。 参数: query:要执行的 SQL 查询。 返回:查询结果。 write_query
执行写入 SQL 查询。 参数: query:要执行的 SQL 查询。 返回:受影响的行数,最后插入 ID:<last_insert_id>。 update_query
执行更新 SQL 查询。 参数: query:要执行的 SQL 查询。 返回:受影响的行数。 delete_query
执行删除 SQL 查询。 参数: query:要执行的 SQL 查询。 返回:受影响的行数。
Server Config
{
"mcpServers": {
"mysql": {
"command": "C:\\Users\\<username>\\Downloads\\go-mcp-mysql.exe",
"args": [
"--host",
"localhost",
"--user",
"root",
"--pass",
"password",
"--port",
"3306",
"--db",
"mydb"
]
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
CursorThe AI Code Editor
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server