MySQL MCP Server

by blanplan-ai

119 downloads
Not rated
GitHub

Description

# MySQL MCP Server A MySQL database connection server built on [go-mcp](https://github.com/ThinkInAIXYZ/go-mcp), supporting communication with clients via stdio, allowing execution of SQL queries and data manipulation operations. ## Features - Communicates with clients through…

About

# MySQL MCP Server A MySQL database connection server built on [go-mcp](https://github.com/ThinkInAIXYZ/go-mcp), supporting communication with clients via stdio, allowing execution of SQL queries and data manipulation operations. ## Features - Communicates with clients through the MCP protocol - Supports connection to…

Details

Author
blanplan-ai
Downloads
119
Categories
Database

- Communicates with clients through the MCP protocol
- Supports SELECT, SHOW, DESCRIBE queries
- Supports INSERT, UPDATE, DELETE with permission control
- Flexible configuration via environment variables
- Debug mode with detailed logging to file
- Provides mysql_query and mysql_execute tools

Install via go install github.com/blanplan-ai/ai2mysql-mcp-server/cmd/ai2mysql-mcp-server@latest or build from source. Configure using environment variables (e.g., MYSQL_HOST, MYSQL_USER, MYSQL_PASS) and run the server binary. In clients like Cursor, add a JSON configuration to the MCP servers list.

MySQL MCP Server

A MySQL database connection server built on go-mcp, supporting communication with clients via stdio, allowing execution of SQL queries and data manipulation operations.

Features

- Communicates with clients through the MCP protocol
- Supports connection to MySQL databases
- Supports query operations (SELECT, SHOW, DESCRIBE)
- Supports data manipulation operations (INSERT/UPDATE/DELETE)
- Permission control (configurable for insert, update, delete operations)
- Flexible configuration via environment variables
- Debug mode with detailed logging to file

Installation

Method 1: Direct Installation (Recommended)

Install directly from GitHub using Go's install command:

go install github.com/blanplan-ai/ai2mysql-mcp-server/cmd/ai2mysql-mcp-server@latest

Method 2: Manual Build

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.