
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.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
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 · Fetched 2026-11-13 11:07:13 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
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.