What are the prerequisites for running MySQL MCP Server?
You need Node.js 18 or higher, a running MySQL server, and a database with appropriate permissions.
@LeonMelamud
Basic information
MCP server that provides direct access to MySQL databases
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryCreate new text notes in the database
List all tables in the connected database
Get the total number of tables in the database
Search for tables using LIKE pattern
Get the structure of a specific table
Execute custom SQL queries
MySQL MCP Server is an MCP server that gives AI agents direct access to MySQL databases. It lets agents execute SQL queries, manage database content, and interact with database objects through a simple interface.
Clone the repository, install dependencies with npm install, create a .env file with MySQL connection details, and run npm run build. Then configure the server for Claude Desktop or Cline by adding the appropriate MCP server configuration pointing to the built index.js file. Once installed, you can ask your AI agent to list tables, execute SQL queries, or create notes.
note:///{id} URIscreate_note toollist_tables toolcount_tables toolsearch_tablesexecute_sqlYou need Node.js 18 or higher, a running MySQL server, and a database with appropriate permissions.
Add a server entry to `~/Library/Application Support/Claude/claude_desktop_config.json` (MacOS) or `%APPDATA%/Claude/claude_desktop_config.json` (Windows), specifying the `command`, `args` path to `build/index.js`, and `env` variables for MySQL connection.
All data resides in your own MySQL database. The server connects to the database you configure, and does not store data externally.
The server provides seven tools: `create_note`, `list_tables`, `count_tables`, `search_tables`, `describe_table`, and `execute_sql`. It also exposes notes as resources.
Use the MCP Inspector by running `npm run inspector`, which provides a URL for debugging tools in your browser.

Model Context Protocol Servers
An official Qdrant Model Context Protocol (MCP) server implementation
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
Comments