Basic information
About @davewind/mysql-mcp-server
mcp model-context-protocol mysql cursor n8n
@davewind/mysql-mcp-server is a MCP server in the Databases category listed in the AddMCP.net directory, published by dave-wind. Supported transport: stdio. Runtime: node. License: MIT. The repository has 13 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@davewind/mysql-mcp-server",
"mysql://user:password@localhost:port/database"
]
}
}
}
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@davewind/mysql-mcp-server",
"mysql://user:password@localhost:port/database"
]
}
}
}
{
"servers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@davewind/mysql-mcp-server",
"mysql://user:password@localhost:port/database"
]
}
}
}
@davewind/mysql-mcp-server — by dave-wind config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql": {
"command": "npx",
"args": [
"-y",
"@davewind/mysql-mcp-server",
"mysql://user:password@localhost:port/database"
]
}
}
}
@davewind/mysql-mcp-server — by dave-wind tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is @davewind/mysql-mcp-server?
@davewind/mysql-mcp-server is a Model Context Protocol server that provides read-only access to MySQL databases. It enables LLMs to inspect database schemas and execute read-only SQL queries using a secure, MCP-compliant interface.
How to use @davewind/mysql-mcp-server?
Install the package globally via npm install @davewind/mysql-mcp-server -g, then configure your MCP settings file with the server command and a MySQL connection string. The server is invoked with npx -y @davewind/mysql-mcp-server mysql://user:password@localhost:port/database.
Key features of @davewind/mysql-mcp-server
- Read-only database access with SQL validation and READ ONLY transactions
- Automatic schema discovery for all tables in the database
- Single
querytool that accepts and executes SELECT statements - Full compliance with the Model Context Protocol specification
- Simple configuration requiring only a connection string
Use cases of @davewind/mysql-mcp-server
- Enabling LLMs to answer questions about database structure and contents
- Allowing AI assistants to generate reports from read-only data
- Providing safe, auditable database introspection for MCP-compatible agents
- Building tools that let language models explore relational data without risk of modification
Frequently asked questions
1 What SQL operations does @davewind/mysql-mcp-server support?
Only SELECT statements are allowed. The server enforces read-only access through SQL validation and executes all queries within READ ONLY transactions. Modification commands (INSERT, UPDATE, DELETE) and schema changes (CREATE, ALTER, DROP) are not supported.
2 What are the runtime requirements?
Node.js version 18 or higher is required. The server runs as an MCP tool and communicates via stdio using JSON-RPC.
3 Where does the data live?
The server connects to an external MySQL database specified by the user in the connection string. No data is stored locally; all queries operate directly on the target database.
4 How does authentication work?
Authentication is handled through the MySQL connection string passed at startup, which includes username and password (e.g., mysql://user:password@localhost:port/database).
5 Can this server modify the database schema?
No. The security model explicitly prevents any schema modification (CREATE, ALTER, DROP) as well as data modification (INSERT, UPDATE, DELETE). Only read-only SELECT queries are permitted.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In