I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

mysql-mcp
Una implementación del servidor MCP que se integra con las bases de datos MySQL, proporcionando capacidades seguras de acceso a la base de datos para LLM.
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
MySQL MCP Server
An MCP server implementation that integrates with MySQL databases, providing secure database access capabilities for LLMs.
Features
-
Read Operations
- Execute read-only SELECT queries
- List all database tables
- Show table structures
- View schema information
-
Write Operations
- Execute INSERT/UPDATE/DELETE with transaction support
- Parameterized queries for data safety
- Returns affected rows and insert IDs
-
Security
- Read-only transaction mode for SELECT queries
- Query length and result size limits
- Performance monitoring and logging
- Automatic transaction handling
Installation
npm install -g @kevinwatt/mysql-mcp
Usage with Dive Desktop
- Click "+ Add MCP Server" in Dive Desktop
- Copy and paste this configuration:
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/mysql-mcp"
],
"env": {
"MYSQL_HOST": "127.0.0.1",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_PASS": "",
"MYSQL_DB": "your_database"
}
}
}
}
- Click "Save" to install the MCP server
Tool Documentation
-
mysql_query
- Execute read-only SELECT queries
- Inputs:
-
sql
(string): SQL SELECT query to execute
-
- Limits:
- Maximum query length: 4096 characters
- Maximum result rows: 1000
- Query timeout: 30 seconds
-
mysql_execute
- Execute data modification operations
- Inputs:
-
sql
(string): SQL statement (INSERT/UPDATE/DELETE) -
params
(array, optional): Parameters for the SQL statement
-
- Features:
- Returns affected rows count
- Returns last insert ID
- Automatic transaction handling
-
list_tables
- List all tables in current database
- No inputs required
-
describe_table
- Show table structure
- Inputs:
-
table
(string): Table name to describe
-
Usage Examples
Ask your LLM to:
"Show me all tables in the database"
"Describe the structure of users table"
"Select all active users from the database"
"Insert a new record into orders table"
Manual Start
If needed, start the server manually:
npx @kevinwatt/mysql-mcp
Requirements
- Node.js 18+
- MySQL Server
- MCP-compatible LLM service
License
MIT
Author
Dewei Yen
Keywords
- mcp
- mysql
- database
- dive
- llm
- ai
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Espejo de https: //github.com/bitrefill/bitrefill-mcp-server
Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.
Reviews

user_GRHChkDM
I've been using mysql-mcp for a while now and it has significantly streamlined my database management tasks. The tool is robust, user-friendly, and offers a wide array of features that make handling MySQL databases a breeze. Kudos to midu2 for creating such a reliable and efficient application. Highly recommend checking it out at https://github.com/midu2/mysql-mcp.git!