Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
About Mysql MCP Server
Mysql is a MCP server in the Databases category listed in the AddMCP.net directory, published by midu2. It exposes 4 tools, including mysql_query, mysql_execute, list_tables, describe_table. Supported transport: stdio. License: MIT. Source code is hosted on github.com.
Setup
{
"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"
}
}
}
}
{
"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"
}
}
}
}
{
"servers": {
"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"
}
}
}
}
Mysql MCP Server — by midu2 config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}
Mysql MCP Server — by midu2 tools
-
mysql_query
— Execute read-only SELECT queries against the MySQL database.
- Maximum query length: 4096 characters
- Maximum result rows: 1000
- Query timeout: 30 seconds
sql:string* -
mysql_execute
— Execute data modification queries (INSERT/UPDATE/DELETE).
- Returns affected rows count and insert ID
- Supports parameterized queries
- Automatic transaction handling
sql:string*, params:array -
list_tables
— List all tables in current database
(no parameters) -
describe_table
— Show table structure
table:string*
Overview
Mysql tools
mysql_query: Execute read-only SELECT queries against the MySQL database.- Maximum query length: 4096 characters
- Maximum result rows: 1000
- Query timeout: 30 seconds
mysql_execute: Execute data modification queries (INSERT/UPDATE/DELETE).- Returns affected rows count and insert ID
- Supports parameterized queries
- Automatic transaction handling
list_tables: List all tables in current databasedescribe_table: Show table structure
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In