
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

An MCP server that provides secure MySQL database operations and schema resources for AI assistants and other MCP clients.
MySQL MCP Server is cataloged as an MCP server attributed to sumiaoali. An MCP server that provides secure MySQL database operations and schema resources for AI assistants and other MCP clients. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MySQL MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It allows SELECT, INSERT, SHOW, and DESCRIBE operations, while UPDATE and DELETE are explicitly forbidden.
It automatically adds LIMIT clauses to SELECT queries to prevent large data dumps.
README.md · 0e131ee4bd0b · 采集于 2026-11-13 11:07:13 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides secure MySQL database operations for AI assistants and other MCP clients.
mysql://database/info) - Database metadata and table listmysql://table/{table_name}) - Detailed table schema informationnpm install mysql-mcp-server
The server can be configured using environment variables:
| Variable | Default | Description |
|---|---|---|
MYSQL_HOST | localhost | MySQL server hostname |
MYSQL_PORT | 3306 | MySQL server port |
MYSQL_USER | root | MySQL username |
MYSQL_PASSWORD | (empty) | MySQL password |
MYSQL_DB | mysql | Default database name |
MYSQL_TIMEZONE | +00:00 | MySQL timezone |
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": ["mysql-mcp-server"],
"env": {
"MYSQL_HOST": "your-mysql-host",
"MYSQL_PORT": "3306",
"MYSQL_USER": "your-username",
"MYSQL_PASSWORD": "your-password",
"MYSQL_DB": "your-database"
}
}
}
}
For other MCP clients, use the server with stdio transport:
npx mysql-mcp-server
git clone https://github.com/your-username/mysql-mcp-server.git
cd mysql-mcp-server
npm install
cp .env.example .env
# Edit .env with your database configuration
npm run build
# Build the server
npm run build
# Watch mode for development
npm run watch
# Debug with MCP Inspector
npm run inspector
You can test the server using the MCP Inspector:
npm run inspector
This will start the inspector and provide a URL to test the server in your browser.
Once connected through an MCP client, you can:
List all tables:
Use the list_tables tool
Get table structure:
Use get_table_info with table_name: "users"
Query data:
Use execute_query with sql: "SELECT * FROM users LIMIT 10"
Insert data:
Use insert_data with table_name: "users" and data: {"name": "John", "email": "john@example.com"}
This server is designed with security in mind:
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MySQL MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mysql-mcp-server-sumiaoali)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.