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
query tool 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
コメント