MCP server that provides direct access to MySQL databases
MCP server that provides direct access to MySQL databases
A powerful MCP server that provides direct access to MySQL databases. This server enables AI agents to interact with MySQL databases, execute SQL queries, and manage database content through a simple interface.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| create_note | Create new text notes in the database |
| list_tables | List all tables in the connected database |
| count_tables | Get the total number of tables in the database |
| search_tables | Search for tables using LIKE pattern |
| describe_table | Get the structure of a specific table |
| execute_sql | Execute custom SQL queries |
{
"mcpServers": {
"mysql": {
"command": "node",
"args": [
"/path/to/mysql-server/build/index.js"
],
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_USER": "your_username",
"MYSQL_PASSWORD": "YOUR_MYSQL_PASSWORD",
"MYSQL_DATABASE": "your_database"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| MYSQL_HOST | Declared in the maintainer’s client configuration. | Check documentation |
| MYSQL_USER | Declared in the maintainer’s client configuration. | Check documentation |
| MYSQL_PASSWORD | Declared in the maintainer’s client configuration. | Check documentation |
| MYSQL_DATABASE | Declared in the maintainer’s client configuration. | Check documentation |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.