MySQL exposes database schemas and SQL queries through a locally running MCP server. An agent can inspect table schemas and run SQL queries against a configured database. Add your MYSQL_HOST, MYSQL_USER and MYSQL_PASS when you install the MySQL MCP server in Longwave.
Add your MYSQL_HOST, MYSQL_USER and MYSQL_PASS when you install the MySQL MCP server in Longwave.
Ask for the result in any thread, for example: “Read a table schema before writing SQL”. The agent picks the MySQL function and calls it.
Use cases
Read a table schema before writing SQL
Query records for an operations report
Inspect database tables before a data change
Questions people ask
How does the MySQL MCP server connect to a database?
The listed server uses configured MySQL connection details. The database account determines the records and operations it can access. MySQL documentation
Can the MySQL server restrict database writes?
The listed server documents access controls for write operations. Configure those controls and the database user permissions for the required access. MySQL documentation
How do I add the MySQL MCP server to Claude Code?
Run claude mcp add mysql -- npx -y @benborla29/mcp-server-mysql in a terminal. Add your MYSQL_HOST, MYSQL_USER and MYSQL_PASS when you install the MySQL MCP server in Longwave.
Who publishes the MySQL MCP server?
benborla publishes the MySQL MCP server that Longwave installs. Source code
Use MySQL in Longwave
Call MySQL from any agent thread, on your machine or in the cloud.