mcp-mysql-serverhuangcaiming/mcp-mysql-server
Best for — Claude Code direct database access, Multi-environment connection switching, Self-hosted supply chain data operations
OverviewOverview
[Core Features] A self-built MySQL and PostgreSQL MCP server on the official MCP SDK and mysql2/pg, letting Claude Code operate databases with multi-environment profiles and a fully self-controlled codebase. [Use Cases] Claude Code direct database access, Multi-environment connection switching, Self-hosted supply chain data operations. [Target Professions] Database Administrators, Backend Engineers. (Repo: huangcaiming/mcp-mysql-server, Stars: 4, Category: Data & Storage > Databases > MySQL)
SetupSetup
[Quick Start & Installation]
```
npx @huangcaiming5913/mcp-mysql-server
```
[Claude Desktop / Cursor Configuration]
Add the following snippet to your `claude_desktop_config.json` under the `mcpServers` object:
```json
{
"mcpServers": {
"mcp-mysql-server": {
"command": "npx",
"args": [
"@huangcaiming5913/mcp-mysql-server"
]
}
}
}
```
Restart the client after saving to activate the MCP server.
Client configClient config
Add this under the mcpServers field of your client config file, save it, and restart the client for it to be picked up.
{
"mcpServers": {
"mcp-mysql-server": {
"command": "npx",
"args": [
"@huangcaiming5913/mcp-mysql-server"
]
}
}
}
RepositoryRepository
| Server ID | 429 |
|---|---|
| Repository | huangcaiming/mcp-mysql-server |
| Data source | Gitee |
| Category | Data & Storage / Databases / MySQL |
| Transport protocol | stdio |
| Primary language | TypeScript |
| License | Apache License 2.0 |
| Rank | #29 (position within the source ranking) |
| Site-wide popularity rank | #429 (computed live from Stars, across all 588 entries) |