Read-only MySQL access over MCP with schema discovery and SELECT query execution.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mysql MCP Server.
sqlCallable MCP tool function
davewind/mysql-mcp-server MCP server provides an MCP interface for inspecting MySQL databases and running read-only SQL. The connection is supplied as a MySQL URI, and the server acts as an intermediary between an MCP client and the database.
Its main query capability accepts a SQL string and executes it against the configured database. The README describes the query input as sql, and the repository listing identifies the exposed MCP tool as sql. In either case, the supported operation is read-only query execution rather than mutation.
The server also makes table schema information available as MCP resources. Discovered metadata includes table structures, column names, and data types, allowing an LLM to inspect the database before forming a query.
The davewind/mysql-mcp-server MCP server communicates with compatible LLM applications using JSON-RPC over standard input and output. An MCP client starts the Node.js process and passes the MySQL connection URI as a command-line argument.
Before execution, SQL is validated to allow SELECT statements. Each accepted query runs in a READ ONLY transaction. The implementation also excludes INSERT, UPDATE, DELETE, and other data modification operations, as well as schema changes such as CREATE, ALTER, and DROP.
Schema resources use a MySQL-style URI, such as mysql://user:password@localhost:3306/database, to identify the connected database. The supplied credentials and host details therefore need to provide access to the target MySQL instance.
The package can be installed globally with npm:
The recommended MCP configuration starts it with npx and passes the database URI as an argument:
Replace the example connection string with the credentials, host, port, and database for your MySQL deployment. The README lists Node.js 18 or newer as the runtime requirement. The project communicates over stdio, so the client must support launching local MCP processes.
The davewind/mysql-mcp-server MCP server supports:
The repository describes the server as suitable for Cursor and n8n, while its MCP implementation is intended for LLM systems that support the protocol.
This server is not a general-purpose MySQL administration tool. It does not support writes or schema modification, including INSERT, UPDATE, DELETE, CREATE, ALTER, and DROP operations. Access is limited by the permissions and reachability of the MySQL connection supplied at startup.
The README documents a local stdio integration rather than a hosted endpoint. It does not describe environment variables, OAuth, API-key authentication, or a managed database service. The project is released under the MIT license.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/davewind-mysql-mcp-server)<a href="https://allmcps.com/mcp/davewind-mysql-mcp-server"><img src="https://allmcps.com/api/badge/davewind-mysql-mcp-server?style=directory" alt="Mysql MCP Server on AllMCPs" /></a>