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

mysql-mcp
Une implémentation de serveur MCP qui s'intègre aux bases de données MySQL, fournissant des capacités d'accès aux bases de données sécurisées pour LLMS.
3 years
Works with Finder
1
Github Watches
4
Github Forks
4
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
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Advanced software engineer GPT that excels through nailing the basics.
Therapist adept at identifying core issues and offering practical advice with images.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_ysuAMnO5
I've been using mysql-mcp for a while now, and it's been a game-changer for managing my databases. Kevinwatt has done a fantastic job with the functionalities and ease of use. The tool integrates seamlessly and has significantly streamlined my database processes. Highly recommend checking it out on GitHub!