MySQL Ops MCP
Provides tools for interacting with MySQL databases, enabling listing databases and tables, describing tables, showing indexes and triggers, running read-only and write SQL queries (write enabled by config), and creating backup SQL files.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MySQL Ops MCPshow me the structure of the policies table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# MySQL Ops MCP
A generic MCP server for MySQL operations.
It supports:
Listing databases and tables.
Describing tables.
Showing indexes and triggers.
Running read-only SQL:
SELECT,SHOW,DESCRIBE,DESC,EXPLAIN.Running explicitly requested write SQL when
MYSQL_WRITE_ENABLED=true.Logging every executed write SQL file under
mysql-ops-logs/in the current project root.
Configuration
Copy .env.example to .env.local and set your MySQL connection:
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=change-me
MYSQL_DEFAULT_DATABASE=insurance
MYSQL_WRITE_ENABLED=true
MYSQL_EXECUTION_LOG_DIR=mysql-ops-logs.env.local is ignored by Git.
Related MCP server: keevor-mysql-mcp-server
Tools
mysql_current_configmysql_list_databasesmysql_list_tablesmysql_describe_tablemysql_show_indexesmysql_show_triggersmysql_query_readonlymysql_explainmysql_execute_sqlmysql_execute_filemysql_create_backup_sql
High-risk SQL such as DROP DATABASE, TRUNCATE TABLE, and UPDATE or DELETE without WHERE requires confirmHighRisk=true.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
The official MCP Server for the Mux API
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server that provides read-only access to MySQL databases.4362 npm72MIT
- MIT
- AlicenseNot gradedqualityBmaintenanceA MySQL MCP server for local stdio clients, enabling database queries and management with read-only/write modes, audit logging, and configurable security.600 npmMIT
- AlicenseNot gradedqualityDmaintenanceA robust MCP server for interacting with MySQL databases through AI agents, providing tools for schema analysis, query execution, and dynamic connection management with read-only security.133 npmMIT