MySQL MCP Server

by shengshengshengbuxi

1 stars
211 downloads
Not rated
GitHub

Description

# MySQL MCP Server 一个基于Model Context Protocol (MCP)的MySQL服务器,允许通过MCP协议执行SQL查询。 ## 功能 - 通过MCP协议执行SQL查询 - 检查数据库连接状态 - 内置SQL查询示例提示 ## 安装 ```bash # 克隆仓库 git clone https://github.com/shengshengshengbuxi/mysql_mcp_server.git cd mysql_mcp_server # 安装依赖 npm install # 编译TypeScript代码 npm…

About

# MySQL MCP Server 一个基于Model Context Protocol (MCP)的MySQL服务器,允许通过MCP协议执行SQL查询。 ## 功能 - 通过MCP协议执行SQL查询 - 检查数据库连接状态 - 内置SQL查询示例提示 ## 安装 ```bash # 克隆仓库 git clone https://github.com/shengshengshengbuxi/mysql_mcp_server.git cd mysql_mcp_server # 安装依赖 npm install # 编译TypeScript代码 npm run build ``` ## 配置 服务器使用以下环境变量进行配置: -…

Details

Author
shengshengshengbuxi
GitHub stars
1
Downloads
211
Categories
Database

- Execute arbitrary SQL queries via MCP protocol
- Check MySQL database connection status
- Built‑in SQL query example prompt
- Simple environment variable configuration for MySQL
- Easy integration with Claude Desktop

Install dependencies with npm install, compile TypeScript with npm run build, set MySQL connection environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE), and run npm start. Alternatively, configure it as an MCP server in Claude Desktop by editing the claude_desktop_config.json file with the path to the compiled server.js and the required environment variables.

MySQL MCP Server

一个基于Model Context Protocol (MCP)的MySQL服务器,允许通过MCP协议执行SQL查询。

功能

- 通过MCP协议执行SQL查询
- 检查数据库连接状态
- 内置SQL查询示例提示

安装

```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.