- MCP MySQL 本地数据库服务
Overview
What is MCP MySQL?
MCP MySQL is a lightweight personal service program designed to connect and operate a local MySQL database. It serves as an MCP service for Cursor, allowing easy execution of various database operations through an API interface.
How to use MCP MySQL?
To use MCP MySQL, clone the repository, install dependencies, configure the .env file with your database credentials, and run the service using Node.js.
Key features of MCP MySQL?
- Connects to local MySQL databases
- Provides a RESTful API for database operations
- Supports parameterized queries to prevent SQL injection
- Supports Server-Sent Events (SSE) for real-time updates
- Integrates as an MCP service for Cursor
Use cases of MCP MySQL?
- Managing local MySQL databases for personal projects
- Executing SQL queries through a simple API
- Real-time data updates using SSE
FAQ from MCP MySQL?
- Is MCP MySQL suitable for production use?
No, it is designed for local use only and should not be exposed to the public internet.
- How do I secure my API?
Use an API key to protect your endpoints and limit access to SELECT queries only.
- What are the prerequisites for using MCP MySQL?
You need Node.js (v14+) and a MySQL server installed.
Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
TristanLibStar
1Language
JavaScriptLicense
-Category
developer-tools
Recommend Servers
View AllAmap Maps
@amap
高德地图官方 MCP Server
a year ago
Sigstore
@3089464667
a day ago
Mcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
虎嗅嗅 Ai行业参谋
5 hours ago