What limits are enforced on queries?
Maximum query length is 4096 characters, maximum result rows are 1000, and query timeout is 30 seconds.
@kevinwatt
Basic information
An MCP server implementation that integrates with MySQL databases, providing secure database access capabilities for LLMs.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql-mcp": {
"command": "npx",
"args": [
"@kevinwatt/mysql-mcp"
]
}
}
}Execute read-only SELECT queries against the MySQL database. - Maximum query length: 4096 characters - Maximum result rows: 1000 - Query timeout: 30 seconds
Execute data modification queries (INSERT/UPDATE/DELETE). - Returns affected rows count and insert ID - Supports parameterized queries - Automatic transaction handling
List all tables in current database
Show table structure
MySQL MCP Server is an MCP server implementation that integrates with MySQL databases, providing secure database access capabilities for LLMs. It enables language models to execute SQL queries, list tables, describe schemas, and perform data modifications with transaction support.
Install via npm install -g @kevinwatt/mysql-mcp, then configure environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, MYSQL_DB) and run with a compatible MCP host like Dive Desktop. Alternatively, start manually with npx @kevinwatt/mysql-mcp.
Maximum query length is 4096 characters, maximum result rows are 1000, and query timeout is 30 seconds.
Node.js 18+ and a running MySQL Server are required. The server must be used with an MCP‑compatible LLM service.
`mysql_execute` automatically wraps INSERT/UPDATE/DELETE in transactions, returning affected rows count and last insert ID.
Yes, the `mysql_query` tool enforces a read‑only transaction mode for all SELECT statements.
Connection is configured via environment variables for host, port, user, password, and database. No separate auth mechanism is mentioned beyond standard MySQL credentials.

Safety-first stdio MCP server with 38 tools for operating Docker-based local-ydb environments locally or over SSH.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
Comments