A Model Context Protocol (MCP) server for MySQL that enables AI assistants to query and mutate MySQL data at runtime. Version 2.0.1 requires Node >=18 and ships TypeScript types. Unlike static MySQL MCP servers that require credentials at startup, this server accepts authentication at runtime via the auth_mysql tool, allowing dynamic switching between databases and environments without restart. It provides 13 tools including row operations (select_rows, insert_row, update_rows, delete_rows), schema discovery, and custom SQL execution with parameterized queries.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM-only package; no CommonJS support. Use 'import' syntax.
Main class export name is MCPMySQLServer, not Server. Check docs for exact named export.
Type export for Tool type, only available in TypeScript.
String constant for the package version.
Creates and starts the MCP server programmatically, which then listens for MCP client connections.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.